Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_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.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 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.1_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy") translateModel(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_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.00895/0.00895, allocations: 102.4 kB / 15.73 MB, free: 6.008 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.001968/0.001969, allocations: 198.5 kB / 16.68 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.687/1.687, allocations: 205.1 MB / 222.6 MB, free: 4.504 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.3668/0.3668, allocations: 38 MB / 307.9 MB, free: 10.1 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.1. 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.001876/0.001876, allocations: 75.84 kB / 433 MB, free: 5.398 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3758/0.3776, allocations: 56.46 MB / 489.5 MB, free: 20.01 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy): time 0.04322/0.4209, allocations: 30.09 MB / 0.5074 GB, free: 14.39 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.02637/0.4473, allocations: 17.6 MB / 0.5246 GB, free: 164 kB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007495/0.4482, allocations: 9.344 kB / 0.5246 GB, free: 160 kB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001155/0.4494, allocations: 213.8 kB / 0.5248 GB, free: 15.97 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001186/0.4506, allocations: 275.5 kB / 0.525 GB, free: 15.75 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02668/0.4773, allocations: 6.033 MB / 0.5309 GB, free: 11.46 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002032/0.4794, allocations: 0.8347 MB / 0.5317 GB, free: 10.98 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005336/0.4799, allocations: 235.2 kB / 0.532 GB, free: 10.82 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01548/0.4954, allocations: 5.463 MB / 0.5373 GB, free: 6.598 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007787/0.4962, allocations: 243 kB / 0.5375 GB, free: 6.359 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 8.645e-05/0.4963, allocations: 28 kB / 0.5376 GB, free: 6.332 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01482/0.5111, allocations: 6.322 MB / 0.5437 GB, free: 4 kB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002172/0.5114, allocations: 87.86 kB / 0.5438 GB, free: 15.91 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003853/0.5118, allocations: 199.1 kB / 0.544 GB, free: 15.72 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01187/0.5237, allocations: 3.832 MB / 0.5477 GB, free: 11.88 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.763e-06/0.5237, allocations: 0 / 0.5477 GB, free: 11.88 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.275e-06/0.5237, allocations: 0 / 0.5477 GB, free: 11.88 MB / 430.1 MB Notification: Performance of Transformations before backend: time 9.468e-06/0.5237, allocations: 0 / 0.5477 GB, free: 11.88 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.002634/0.5264, allocations: 1.045 MB / 0.5488 GB, free: 10.79 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.99e-05/0.5264, allocations: 15.89 kB / 0.5488 GB, free: 10.77 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001588/0.528, allocations: 192.3 kB / 0.549 GB, free: 10.59 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005323/0.5286, allocations: 342.6 kB / 0.5493 GB, free: 10.21 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.976e-05/0.5286, allocations: 28.88 kB / 0.5493 GB, free: 10.19 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.082e-05/0.5287, allocations: 24.38 kB / 0.5493 GB, free: 10.16 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00115/0.5298, allocations: 490.8 kB / 0.5498 GB, free: 9.645 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.21e-05/0.5298, allocations: 3.938 kB / 0.5498 GB, free: 9.641 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.486e-05/0.5299, allocations: 12 kB / 0.5498 GB, free: 9.629 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.072e-05/0.5299, allocations: 8 kB / 0.5498 GB, free: 9.621 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001146/0.5311, allocations: 413.2 kB / 0.5502 GB, free: 9.215 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003081/0.5341, allocations: 2.422 MB / 0.5526 GB, free: 6.582 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001118/0.5353, allocations: 330.3 kB / 0.5529 GB, free: 6.25 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002804/0.5356, allocations: 112.8 kB / 0.553 GB, free: 6.137 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03165/0.5672, allocations: 16.52 MB / 0.5692 GB, free: 3.613 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.129e-05/0.5673, allocations: 34.56 kB / 0.5692 GB, free: 3.57 MB / 446.1 MB Notification: Performance of pre-optimization done (n=15): time 2.234e-06/0.5673, allocations: 0 / 0.5692 GB, free: 3.57 MB / 446.1 MB Notification: Performance of matching and sorting (n=15): time 0.002316/0.5696, allocations: 0.5244 MB / 0.5697 GB, free: 3.039 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.654e-05/0.5698, allocations: 106.8 kB / 0.5698 GB, free: 2.91 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004958/0.5703, allocations: 320.5 kB / 0.5701 GB, free: 2.586 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.322e-05/0.5703, allocations: 25.7 kB / 0.5701 GB, free: 2.555 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001873/0.5705, allocations: 215.6 kB / 0.5703 GB, free: 2.34 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.48e-05/0.5706, allocations: 51.3 kB / 0.5704 GB, free: 2.289 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001401/0.5707, allocations: 57.7 kB / 0.5704 GB, free: 2.227 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001839/0.5709, allocations: 338.8 kB / 0.5708 GB, free: 1.887 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002764/0.5712, allocations: 95.92 kB / 0.5709 GB, free: 1.793 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003723/0.5716, allocations: 216.7 kB / 0.5711 GB, free: 1.527 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005945/0.5722, allocations: 294.5 kB / 0.5713 GB, free: 1.191 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.452e-06/0.5722, allocations: 4 kB / 0.5713 GB, free: 1.188 MB / 446.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008018/0.573, allocations: 336.8 kB / 0.5717 GB, free: 0.8516 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.099e-05/0.573, allocations: 8 kB / 0.5717 GB, free: 0.8438 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.119e-05/0.5731, allocations: 4 kB / 0.5717 GB, free: 0.8398 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.451e-05/0.5731, allocations: 8.406 kB / 0.5717 GB, free: 0.832 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002661/0.5734, allocations: 75.89 kB / 0.5718 GB, free: 0.7578 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.172e-05/0.5734, allocations: 4 kB / 0.5718 GB, free: 0.7539 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002642/0.5737, allocations: 43.58 kB / 0.5718 GB, free: 0.7109 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.033e-05/0.5737, allocations: 15.98 kB / 0.5718 GB, free: 0.6953 MB / 446.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.0001883/0.5739, allocations: 149.8 kB / 0.572 GB, free: 0.5391 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.064e-05/0.574, allocations: 39.55 kB / 0.572 GB, free: 0.5 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001482/0.5755, allocations: 1.113 MB / 0.5731 GB, free: 15.37 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.632e-05/0.5755, allocations: 15.97 kB / 0.5731 GB, free: 15.36 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.5755, allocations: 0 / 0.5731 GB, free: 15.36 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.963e-06/0.5755, allocations: 8 kB / 0.5731 GB, free: 15.35 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008067/0.5763, allocations: 0.6638 MB / 0.5738 GB, free: 14.64 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.011e-06/0.5764, allocations: 0 / 0.5738 GB, free: 14.64 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002125/0.5766, allocations: 47.95 kB / 0.5738 GB, free: 14.59 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.749e-06/0.5766, allocations: 0 / 0.5738 GB, free: 14.59 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.152e-05/0.5766, allocations: 7.938 kB / 0.5738 GB, free: 14.58 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.087e-06/0.5766, allocations: 0 / 0.5738 GB, free: 14.58 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.5766, allocations: 3.938 kB / 0.5738 GB, free: 14.58 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009308/0.5776, allocations: 0.6154 MB / 0.5744 GB, free: 13.95 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001616/0.5777, allocations: 132.3 kB / 0.5745 GB, free: 13.8 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.933e-05/0.5778, allocations: 27.62 kB / 0.5746 GB, free: 13.77 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002049/0.578, allocations: 19.98 kB / 0.5746 GB, free: 13.75 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.626e-05/0.5781, allocations: 23.97 kB / 0.5746 GB, free: 13.73 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.71e-05/0.5782, allocations: 4 kB / 0.5746 GB, free: 13.72 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0004265/0.5786, allocations: 346.8 kB / 0.5749 GB, free: 13.38 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.5786, allocations: 0 / 0.5749 GB, free: 13.38 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003004/0.5816, allocations: 0.8433 MB / 0.5758 GB, free: 12.54 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.004953/0.5866, allocations: 1.021 MB / 0.5768 GB, free: 11.51 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0009125/0.5875, allocations: 355.8 kB / 0.5771 GB, free: 11.17 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.017e-06/0.5875, allocations: 0 / 0.5771 GB, free: 11.17 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004884/0.588, allocations: 257.3 kB / 0.5773 GB, free: 10.92 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00102/0.5891, allocations: 179.5 kB / 0.5775 GB, free: 10.74 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001756/0.5908, allocations: 1.02 MB / 0.5785 GB, free: 9.691 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004634/0.5913, allocations: 0.8759 MB / 0.5794 GB, free: 8.793 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004438/0.5918, allocations: 183 kB / 0.5795 GB, free: 8.613 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.864e-05/0.5919, allocations: 35.44 kB / 0.5796 GB, free: 8.578 MB / 462.1 MB Notification: Performance of SimCode: time 4.4e-07/0.5919, allocations: 0 / 0.5796 GB, free: 8.578 MB / 462.1 MB Notification: Performance of Templates: time 0.05915/0.6511, allocations: 34.57 MB / 0.6133 GB, free: 5.973 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe 2>&1)