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.008326/0.008326, allocations: 101.8 kB / 15.73 MB, free: 6 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.001474/0.001474, allocations: 197.9 kB / 16.68 MB, free: 5.926 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.747/1.747, allocations: 205.1 MB / 222.5 MB, free: 4.492 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.3775/0.3775, allocations: 39.94 MB / 309.8 MB, free: 9.359 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.002092/0.002092, allocations: 76.27 kB / 435.8 MB, free: 2.465 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3942/0.3963, allocations: 56.87 MB / 492.6 MB, free: 19.47 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy): time 0.03291/0.4293, allocations: 30.1 MB / 0.5105 GB, free: 12.94 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.02595/0.4553, allocations: 17.6 MB / 0.5277 GB, free: 14.71 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005988/0.456, allocations: 9.438 kB / 0.5277 GB, free: 14.71 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008793/0.4569, allocations: 218.2 kB / 0.5279 GB, free: 14.53 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007455/0.4576, allocations: 277 kB / 0.5282 GB, free: 14.3 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02166/0.4793, allocations: 6.022 MB / 0.534 GB, free: 10.02 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001533/0.4809, allocations: 0.8397 MB / 0.5349 GB, free: 9.188 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004281/0.4813, allocations: 236.7 kB / 0.5351 GB, free: 8.949 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0119/0.4932, allocations: 5.439 MB / 0.5404 GB, free: 3.43 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004876/0.4937, allocations: 247 kB / 0.5406 GB, free: 3.188 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 7.236e-05/0.4938, allocations: 28 kB / 0.5407 GB, free: 3.16 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0123/0.5061, allocations: 6.322 MB / 0.5468 GB, free: 12.83 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001669/0.5063, allocations: 95.66 kB / 0.5469 GB, free: 12.74 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002935/0.5066, allocations: 191.1 kB / 0.5471 GB, free: 12.55 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009098/0.5157, allocations: 3.828 MB / 0.5508 GB, free: 8.715 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.239e-06/0.5157, allocations: 0 / 0.5508 GB, free: 8.715 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.5158, allocations: 0 / 0.5508 GB, free: 8.715 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.774e-05/0.5158, allocations: 4 kB / 0.5509 GB, free: 8.711 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.002779/0.5186, allocations: 1.045 MB / 0.5519 GB, free: 7.617 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.306e-05/0.5186, allocations: 15.89 kB / 0.5519 GB, free: 7.602 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001646/0.5203, allocations: 192.3 kB / 0.5521 GB, free: 7.414 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006702/0.521, allocations: 350.5 kB / 0.5524 GB, free: 7.035 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.146e-05/0.521, allocations: 20.94 kB / 0.5524 GB, free: 7.016 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.991e-05/0.521, allocations: 24.38 kB / 0.5524 GB, free: 6.992 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001245/0.5223, allocations: 490.8 kB / 0.5529 GB, free: 6.469 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.416e-05/0.5223, allocations: 0 / 0.5529 GB, free: 6.469 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.478e-05/0.5224, allocations: 19.94 kB / 0.5529 GB, free: 6.449 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.039e-05/0.5224, allocations: 12 kB / 0.5529 GB, free: 6.438 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001147/0.5235, allocations: 405.2 kB / 0.5533 GB, free: 6.043 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003042/0.5266, allocations: 2.418 MB / 0.5557 GB, free: 3.414 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001134/0.5277, allocations: 334.2 kB / 0.556 GB, free: 3.078 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002764/0.528, allocations: 112.8 kB / 0.5561 GB, free: 2.965 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.033/0.561, allocations: 16.51 MB / 0.5722 GB, free: 460 kB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.945e-05/0.5611, allocations: 38.55 kB / 0.5723 GB, free: 412 kB / 446.1 MB Notification: Performance of pre-optimization done (n=15): time 2.254e-06/0.5611, allocations: 3.938 kB / 0.5723 GB, free: 408 kB / 446.1 MB Notification: Performance of matching and sorting (n=15): time 0.002112/0.5632, allocations: 0.5246 MB / 0.5728 GB, free: 15.86 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.731e-05/0.5633, allocations: 106.8 kB / 0.5729 GB, free: 15.73 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003583/0.5637, allocations: 316.5 kB / 0.5732 GB, free: 15.41 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.483e-05/0.5637, allocations: 33.7 kB / 0.5732 GB, free: 15.37 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000143/0.5639, allocations: 207.6 kB / 0.5734 GB, free: 15.16 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.356e-05/0.5639, allocations: 55.28 kB / 0.5735 GB, free: 15.11 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.094e-05/0.564, allocations: 57.61 kB / 0.5735 GB, free: 15.05 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001297/0.5642, allocations: 342.8 kB / 0.5739 GB, free: 14.7 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002598/0.5644, allocations: 91.94 kB / 0.574 GB, free: 14.61 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003482/0.5648, allocations: 220.9 kB / 0.5742 GB, free: 14.34 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005918/0.5654, allocations: 294.8 kB / 0.5744 GB, free: 14.01 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.5654, allocations: 0 / 0.5744 GB, free: 14.01 MB / 462.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007639/0.5662, allocations: 337.6 kB / 0.5748 GB, free: 13.67 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.081e-05/0.5662, allocations: 13.03 kB / 0.5748 GB, free: 13.66 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.576e-06/0.5662, allocations: 4.469 kB / 0.5748 GB, free: 13.66 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.103e-05/0.5662, allocations: 11.94 kB / 0.5748 GB, free: 13.64 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002768/0.5665, allocations: 71.88 kB / 0.5749 GB, free: 13.57 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.658e-06/0.5665, allocations: 11.94 kB / 0.5749 GB, free: 13.56 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002322/0.5668, allocations: 39.67 kB / 0.5749 GB, free: 13.52 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.711e-05/0.5668, allocations: 16 kB / 0.5749 GB, free: 13.51 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.00016/0.567, allocations: 153.8 kB / 0.5751 GB, free: 13.35 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.104e-05/0.5671, allocations: 31.62 kB / 0.5751 GB, free: 13.32 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001444/0.5685, allocations: 1.106 MB / 0.5762 GB, free: 12.2 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.701e-05/0.5685, allocations: 15.98 kB / 0.5762 GB, free: 12.19 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.593e-06/0.5685, allocations: 0 / 0.5762 GB, free: 12.19 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.6e-06/0.5686, allocations: 3.984 kB / 0.5762 GB, free: 12.18 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000719/0.5693, allocations: 0.66 MB / 0.5768 GB, free: 11.47 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.899e-06/0.5693, allocations: 0 / 0.5768 GB, free: 11.47 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002538/0.5696, allocations: 51.89 kB / 0.5769 GB, free: 11.42 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.5696, allocations: 3.938 kB / 0.5769 GB, free: 11.42 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.685e-05/0.5696, allocations: 7.938 kB / 0.5769 GB, free: 11.41 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.208e-06/0.5696, allocations: 4 kB / 0.5769 GB, free: 11.41 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.5696, allocations: 4 kB / 0.5769 GB, free: 11.4 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009644/0.5706, allocations: 0.6153 MB / 0.5775 GB, free: 10.77 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001113/0.5707, allocations: 128.3 kB / 0.5776 GB, free: 10.63 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.865e-05/0.5708, allocations: 39.56 kB / 0.5777 GB, free: 10.59 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002055/0.571, allocations: 15.98 kB / 0.5777 GB, free: 10.57 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.077e-05/0.5711, allocations: 19.95 kB / 0.5777 GB, free: 10.55 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.806e-05/0.5711, allocations: 16 kB / 0.5777 GB, free: 10.54 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0003575/0.5714, allocations: 342.8 kB / 0.5781 GB, free: 10.2 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5715, allocations: 0 / 0.5781 GB, free: 10.2 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.00246/0.5739, allocations: 0.8432 MB / 0.5789 GB, free: 9.359 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.003472/0.5774, allocations: 1.007 MB / 0.5799 GB, free: 8.348 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0008177/0.5782, allocations: 355.8 kB / 0.5802 GB, free: 8.004 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.5782, allocations: 4 kB / 0.5802 GB, free: 8 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003781/0.5786, allocations: 257.2 kB / 0.5804 GB, free: 7.754 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009788/0.5796, allocations: 185.6 kB / 0.5806 GB, free: 7.57 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001474/0.5811, allocations: 1.013 MB / 0.5816 GB, free: 6.527 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004457/0.5816, allocations: 0.8797 MB / 0.5825 GB, free: 5.625 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0003663/0.5819, allocations: 179 kB / 0.5826 GB, free: 5.449 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.774e-05/0.582, allocations: 39.42 kB / 0.5827 GB, free: 5.41 MB / 462.1 MB Notification: Performance of SimCode: time 2e-07/0.582, allocations: 0 / 0.5827 GB, free: 5.41 MB / 462.1 MB Notification: Performance of Templates: time 0.04466/0.6267, allocations: 34.69 MB / 0.6166 GB, free: 2.684 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)