Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestUtilities.Test02RegFun3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.Test02RegFun3") translateModel(ModelicaTest.Fluid.TestUtilities.Test02RegFun3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.Test02RegFun3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.01284/0.01284, allocations: 165.2 kB / 15.11 MB, free: 5.98 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.3/1.3, allocations: 170.8 MB / 186.6 MB, free: 0.9648 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001659/0.001659, allocations: 110.6 kB / 226.2 MB, free: 10.08 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.4412/0.4412, allocations: 38.05 MB / 303.7 MB, free: 42.48 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003529/0.0003529, allocations: 15.98 kB / 362.9 MB, free: 5.594 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.102/0.1023, allocations: 48.7 MB / 411.6 MB, free: 4.812 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3261/0.4285, allocations: 74.12 MB / 485.7 MB, free: 13.62 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001715/0.4287, allocations: 71.28 kB / 485.8 MB, free: 13.58 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02314/0.4518, allocations: 8.207 MB / 494 MB, free: 6.535 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.675e-06/0.4519, allocations: 4 kB / 494 MB, free: 6.531 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.22e-06/0.4519, allocations: 0 / 494 MB, free: 6.531 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000307/0.4522, allocations: 350.5 kB / 494.3 MB, free: 6.145 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.95e-05/0.4523, allocations: 8.031 kB / 494.3 MB, free: 6.137 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.186e-05/0.4523, allocations: 0 / 494.3 MB, free: 6.137 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.559e-05/0.4524, allocations: 162.3 kB / 494.5 MB, free: 5.941 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.376e-05/0.4524, allocations: 0 / 494.5 MB, free: 5.941 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.044e-05/0.4524, allocations: 8 kB / 494.5 MB, free: 5.934 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001109/0.4525, allocations: 37 kB / 494.5 MB, free: 5.895 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.794e-06/0.4525, allocations: 0 / 494.5 MB, free: 5.895 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.123e-05/0.4526, allocations: 0 / 494.5 MB, free: 5.895 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.704e-06/0.4526, allocations: 0 / 494.5 MB, free: 5.895 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.728e-05/0.4526, allocations: 4 kB / 494.5 MB, free: 5.891 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003087/0.4529, allocations: 254.2 kB / 494.8 MB, free: 5.602 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.089e-05/0.453, allocations: 25.95 kB / 494.8 MB, free: 5.57 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.284e-05/0.453, allocations: 0 / 494.8 MB, free: 5.57 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.754e-05/0.453, allocations: 30.56 kB / 494.8 MB, free: 5.531 MB / 330.7 MB Notification: Performance of pre-optimization done (n=1): time 8.92e-07/0.453, allocations: 0 / 494.8 MB, free: 5.531 MB / 330.7 MB Notification: Performance of matching and sorting (n=1): time 0.000147/0.4532, allocations: 37.7 kB / 494.9 MB, free: 5.488 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.246e-05/0.4532, allocations: 55.39 kB / 494.9 MB, free: 5.422 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.019e-05/0.4533, allocations: 92.88 kB / 495 MB, free: 5.328 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 9.748e-06/0.4533, allocations: 25.95 kB / 495 MB, free: 5.297 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.662e-05/0.4533, allocations: 88.05 kB / 495.1 MB, free: 5.207 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.855e-06/0.4533, allocations: 7.906 kB / 495.1 MB, free: 5.199 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.076e-06/0.4533, allocations: 0 / 495.1 MB, free: 5.199 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 4.413e-05/0.4534, allocations: 318 kB / 495.4 MB, free: 4.883 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.066e-05/0.4534, allocations: 0 / 495.4 MB, free: 4.883 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.854e-05/0.4534, allocations: 22.56 kB / 495.5 MB, free: 4.852 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.793e-05/0.4535, allocations: 11.56 kB / 495.5 MB, free: 4.844 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.4535, allocations: 3.75 kB / 495.5 MB, free: 4.844 MB / 330.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 6.837e-05/0.4535, allocations: 45.62 kB / 495.5 MB, free: 4.793 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.514e-05/0.4536, allocations: 8 kB / 495.5 MB, free: 4.785 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.185e-05/0.4536, allocations: 0 / 495.5 MB, free: 4.785 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.49e-05/0.4536, allocations: 0 / 495.5 MB, free: 4.785 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.372e-05/0.4536, allocations: 7.938 kB / 495.5 MB, free: 4.777 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.653e-06/0.4537, allocations: 4 kB / 495.5 MB, free: 4.773 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.193e-05/0.4537, allocations: 7.5 kB / 495.5 MB, free: 4.77 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.112e-06/0.4537, allocations: 3.938 kB / 495.6 MB, free: 4.766 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.234e-05/0.4538, allocations: 114.8 kB / 495.7 MB, free: 4.645 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.454e-05/0.4538, allocations: 3.984 kB / 495.7 MB, free: 4.641 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001062/0.4539, allocations: 43.56 kB / 495.7 MB, free: 4.594 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.4539, allocations: 0 / 495.7 MB, free: 4.594 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.459e-06/0.4539, allocations: 0 / 495.7 MB, free: 4.594 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.4539, allocations: 4.031 kB / 495.7 MB, free: 4.59 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001188/0.4541, allocations: 156.2 kB / 495.9 MB, free: 4.391 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.24e-06/0.4541, allocations: 4 kB / 495.9 MB, free: 4.387 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.02e-07/0.4541, allocations: 3.938 kB / 495.9 MB, free: 4.383 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.4541, allocations: 0 / 495.9 MB, free: 4.383 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.741e-06/0.4541, allocations: 0 / 495.9 MB, free: 4.383 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.193e-06/0.4541, allocations: 4 kB / 495.9 MB, free: 4.379 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.4541, allocations: 0 / 495.9 MB, free: 4.379 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.266e-05/0.4542, allocations: 134.4 kB / 496 MB, free: 4.234 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.135e-05/0.4542, allocations: 81.06 kB / 496.1 MB, free: 4.137 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.103e-05/0.4542, allocations: 0 / 496.1 MB, free: 4.137 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.591e-05/0.4543, allocations: 0 / 496.1 MB, free: 4.137 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.278e-05/0.4543, allocations: 0 / 496.1 MB, free: 4.137 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.888e-06/0.4543, allocations: 4 kB / 496.1 MB, free: 4.133 MB / 330.7 MB Notification: Performance of sorting global known variables: time 1.711e-05/0.4543, allocations: 75.28 kB / 496.2 MB, free: 4.059 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4543, allocations: 0 / 496.2 MB, free: 4.059 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003494/0.4547, allocations: 55.05 kB / 496.2 MB, free: 4.008 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003092/0.455, allocations: 147.3 kB / 496.4 MB, free: 3.855 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001002/0.4551, allocations: 44.06 kB / 496.4 MB, free: 3.809 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.4551, allocations: 0 / 496.4 MB, free: 3.809 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 1.399e-05/0.4551, allocations: 29.7 kB / 496.4 MB, free: 3.773 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001341/0.4553, allocations: 5.844 kB / 496.4 MB, free: 3.773 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002138/0.4555, allocations: 93.38 kB / 496.5 MB, free: 3.66 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001023/0.4556, allocations: 0.677 MB / 497.2 MB, free: 2.957 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 2.104e-05/0.4557, allocations: 7.953 kB / 497.2 MB, free: 2.949 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.218e-05/0.4557, allocations: 11.38 kB / 497.2 MB, free: 2.938 MB / 330.7 MB Notification: Performance of SimCode: time 6.71e-07/0.4557, allocations: 3.938 kB / 497.2 MB, free: 2.934 MB / 330.7 MB Notification: Performance of Templates: time 0.003054/0.4587, allocations: 0.8299 MB / 498.1 MB, free: 2.121 MB / 330.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.Test02RegFun3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe 2>&1)