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.008482/0.008482, allocations: 98.69 kB / 15.73 MB, free: 6.004 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.001393/0.001393, allocations: 192.9 kB / 16.67 MB, free: 5.93 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.712/1.712, allocations: 205.1 MB / 222.5 MB, free: 4.297 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.3671/0.3671, allocations: 39.95 MB / 309.8 MB, free: 9.656 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.001811/0.001811, allocations: 68.47 kB / 435.8 MB, free: 2.465 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3809/0.3827, allocations: 56.87 MB / 492.7 MB, free: 19.5 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy): time 0.0313/0.414, allocations: 30.09 MB / 0.5105 GB, free: 12.96 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.02477/0.4388, allocations: 17.6 MB / 0.5277 GB, free: 14.75 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008552/0.4398, allocations: 14.75 kB / 0.5277 GB, free: 14.74 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001195/0.441, allocations: 220.8 kB / 0.5279 GB, free: 14.55 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001296/0.4423, allocations: 265 kB / 0.5282 GB, free: 14.34 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02648/0.4688, allocations: 6.023 MB / 0.534 GB, free: 10.04 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0016/0.4705, allocations: 0.8459 MB / 0.5349 GB, free: 9.188 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004275/0.4709, allocations: 236.8 kB / 0.5351 GB, free: 8.949 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01357/0.4845, allocations: 5.435 MB / 0.5404 GB, free: 3.434 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006231/0.4851, allocations: 243 kB / 0.5406 GB, free: 3.195 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 8.528e-05/0.4852, allocations: 32 kB / 0.5407 GB, free: 3.164 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01512/0.5004, allocations: 6.322 MB / 0.5468 GB, free: 12.84 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001991/0.5006, allocations: 91.67 kB / 0.5469 GB, free: 12.75 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003572/0.501, allocations: 195.1 kB / 0.5471 GB, free: 12.55 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0119/0.5129, allocations: 3.847 MB / 0.5509 GB, free: 8.699 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.5129, allocations: 0 / 0.5509 GB, free: 8.699 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.5129, allocations: 4 kB / 0.5509 GB, free: 8.695 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.807e-06/0.5129, allocations: 0 / 0.5509 GB, free: 8.695 MB / 430.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.002644/0.5156, allocations: 1.065 MB / 0.5519 GB, free: 7.578 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.172e-05/0.5157, allocations: 11.89 kB / 0.5519 GB, free: 7.566 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001538/0.5172, allocations: 188.5 kB / 0.5521 GB, free: 7.383 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006635/0.5179, allocations: 350.7 kB / 0.5524 GB, free: 7.004 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.688e-05/0.5179, allocations: 24.94 kB / 0.5525 GB, free: 6.98 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.687e-05/0.518, allocations: 24.38 kB / 0.5525 GB, free: 6.957 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001207/0.5192, allocations: 0.491 MB / 0.553 GB, free: 6.422 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.421e-05/0.5192, allocations: 0 / 0.553 GB, free: 6.422 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.908e-05/0.5193, allocations: 12 kB / 0.553 GB, free: 6.41 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.125e-05/0.5193, allocations: 8 kB / 0.553 GB, free: 6.402 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0012/0.5205, allocations: 409.2 kB / 0.5534 GB, free: 6.004 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003599/0.5241, allocations: 2.419 MB / 0.5557 GB, free: 3.375 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00133/0.5254, allocations: 334.2 kB / 0.556 GB, free: 3.039 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000299/0.5258, allocations: 105.1 kB / 0.5561 GB, free: 2.934 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03386/0.5596, allocations: 16.52 MB / 0.5723 GB, free: 416 kB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.916e-05/0.5597, allocations: 38.56 kB / 0.5723 GB, free: 368 kB / 446.1 MB Notification: Performance of pre-optimization done (n=15): time 2.124e-06/0.5597, allocations: 4 kB / 0.5723 GB, free: 364 kB / 446.1 MB Notification: Performance of matching and sorting (n=15): time 0.002215/0.5619, allocations: 0.5204 MB / 0.5728 GB, free: 15.83 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.202e-05/0.562, allocations: 114.7 kB / 0.5729 GB, free: 15.69 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004296/0.5625, allocations: 312.5 kB / 0.5732 GB, free: 15.37 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.556e-05/0.5625, allocations: 33.7 kB / 0.5733 GB, free: 15.33 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000171/0.5627, allocations: 216 kB / 0.5735 GB, free: 15.12 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.873e-05/0.5628, allocations: 47.59 kB / 0.5735 GB, free: 15.07 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001109/0.5629, allocations: 65.64 kB / 0.5736 GB, free: 15 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.000164/0.5631, allocations: 342.8 kB / 0.5739 GB, free: 14.66 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002935/0.5634, allocations: 91.92 kB / 0.574 GB, free: 14.57 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003876/0.5638, allocations: 216.8 kB / 0.5742 GB, free: 14.3 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006816/0.5644, allocations: 298.5 kB / 0.5745 GB, free: 13.96 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.5645, allocations: 3.938 kB / 0.5745 GB, free: 13.96 MB / 462.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008071/0.5653, allocations: 334.7 kB / 0.5748 GB, free: 13.62 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.129e-05/0.5653, allocations: 9.094 kB / 0.5748 GB, free: 13.62 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.118e-05/0.5653, allocations: 4 kB / 0.5748 GB, free: 13.61 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.216e-05/0.5654, allocations: 7.938 kB / 0.5748 GB, free: 13.61 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003711/0.5657, allocations: 75.83 kB / 0.5749 GB, free: 13.53 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.489e-05/0.5658, allocations: 7.938 kB / 0.5749 GB, free: 13.52 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002843/0.566, allocations: 56 kB / 0.575 GB, free: 13.47 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.017e-05/0.5661, allocations: 12 kB / 0.575 GB, free: 13.46 MB / 462.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.0001988/0.5663, allocations: 153.8 kB / 0.5751 GB, free: 13.3 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.888e-05/0.5664, allocations: 35.8 kB / 0.5752 GB, free: 13.26 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001491/0.5679, allocations: 1.102 MB / 0.5762 GB, free: 12.15 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-05/0.5679, allocations: 19.97 kB / 0.5763 GB, free: 12.13 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.482e-05/0.5679, allocations: 0 / 0.5763 GB, free: 12.13 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.568, allocations: 3.938 kB / 0.5763 GB, free: 12.13 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007753/0.5687, allocations: 0.6679 MB / 0.5769 GB, free: 11.41 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.449e-06/0.5687, allocations: 0 / 0.5769 GB, free: 11.41 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002161/0.569, allocations: 51.95 kB / 0.577 GB, free: 11.36 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.569, allocations: 0 / 0.577 GB, free: 11.36 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.125e-05/0.569, allocations: 15.92 kB / 0.577 GB, free: 11.34 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.569, allocations: 0 / 0.577 GB, free: 11.34 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.569, allocations: 0 / 0.577 GB, free: 11.34 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009092/0.5699, allocations: 0.6274 MB / 0.5776 GB, free: 10.7 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001236/0.5701, allocations: 132.6 kB / 0.5777 GB, free: 10.55 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.398e-05/0.5702, allocations: 27.67 kB / 0.5777 GB, free: 10.53 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000215/0.5704, allocations: 15.98 kB / 0.5778 GB, free: 10.51 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.6e-05/0.5705, allocations: 23.97 kB / 0.5778 GB, free: 10.49 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.798e-05/0.5705, allocations: 7.984 kB / 0.5778 GB, free: 10.48 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0003848/0.5709, allocations: 342.9 kB / 0.5781 GB, free: 10.14 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.573e-06/0.5709, allocations: 0 / 0.5781 GB, free: 10.14 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002808/0.5737, allocations: 0.8616 MB / 0.579 GB, free: 9.281 MB / 462.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.004445/0.5782, allocations: 1.012 MB / 0.5799 GB, free: 8.262 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0008136/0.579, allocations: 349.2 kB / 0.5803 GB, free: 7.922 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.579, allocations: 4 kB / 0.5803 GB, free: 7.918 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004059/0.5794, allocations: 260.5 kB / 0.5805 GB, free: 7.664 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009836/0.5804, allocations: 179.3 kB / 0.5807 GB, free: 7.488 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001649/0.5821, allocations: 1.031 MB / 0.5817 GB, free: 6.426 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005318/0.5826, allocations: 0.8798 MB / 0.5826 GB, free: 5.523 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0003816/0.583, allocations: 191 kB / 0.5827 GB, free: 5.336 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.217e-05/0.5831, allocations: 31.44 kB / 0.5828 GB, free: 5.305 MB / 462.1 MB Notification: Performance of SimCode: time 2.51e-07/0.5831, allocations: 0 / 0.5828 GB, free: 5.305 MB / 462.1 MB Notification: Performance of Templates: time 0.04879/0.6319, allocations: 34.57 MB / 0.6165 GB, free: 2.707 MB / 494.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)