Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEntropy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEntropy",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00131/0.00131, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001483/0.001483, allocations: 210.4 kB / 18.58 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.507/1.507, allocations: 227.4 MB / 246.8 MB, free: 10.59 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2314/0.2314, allocations: 46.1 MB / 344.2 MB, free: 11.6 MB / 286.1 MB Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002275/0.002275, allocations: 81.42 kB / 417.8 MB, free: 19.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1252/0.1275, allocations: 62.44 MB / 480.2 MB, free: 5.156 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy): time 0.03863/0.1662, allocations: 30.22 MB / 0.4985 GB, free: 6.836 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2896/0.4558, allocations: 17.62 MB / 0.5157 GB, free: 10.63 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004336/0.4563, allocations: 13.62 kB / 0.5157 GB, free: 10.63 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006399/0.457, allocations: 216.5 kB / 0.5159 GB, free: 10.63 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006868/0.4577, allocations: 271.9 kB / 0.5161 GB, free: 10.62 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02225/0.4799, allocations: 6.055 MB / 0.5221 GB, free: 10.28 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001864/0.4818, allocations: 0.8412 MB / 0.5229 GB, free: 10.11 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004997/0.4823, allocations: 241.7 kB / 0.5231 GB, free: 10.09 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01394/0.4963, allocations: 5.447 MB / 0.5284 GB, free: 8.484 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005922/0.4969, allocations: 243.8 kB / 0.5287 GB, free: 8.434 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.821e-05/0.497, allocations: 30.72 kB / 0.5287 GB, free: 8.434 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01416/0.5112, allocations: 6.195 MB / 0.5347 GB, free: 6.176 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001965/0.5114, allocations: 100 kB / 0.5348 GB, free: 6.102 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003587/0.5118, allocations: 189.6 kB / 0.535 GB, free: 5.992 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009402/0.5212, allocations: 3.858 MB / 0.5388 GB, free: 3.703 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.042e-06/0.5212, allocations: 0 / 0.5388 GB, free: 3.703 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.5212, allocations: 0 / 0.5388 GB, free: 3.703 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.987e-06/0.5212, allocations: 2.938 kB / 0.5388 GB, free: 3.703 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.00249/0.5237, allocations: 1.043 MB / 0.5398 GB, free: 2.906 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.899e-05/0.5238, allocations: 8.562 kB / 0.5398 GB, free: 2.906 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.561e-05/0.5238, allocations: 64.44 kB / 0.5399 GB, free: 2.844 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001598/0.5254, allocations: 198.9 kB / 0.5401 GB, free: 2.773 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003586/0.5258, allocations: 329.7 kB / 0.5404 GB, free: 2.461 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.818e-05/0.5258, allocations: 32.31 kB / 0.5404 GB, free: 2.441 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.136e-05/0.5259, allocations: 24.5 kB / 0.5404 GB, free: 2.434 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001101/0.527, allocations: 495.5 kB / 0.5409 GB, free: 2.098 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.337e-05/0.527, allocations: 0 / 0.5409 GB, free: 2.098 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.688e-05/0.5271, allocations: 17.38 kB / 0.5409 GB, free: 2.086 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.696e-06/0.5271, allocations: 4.469 kB / 0.5409 GB, free: 2.086 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001087/0.5282, allocations: 413.8 kB / 0.5413 GB, free: 1.895 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002834/0.531, allocations: 2.43 MB / 0.5437 GB, free: 15.62 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001158/0.5322, allocations: 326.8 kB / 0.544 GB, free: 15.45 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003011/0.5325, allocations: 111.8 kB / 0.5441 GB, free: 15.39 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03916/0.5717, allocations: 18.31 MB / 0.562 GB, free: 11.86 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.484e-05/0.5718, allocations: 34.56 kB / 0.562 GB, free: 11.82 MB / 414.1 MB Notification: Performance of pre-optimization done (n=15): time 3.547e-06/0.5718, allocations: 0 / 0.562 GB, free: 11.82 MB / 414.1 MB Notification: Performance of matching and sorting (n=15): time 0.002303/0.5741, allocations: 0.5249 MB / 0.5625 GB, free: 11.29 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.111e-05/0.5742, allocations: 102.8 kB / 0.5626 GB, free: 11.16 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004352/0.5747, allocations: 328.5 kB / 0.563 GB, free: 10.84 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.799e-05/0.5747, allocations: 29.7 kB / 0.563 GB, free: 10.8 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001754/0.5749, allocations: 210.4 kB / 0.5632 GB, free: 10.59 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.401e-05/0.5749, allocations: 55.23 kB / 0.5632 GB, free: 10.54 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001081/0.5751, allocations: 61.69 kB / 0.5633 GB, free: 10.47 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002067/0.5753, allocations: 338.8 kB / 0.5636 GB, free: 10.13 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002871/0.5756, allocations: 99.86 kB / 0.5637 GB, free: 10.03 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003902/0.576, allocations: 211.3 kB / 0.5639 GB, free: 9.77 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006626/0.5766, allocations: 305.2 kB / 0.5642 GB, free: 9.426 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.576e-06/0.5767, allocations: 0 / 0.5642 GB, free: 9.426 MB / 414.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000831/0.5775, allocations: 337.3 kB / 0.5645 GB, free: 9.09 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.232e-05/0.5775, allocations: 6.844 kB / 0.5645 GB, free: 9.086 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.498e-06/0.5775, allocations: 8 kB / 0.5645 GB, free: 9.078 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.527e-05/0.5776, allocations: 11.94 kB / 0.5646 GB, free: 9.066 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002963/0.5779, allocations: 67.89 kB / 0.5646 GB, free: 9 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.129e-05/0.5779, allocations: 7.938 kB / 0.5646 GB, free: 8.992 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002782/0.5782, allocations: 47.58 kB / 0.5647 GB, free: 8.945 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.9e-05/0.5782, allocations: 15.98 kB / 0.5647 GB, free: 8.93 MB / 414.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.0002165/0.5784, allocations: 149.8 kB / 0.5648 GB, free: 8.773 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.861e-05/0.5785, allocations: 31.62 kB / 0.5649 GB, free: 8.742 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001683/0.5802, allocations: 1.125 MB / 0.566 GB, free: 7.609 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.019e-05/0.5802, allocations: 15.97 kB / 0.566 GB, free: 7.594 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.5803, allocations: 4 kB / 0.566 GB, free: 7.59 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.5803, allocations: 0 / 0.566 GB, free: 7.59 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008629/0.5811, allocations: 0.663 MB / 0.5666 GB, free: 6.883 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.539e-06/0.5812, allocations: 0 / 0.5666 GB, free: 6.883 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002269/0.5814, allocations: 47.89 kB / 0.5667 GB, free: 6.836 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.982e-06/0.5814, allocations: 4 kB / 0.5667 GB, free: 6.832 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.711e-05/0.5814, allocations: 7.938 kB / 0.5667 GB, free: 6.824 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.218e-06/0.5814, allocations: 3.984 kB / 0.5667 GB, free: 6.82 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.5814, allocations: 4 kB / 0.5667 GB, free: 6.816 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009876/0.5824, allocations: 0.6142 MB / 0.5673 GB, free: 6.188 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001283/0.5826, allocations: 136.2 kB / 0.5674 GB, free: 6.035 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.293e-05/0.5827, allocations: 31.62 kB / 0.5674 GB, free: 6.004 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002044/0.5829, allocations: 15.98 kB / 0.5675 GB, free: 5.988 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.214e-05/0.583, allocations: 19.97 kB / 0.5675 GB, free: 5.969 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.982e-05/0.583, allocations: 11.98 kB / 0.5675 GB, free: 5.957 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004328/0.5834, allocations: 342.9 kB / 0.5678 GB, free: 5.625 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.5834, allocations: 3.938 kB / 0.5678 GB, free: 5.621 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002828/0.5863, allocations: 0.8395 MB / 0.5686 GB, free: 4.781 MB / 414.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.00547/0.5917, allocations: 2.075 MB / 0.5707 GB, free: 2.762 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0009217/0.5927, allocations: 368.4 kB / 0.571 GB, free: 2.402 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 7.353e-06/0.5927, allocations: 7.938 kB / 0.571 GB, free: 2.395 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004177/0.5931, allocations: 256.5 kB / 0.5713 GB, free: 2.145 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001017/0.5942, allocations: 187.8 kB / 0.5715 GB, free: 1.973 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007027/0.6012, allocations: 4.346 MB / 0.5757 GB, free: 13.47 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005444/0.6018, allocations: 0.868 MB / 0.5765 GB, free: 12.57 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0004195/0.6022, allocations: 190.5 kB / 0.5767 GB, free: 12.39 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002607/0.6025, allocations: 191.4 kB / 0.5769 GB, free: 12.2 MB / 430.1 MB Notification: Performance of SimCode: time 1.583e-06/0.6025, allocations: 0 / 0.5769 GB, free: 12.2 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08644/0.6889, allocations: 40.45 MB / 0.6164 GB, free: 3.91 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.01/10.7, allocations: 7.797 kB / 0.6164 GB, free: 3.902 MB / 462.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000404 ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEntropy.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe 2>&1)