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.001254/0.001254, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001465/0.001465, allocations: 195.5 kB / 16.14 MB, free: 6.664 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.616/1.616, allocations: 205.1 MB / 222 MB, free: 4.992 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.3571/0.3571, allocations: 37.98 MB / 307.3 MB, free: 9.824 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.001389/0.001389, allocations: 59.92 kB / 374.5 MB, free: 15.65 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1775/0.1789, allocations: 56.48 MB / 431 MB, free: 7.082 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy): time 0.3141/0.4931, allocations: 30.92 MB / 461.9 MB, free: 34.95 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01754/0.5107, allocations: 18.59 MB / 480.5 MB, free: 27.39 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004361/0.5112, allocations: 13.59 kB / 480.5 MB, free: 27.38 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006912/0.5119, allocations: 186.9 kB / 480.7 MB, free: 27.28 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005731/0.5125, allocations: 252.7 kB / 481 MB, free: 27.13 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0155/0.528, allocations: 4.884 MB / 485.9 MB, free: 24.84 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001285/0.5293, allocations: 1.103 MB / 487 MB, free: 24.43 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003926/0.5297, allocations: 201.2 kB / 487.2 MB, free: 24.36 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01219/0.5419, allocations: 5.377 MB / 492.5 MB, free: 21.88 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006863/0.5427, allocations: 253.7 kB / 492.8 MB, free: 21.77 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.416e-05/0.5428, allocations: 16.25 kB / 492.8 MB, free: 21.77 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01273/0.5555, allocations: 6.234 MB / 499 MB, free: 20.21 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001984/0.5557, allocations: 79.5 kB / 499.1 MB, free: 20.18 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003724/0.5561, allocations: 184.7 kB / 499.3 MB, free: 20.08 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01392/0.57, allocations: 3.83 MB / 0.4913 GB, free: 19.03 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.905e-06/0.5701, allocations: 0 / 0.4913 GB, free: 19.03 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.605e-06/0.5701, allocations: 0.7031 kB / 0.4913 GB, free: 19.03 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.07e-05/0.5701, allocations: 1.188 kB / 0.4913 GB, free: 19.03 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.005386/0.5755, allocations: 1.046 MB / 0.4924 GB, free: 18.3 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.864e-05/0.5756, allocations: 9.625 kB / 0.4924 GB, free: 18.3 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001898/0.5775, allocations: 189.6 kB / 0.4925 GB, free: 18.27 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006114/0.5782, allocations: 336.8 kB / 0.4929 GB, free: 17.99 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.47e-05/0.5782, allocations: 26.09 kB / 0.4929 GB, free: 17.98 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.282e-05/0.5783, allocations: 28.78 kB / 0.4929 GB, free: 17.97 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001494/0.5798, allocations: 491.1 kB / 0.4934 GB, free: 17.74 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.369e-05/0.5798, allocations: 3.938 kB / 0.4934 GB, free: 17.73 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.219e-05/0.5799, allocations: 12.22 kB / 0.4934 GB, free: 17.73 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.44e-05/0.5799, allocations: 7.031 kB / 0.4934 GB, free: 17.73 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001327/0.5812, allocations: 408.2 kB / 0.4938 GB, free: 17.63 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003483/0.5847, allocations: 2.422 MB / 0.4962 GB, free: 15.6 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001208/0.5859, allocations: 329.5 kB / 0.4965 GB, free: 15.5 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002947/0.5863, allocations: 111.1 kB / 0.4966 GB, free: 15.46 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03279/0.619, allocations: 16.45 MB / 0.5126 GB, free: 3.195 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.172e-05/0.6192, allocations: 39.78 kB / 0.5127 GB, free: 3.148 MB / 382.1 MB Notification: Performance of pre-optimization done (n=15): time 3.857e-06/0.6192, allocations: 3.984 kB / 0.5127 GB, free: 3.145 MB / 382.1 MB Notification: Performance of matching and sorting (n=15): time 0.002267/0.6214, allocations: 0.5304 MB / 0.5132 GB, free: 2.871 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.217e-05/0.6215, allocations: 105.6 kB / 0.5133 GB, free: 2.746 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004657/0.622, allocations: 319.2 kB / 0.5136 GB, free: 2.535 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.669e-05/0.622, allocations: 34.95 kB / 0.5136 GB, free: 2.496 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000131/0.6222, allocations: 205.5 kB / 0.5138 GB, free: 2.309 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.018e-05/0.6222, allocations: 54.84 kB / 0.5139 GB, free: 2.262 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001134/0.6223, allocations: 68.44 kB / 0.514 GB, free: 2.211 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.6e-05/0.6224, allocations: 337.2 kB / 0.5143 GB, free: 1.879 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002845/0.6227, allocations: 100.6 kB / 0.5144 GB, free: 1.828 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003344/0.6231, allocations: 218.3 kB / 0.5146 GB, free: 1.621 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005762/0.6237, allocations: 290 kB / 0.5149 GB, free: 1.395 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.131e-06/0.6237, allocations: 1.25 kB / 0.5149 GB, free: 1.395 MB / 382.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008552/0.6245, allocations: 343.3 kB / 0.5152 GB, free: 1.211 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.058e-05/0.6246, allocations: 6.469 kB / 0.5152 GB, free: 1.211 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.087e-06/0.6246, allocations: 8.562 kB / 0.5152 GB, free: 1.207 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.545e-05/0.6246, allocations: 8.656 kB / 0.5152 GB, free: 1.203 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002749/0.6249, allocations: 70.05 kB / 0.5153 GB, free: 1.184 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.292e-05/0.6249, allocations: 5.188 kB / 0.5153 GB, free: 1.184 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003347/0.6253, allocations: 51.69 kB / 0.5153 GB, free: 1.152 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.111e-05/0.6253, allocations: 14.66 kB / 0.5153 GB, free: 1.148 MB / 382.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.000162/0.6255, allocations: 156.7 kB / 0.5155 GB, free: 1.004 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.425e-05/0.6256, allocations: 31.56 kB / 0.5155 GB, free: 0.9883 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001339/0.6269, allocations: 1.108 MB / 0.5166 GB, free: 332 kB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.807e-05/0.6269, allocations: 19.5 kB / 0.5166 GB, free: 316 kB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/0.627, allocations: 3.938 kB / 0.5166 GB, free: 312 kB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.671e-06/0.627, allocations: 1.625 kB / 0.5166 GB, free: 312 kB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008044/0.6278, allocations: 0.6604 MB / 0.5173 GB, free: 15.79 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.801e-06/0.6278, allocations: 0 / 0.5173 GB, free: 15.79 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002147/0.628, allocations: 43.86 kB / 0.5173 GB, free: 15.78 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.294e-06/0.628, allocations: 10.86 kB / 0.5173 GB, free: 15.77 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.762e-05/0.6281, allocations: 4 kB / 0.5173 GB, free: 15.77 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.148e-05/0.6281, allocations: 6.75 kB / 0.5173 GB, free: 15.77 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.6281, allocations: 0 / 0.5173 GB, free: 15.77 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008651/0.629, allocations: 0.6221 MB / 0.5179 GB, free: 15.37 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001153/0.6291, allocations: 129.5 kB / 0.5181 GB, free: 15.23 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.833e-05/0.6292, allocations: 26.22 kB / 0.5181 GB, free: 15.21 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002408/0.6294, allocations: 28.12 kB / 0.5181 GB, free: 15.2 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.436e-05/0.6295, allocations: 18.12 kB / 0.5181 GB, free: 15.19 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.83e-05/0.6295, allocations: 12.66 kB / 0.5182 GB, free: 15.18 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003795/0.6299, allocations: 343.4 kB / 0.5185 GB, free: 14.98 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.6299, allocations: 0 / 0.5185 GB, free: 14.98 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.005661/0.6356, allocations: 0.8447 MB / 0.5193 GB, free: 14.83 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.008263/0.6439, allocations: 1.011 MB / 0.5203 GB, free: 14.4 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001187/0.6451, allocations: 345.5 kB / 0.5206 GB, free: 14.24 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.27e-06/0.6451, allocations: 6.938 kB / 0.5206 GB, free: 14.24 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003864/0.6455, allocations: 256.9 kB / 0.5209 GB, free: 14.1 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001648/0.6472, allocations: 180.5 kB / 0.521 GB, free: 14.01 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002496/0.6497, allocations: 1.232 MB / 0.5222 GB, free: 13.16 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007603/0.6505, allocations: 0.8768 MB / 0.5231 GB, free: 12.38 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004116/0.6509, allocations: 186.1 kB / 0.5233 GB, free: 12.3 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.514e-05/0.651, allocations: 38.38 kB / 0.5233 GB, free: 12.29 MB / 398.1 MB Notification: Performance of SimCode: time 5.21e-07/0.651, allocations: 0 / 0.5233 GB, free: 12.29 MB / 398.1 MB Notification: Performance of Templates: time 0.04901/0.7, allocations: 34.15 MB / 0.5567 GB, free: 10.61 MB / 430.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)