Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy") translateModel(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001387/0.001387, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001642/0.001642, allocations: 191.2 kB / 16.14 MB, free: 6.703 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.796/1.796, allocations: 205.1 MB / 222 MB, free: 4.77 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.387/0.387, allocations: 39.93 MB / 309.3 MB, free: 9.344 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ModelicaTest requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001453/0.001453, allocations: 75.89 kB / 376.9 MB, free: 13.11 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1607/0.1621, allocations: 56.88 MB / 433.8 MB, free: 4.121 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy): time 0.2943/0.4565, allocations: 30.92 MB / 464.7 MB, free: 36.08 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02026/0.4768, allocations: 18.58 MB / 483.3 MB, free: 25.2 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006595/0.4776, allocations: 14.25 kB / 483.3 MB, free: 25.2 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008988/0.4785, allocations: 188.2 kB / 483.5 MB, free: 25.09 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000694/0.4792, allocations: 255 kB / 483.8 MB, free: 24.94 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01838/0.4976, allocations: 4.879 MB / 488.6 MB, free: 22.66 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001445/0.499, allocations: 1.105 MB / 489.7 MB, free: 22.25 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003522/0.4994, allocations: 210 kB / 489.9 MB, free: 22.18 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0115/0.5109, allocations: 5.377 MB / 495.3 MB, free: 19.69 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005853/0.5115, allocations: 249.6 kB / 495.6 MB, free: 19.59 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.031e-05/0.5116, allocations: 15.31 kB / 495.6 MB, free: 19.59 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01435/0.526, allocations: 6.237 MB / 0.4901 GB, free: 18.03 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002698/0.5263, allocations: 75.67 kB / 0.4901 GB, free: 17.99 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004182/0.5267, allocations: 189.1 kB / 0.4903 GB, free: 17.89 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01438/0.5411, allocations: 3.83 MB / 0.494 GB, free: 16.84 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.356e-06/0.5412, allocations: 4 kB / 0.4941 GB, free: 16.84 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.5412, allocations: 5 kB / 0.4941 GB, free: 16.84 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.507e-06/0.5412, allocations: 0 / 0.4941 GB, free: 16.84 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.00569/0.5469, allocations: 1.037 MB / 0.4951 GB, free: 16.11 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.74e-05/0.547, allocations: 8.75 kB / 0.4951 GB, free: 16.11 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001719/0.5487, allocations: 199.2 kB / 0.4953 GB, free: 16.08 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004709/0.5492, allocations: 335.2 kB / 0.4956 GB, free: 15.8 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.497e-05/0.5492, allocations: 21.12 kB / 0.4956 GB, free: 15.8 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.837e-05/0.5493, allocations: 25.16 kB / 0.4956 GB, free: 15.79 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001267/0.5505, allocations: 486.7 kB / 0.4961 GB, free: 15.56 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.386e-05/0.5506, allocations: 5 kB / 0.4961 GB, free: 15.55 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.6e-05/0.5506, allocations: 12.97 kB / 0.4961 GB, free: 15.55 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.353e-05/0.5506, allocations: 6.453 kB / 0.4961 GB, free: 15.55 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001192/0.5518, allocations: 411.7 kB / 0.4965 GB, free: 15.45 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002913/0.5548, allocations: 2.431 MB / 0.4989 GB, free: 13.41 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001107/0.5559, allocations: 334 kB / 0.4992 GB, free: 13.31 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002885/0.5562, allocations: 112.1 kB / 0.4993 GB, free: 13.27 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03108/0.5873, allocations: 16.45 MB / 0.5154 GB, free: 228 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.751e-05/0.5874, allocations: 41.56 kB / 0.5154 GB, free: 180 kB / 382.1 MB Notification: Performance of pre-optimization done (n=15): time 2.224e-06/0.5874, allocations: 0 / 0.5154 GB, free: 180 kB / 382.1 MB Notification: Performance of matching and sorting (n=15): time 0.00205/0.5894, allocations: 0.5255 MB / 0.5159 GB, free: 15.91 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.573e-05/0.5895, allocations: 109.6 kB / 0.516 GB, free: 15.78 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000412/0.5899, allocations: 311.9 kB / 0.5163 GB, free: 15.58 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.775e-05/0.59, allocations: 33.64 kB / 0.5164 GB, free: 15.54 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001488/0.5901, allocations: 210.6 kB / 0.5166 GB, free: 15.35 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.554e-05/0.5902, allocations: 49.55 kB / 0.5166 GB, free: 15.3 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001013/0.5903, allocations: 73.28 kB / 0.5167 GB, free: 15.25 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001385/0.5905, allocations: 337.2 kB / 0.517 GB, free: 14.92 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002716/0.5907, allocations: 94.11 kB / 0.5171 GB, free: 14.87 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003632/0.5911, allocations: 220.4 kB / 0.5173 GB, free: 14.66 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005993/0.5917, allocations: 294.2 kB / 0.5176 GB, free: 14.43 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/0.5917, allocations: 1.375 kB / 0.5176 GB, free: 14.43 MB / 398.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000797/0.5925, allocations: 339.5 kB / 0.5179 GB, free: 14.25 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.265e-05/0.5926, allocations: 6.219 kB / 0.5179 GB, free: 14.25 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.33e-05/0.5926, allocations: 3.625 kB / 0.5179 GB, free: 14.25 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.45e-05/0.5926, allocations: 13.78 kB / 0.5179 GB, free: 14.24 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002837/0.5929, allocations: 69.98 kB / 0.518 GB, free: 14.22 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.182e-05/0.5929, allocations: 5.688 kB / 0.518 GB, free: 14.22 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003382/0.5933, allocations: 54.78 kB / 0.5181 GB, free: 14.19 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.191e-05/0.5933, allocations: 15.06 kB / 0.5181 GB, free: 14.18 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 2 (boundary_prescriberho_2.medium.phase,boundary_prescriberho_1.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002087/0.5935, allocations: 156.5 kB / 0.5182 GB, free: 14.04 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.413e-05/0.5936, allocations: 30.91 kB / 0.5182 GB, free: 14.02 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001583/0.5952, allocations: 1.111 MB / 0.5193 GB, free: 13.35 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.958e-05/0.5952, allocations: 16.05 kB / 0.5193 GB, free: 13.34 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/0.5953, allocations: 1.375 kB / 0.5193 GB, free: 13.34 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.5953, allocations: 0 / 0.5193 GB, free: 13.34 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008152/0.5961, allocations: 0.6604 MB / 0.52 GB, free: 12.82 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/0.5961, allocations: 3.938 kB / 0.52 GB, free: 12.82 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002168/0.5963, allocations: 52.5 kB / 0.52 GB, free: 12.8 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.849e-06/0.5963, allocations: 1.25 kB / 0.52 GB, free: 12.8 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.682e-05/0.5964, allocations: 5.312 kB / 0.5201 GB, free: 12.8 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.19e-06/0.5964, allocations: 5.188 kB / 0.5201 GB, free: 12.79 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.5964, allocations: 0 / 0.5201 GB, free: 12.79 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009073/0.5973, allocations: 0.6297 MB / 0.5207 GB, free: 12.39 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001305/0.5974, allocations: 123.5 kB / 0.5208 GB, free: 12.26 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.847e-05/0.5975, allocations: 27.59 kB / 0.5208 GB, free: 12.24 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002305/0.5978, allocations: 24.56 kB / 0.5208 GB, free: 12.23 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.912e-05/0.5978, allocations: 25.25 kB / 0.5209 GB, free: 12.21 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.599e-05/0.5979, allocations: 4.531 kB / 0.5209 GB, free: 12.21 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003943/0.5983, allocations: 347.3 kB / 0.5212 GB, free: 12 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.5983, allocations: 0 / 0.5212 GB, free: 12 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.005636/0.6039, allocations: 0.84 MB / 0.522 GB, free: 11.86 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,boundary_prescriberho_1.medium.phase,boundary_prescriberho_2.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.009238/0.6132, allocations: 1.015 MB / 0.523 GB, free: 11.44 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0009724/0.6142, allocations: 348.7 kB / 0.5233 GB, free: 11.27 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.6142, allocations: 3.938 kB / 0.5233 GB, free: 11.27 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004053/0.6146, allocations: 260.5 kB / 0.5236 GB, free: 11.01 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001144/0.6158, allocations: 181.7 kB / 0.5238 GB, free: 10.84 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001687/0.6175, allocations: 1.227 MB / 0.525 GB, free: 9.582 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005621/0.618, allocations: 0.8798 MB / 0.5258 GB, free: 8.676 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004516/0.6185, allocations: 187 kB / 0.526 GB, free: 8.488 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.26e-05/0.6186, allocations: 35.44 kB / 0.526 GB, free: 8.453 MB / 398.1 MB Notification: Performance of SimCode: time 8.12e-07/0.6186, allocations: 0 / 0.526 GB, free: 8.453 MB / 398.1 MB Notification: Performance of Templates: time 0.04786/0.6665, allocations: 34.15 MB / 0.5594 GB, free: 6.297 MB / 430.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe 2>&1)