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.0006929/0.000693, allocations: 86.48 kB / 15.06 MB, free: 1.09 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.0007652/0.0007652, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.263/1.263, allocations: 205.4 MB / 222.1 MB, free: 5.617 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.2742/0.2742, allocations: 38.04 MB / 308.4 MB, free: 10.41 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.000502/0.000502, allocations: 16 kB / 376.5 MB, free: 15.15 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09527/0.09578, allocations: 57.52 MB / 434 MB, free: 5.535 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy): time 0.202/0.2978, allocations: 27.94 MB / 461.9 MB, free: 34.16 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01371/0.3116, allocations: 16.35 MB / 478.3 MB, free: 30.66 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003401/0.3119, allocations: 14.31 kB / 478.3 MB, free: 30.65 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005041/0.3125, allocations: 171.8 kB / 478.4 MB, free: 30.56 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:734:36-735:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:732:36-733:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:734:36-735:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:732:36-733:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.0005112/0.313, allocations: 267.2 kB / 478.7 MB, free: 30.4 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01174/0.3247, allocations: 4.635 MB / 483.3 MB, free: 28.27 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009556/0.3257, allocations: 0.9485 MB / 484.3 MB, free: 27.88 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002715/0.326, allocations: 189.3 kB / 484.5 MB, free: 27.82 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01185/0.3378, allocations: 8.929 MB / 493.4 MB, free: 26.67 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005705/0.3384, allocations: 239 kB / 493.6 MB, free: 26.57 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.484e-05/0.3385, allocations: 13.66 kB / 493.6 MB, free: 26.57 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01065/0.3492, allocations: 6.001 MB / 499.6 MB, free: 25.23 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001865/0.3494, allocations: 73.02 kB / 499.7 MB, free: 25.2 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002074/0.3496, allocations: 97.89 kB / 499.8 MB, free: 25.13 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005915/0.3555, allocations: 2.569 MB / 0.4906 GB, free: 24.66 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.119e-06/0.3556, allocations: 1.188 kB / 0.4906 GB, free: 24.66 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.3556, allocations: 4 kB / 0.4906 GB, free: 24.66 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.292e-05/0.3556, allocations: 0 / 0.4906 GB, free: 24.66 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.00384/0.3594, allocations: 0.977 MB / 0.4916 GB, free: 23.97 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.921e-05/0.3595, allocations: 8.5 kB / 0.4916 GB, free: 23.97 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001572/0.3611, allocations: 204.8 kB / 0.4918 GB, free: 23.94 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004246/0.3615, allocations: 322.3 kB / 0.4921 GB, free: 23.68 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.505e-05/0.3615, allocations: 24.25 kB / 0.4921 GB, free: 23.66 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.869e-05/0.3616, allocations: 24.5 kB / 0.4921 GB, free: 23.66 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001164/0.3628, allocations: 0.4977 MB / 0.4926 GB, free: 23.42 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.177e-05/0.3628, allocations: 0 / 0.4926 GB, free: 23.42 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.391e-05/0.3628, allocations: 11.88 kB / 0.4926 GB, free: 23.41 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.015e-05/0.3628, allocations: 7.438 kB / 0.4926 GB, free: 23.41 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001121/0.364, allocations: 448.5 kB / 0.4931 GB, free: 23.3 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002588/0.3666, allocations: 2.438 MB / 0.4954 GB, free: 21.27 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001037/0.3676, allocations: 363.3 kB / 0.4958 GB, free: 21.16 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000268/0.3679, allocations: 119.6 kB / 0.4959 GB, free: 21.12 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0274/0.3953, allocations: 16.62 MB / 0.5121 GB, free: 9.309 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.865e-05/0.3954, allocations: 33.09 kB / 0.5122 GB, free: 9.27 MB / 382.1 MB Notification: Performance of pre-optimization done (n=15): time 2.124e-06/0.3954, allocations: 0 / 0.5122 GB, free: 9.27 MB / 382.1 MB Notification: Performance of matching and sorting (n=15): time 0.001889/0.3973, allocations: 0.5651 MB / 0.5127 GB, free: 9.004 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.438e-05/0.3973, allocations: 102.8 kB / 0.5128 GB, free: 8.879 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003736/0.3977, allocations: 324.8 kB / 0.5131 GB, free: 8.66 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.737e-05/0.3977, allocations: 28.83 kB / 0.5132 GB, free: 8.629 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.887e-05/0.3978, allocations: 213.9 kB / 0.5134 GB, free: 8.434 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.345e-05/0.3979, allocations: 53.92 kB / 0.5134 GB, free: 8.387 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.135e-05/0.3979, allocations: 4 kB / 0.5134 GB, free: 8.383 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.907e-05/0.398, allocations: 343.5 kB / 0.5137 GB, free: 8.047 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002274/0.3982, allocations: 95.86 kB / 0.5138 GB, free: 8.008 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002625/0.3985, allocations: 224.5 kB / 0.514 GB, free: 7.805 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002523/0.3987, allocations: 122.3 kB / 0.5142 GB, free: 7.75 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.3987, allocations: 0 / 0.5142 GB, free: 7.75 MB / 382.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006363/0.3994, allocations: 361.8 kB / 0.5145 GB, free: 7.566 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.042e-05/0.3994, allocations: 5 kB / 0.5145 GB, free: 7.566 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.056e-05/0.3994, allocations: 5.719 kB / 0.5145 GB, free: 7.566 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.189e-05/0.3995, allocations: 7.438 kB / 0.5145 GB, free: 7.562 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002514/0.3997, allocations: 76.17 kB / 0.5146 GB, free: 7.543 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.161e-05/0.3997, allocations: 9.297 kB / 0.5146 GB, free: 7.539 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002965/0.4, allocations: 50.67 kB / 0.5147 GB, free: 7.512 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.04e-05/0.4001, allocations: 20.03 kB / 0.5147 GB, free: 7.504 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_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 initialization (30): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 0.0001443/0.4002, allocations: 161.9 kB / 0.5148 GB, free: 7.355 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.848e-05/0.4003, allocations: 31.25 kB / 0.5149 GB, free: 7.34 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001183/0.4015, allocations: 1.143 MB / 0.516 GB, free: 6.656 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.422e-05/0.4015, allocations: 13.52 kB / 0.516 GB, free: 6.648 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.4015, allocations: 0.75 kB / 0.516 GB, free: 6.648 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.4015, allocations: 3.984 kB / 0.516 GB, free: 6.645 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005906/0.4021, allocations: 0.6764 MB / 0.5167 GB, free: 6.117 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.399e-06/0.4021, allocations: 0 / 0.5167 GB, free: 6.117 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001972/0.4023, allocations: 61.33 kB / 0.5167 GB, free: 6.098 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.098e-06/0.4024, allocations: 0 / 0.5167 GB, free: 6.098 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.375e-05/0.4024, allocations: 10.14 kB / 0.5167 GB, free: 6.09 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/0.4024, allocations: 2.969 kB / 0.5167 GB, free: 6.09 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.4024, allocations: 0 / 0.5167 GB, free: 6.09 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007093/0.4031, allocations: 0.6447 MB / 0.5174 GB, free: 5.539 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001583/0.4033, allocations: 192 kB / 0.5175 GB, free: 5.332 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.552e-05/0.4033, allocations: 4 kB / 0.5175 GB, free: 5.328 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002301/0.4036, allocations: 35.81 kB / 0.5176 GB, free: 5.293 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.559e-05/0.4037, allocations: 19.97 kB / 0.5176 GB, free: 5.273 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.467e-05/0.4037, allocations: 11.95 kB / 0.5176 GB, free: 5.262 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002793/0.404, allocations: 342.8 kB / 0.5179 GB, free: 4.926 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.404, allocations: 0 / 0.5179 GB, free: 4.926 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00393/0.4079, allocations: 0.8395 MB / 0.5187 GB, free: 4.086 MB / 382.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 (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.006932/0.4148, allocations: 1.001 MB / 0.5197 GB, free: 3.082 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001037/0.4159, allocations: 369.2 kB / 0.5201 GB, free: 2.723 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.469e-06/0.4159, allocations: 0 / 0.5201 GB, free: 2.723 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004537/0.4164, allocations: 268.5 kB / 0.5203 GB, free: 2.461 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001531/0.418, allocations: 180.7 kB / 0.5205 GB, free: 2.285 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00196/0.4199, allocations: 1.271 MB / 0.5217 GB, free: 0.9922 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003304/0.4203, allocations: 0.8722 MB / 0.5226 GB, free: 100 kB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005609/0.4209, allocations: 183 kB / 0.5228 GB, free: 15.91 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001014/0.421, allocations: 39.38 kB / 0.5228 GB, free: 15.88 MB / 398.1 MB Notification: Performance of SimCode: time 4.41e-07/0.421, allocations: 0 / 0.5228 GB, free: 15.88 MB / 398.1 MB Notification: Performance of Templates: time 0.06252/0.4835, allocations: 34.54 MB / 0.5565 GB, free: 13.32 MB / 430.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: