Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+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: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEntropy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEntropy",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007869/0.0007869, allocations: 94.28 kB / 15.7 MB, free: 448 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008122/0.0008122, allocations: 170.4 kB / 16.57 MB, free: 6.41 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.392/1.392, allocations: 205.4 MB / 222.8 MB, free: 5.883 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3353/0.3353, allocations: 43.54 MB / 314.6 MB, free: 8.621 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: Performance of FrontEnd - loaded program: time 0.0004799/0.0004799, allocations: 16 kB / 384 MB, free: 7.926 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1131/0.1136, allocations: 58.85 MB / 442.9 MB, free: 12.97 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy): time 0.2108/0.3245, allocations: 27.95 MB / 470.8 MB, free: 34.91 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01644/0.341, allocations: 16.34 MB / 487.2 MB, free: 23.79 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004398/0.3414, allocations: 14.47 kB / 487.2 MB, free: 23.79 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005735/0.342, allocations: 173.5 kB / 487.4 MB, free: 23.69 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.0005723/0.3426, allocations: 264.8 kB / 487.6 MB, free: 23.54 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01321/0.3558, allocations: 4.624 MB / 492.2 MB, free: 21.41 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001123/0.357, allocations: 0.9495 MB / 493.2 MB, free: 21.02 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003077/0.3573, allocations: 197.6 kB / 493.4 MB, free: 20.95 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01573/0.373, allocations: 8.925 MB / 0.4905 GB, free: 19.81 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006172/0.3737, allocations: 229.1 kB / 0.4908 GB, free: 19.72 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.18e-05/0.3738, allocations: 14.31 kB / 0.4908 GB, free: 19.72 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01245/0.3862, allocations: 6.001 MB / 0.4966 GB, free: 18.38 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002258/0.3865, allocations: 69.41 kB / 0.4967 GB, free: 18.34 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002602/0.3868, allocations: 101.4 kB / 0.4968 GB, free: 18.28 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007684/0.3945, allocations: 2.575 MB / 0.4993 GB, free: 17.8 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.875e-06/0.3945, allocations: 0 / 0.4993 GB, free: 17.8 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.464e-06/0.3945, allocations: 1.406 kB / 0.4993 GB, free: 17.8 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.805e-06/0.3945, allocations: 0 / 0.4993 GB, free: 17.8 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.00419/0.3987, allocations: 0.9822 MB / 0.5003 GB, free: 17.11 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.366e-05/0.3988, allocations: 9.875 kB / 0.5003 GB, free: 17.11 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.571e-05/0.3988, allocations: 61.7 kB / 0.5003 GB, free: 17.06 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001509/0.4004, allocations: 196.5 kB / 0.5005 GB, free: 17.04 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003851/0.4008, allocations: 332.3 kB / 0.5008 GB, free: 16.76 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.01e-05/0.4008, allocations: 20.66 kB / 0.5009 GB, free: 16.75 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.738e-05/0.4008, allocations: 25.06 kB / 0.5009 GB, free: 16.74 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001153/0.402, allocations: 0.493 MB / 0.5014 GB, free: 16.51 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.094e-05/0.402, allocations: 1.188 kB / 0.5014 GB, free: 16.51 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.075e-05/0.4021, allocations: 11.47 kB / 0.5014 GB, free: 16.5 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.085e-05/0.4021, allocations: 10.38 kB / 0.5014 GB, free: 16.5 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001048/0.4031, allocations: 442.8 kB / 0.5018 GB, free: 16.31 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002432/0.4056, allocations: 2.437 MB / 0.5042 GB, free: 14.03 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00102/0.4066, allocations: 368.2 kB / 0.5045 GB, free: 13.85 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002525/0.4069, allocations: 124 kB / 0.5047 GB, free: 13.79 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02606/0.433, allocations: 16.62 MB / 0.5209 GB, free: 14.23 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.251e-05/0.433, allocations: 34.56 kB / 0.5209 GB, free: 14.19 MB / 398.1 MB Notification: Performance of pre-optimization done (n=15): time 2.906e-06/0.4331, allocations: 7.938 kB / 0.5209 GB, free: 14.18 MB / 398.1 MB Notification: Performance of matching and sorting (n=15): time 0.001959/0.435, allocations: 0.5651 MB / 0.5215 GB, free: 13.61 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.306e-05/0.4351, allocations: 110.8 kB / 0.5216 GB, free: 13.48 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003808/0.4355, allocations: 324.4 kB / 0.5219 GB, free: 13.15 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.436e-05/0.4355, allocations: 29.7 kB / 0.5219 GB, free: 13.12 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001432/0.4357, allocations: 203.7 kB / 0.5221 GB, free: 12.91 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.975e-05/0.4357, allocations: 51.2 kB / 0.5222 GB, free: 12.86 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.236e-05/0.4357, allocations: 8 kB / 0.5222 GB, free: 12.86 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001139/0.4359, allocations: 334.8 kB / 0.5225 GB, free: 12.52 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002571/0.4361, allocations: 107.9 kB / 0.5226 GB, free: 12.41 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003109/0.4365, allocations: 216.6 kB / 0.5228 GB, free: 12.15 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002701/0.4367, allocations: 123.9 kB / 0.5229 GB, free: 12.03 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.347e-06/0.4367, allocations: 0 / 0.5229 GB, free: 12.03 MB / 398.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007082/0.4375, allocations: 367.7 kB / 0.5233 GB, free: 11.66 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.09e-05/0.4375, allocations: 8 kB / 0.5233 GB, free: 11.66 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.143e-06/0.4375, allocations: 0 / 0.5233 GB, free: 11.66 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.056e-05/0.4375, allocations: 11.95 kB / 0.5233 GB, free: 11.64 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002743/0.4378, allocations: 80.36 kB / 0.5234 GB, free: 11.57 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.239e-05/0.4378, allocations: 7.984 kB / 0.5234 GB, free: 11.56 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002976/0.4381, allocations: 47.67 kB / 0.5234 GB, free: 11.51 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.879e-05/0.4382, allocations: 20.62 kB / 0.5234 GB, free: 11.49 MB / 398.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.0001636/0.4383, allocations: 157.8 kB / 0.5236 GB, free: 11.33 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.327e-05/0.4384, allocations: 31.62 kB / 0.5236 GB, free: 11.3 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001372/0.4398, allocations: 1.146 MB / 0.5247 GB, free: 10.14 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.586e-05/0.4398, allocations: 11.98 kB / 0.5248 GB, free: 10.13 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.4398, allocations: 4.75 kB / 0.5248 GB, free: 10.12 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.162e-06/0.4398, allocations: 3.984 kB / 0.5248 GB, free: 10.12 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006804/0.4405, allocations: 0.6716 MB / 0.5254 GB, free: 9.398 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.4405, allocations: 0 / 0.5254 GB, free: 9.398 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002092/0.4407, allocations: 55.89 kB / 0.5255 GB, free: 9.348 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.4408, allocations: 3.938 kB / 0.5255 GB, free: 9.344 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.692e-05/0.4408, allocations: 11.95 kB / 0.5255 GB, free: 9.332 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.4408, allocations: 5.484 kB / 0.5255 GB, free: 9.328 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.4408, allocations: 0 / 0.5255 GB, free: 9.328 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007989/0.4416, allocations: 0.6349 MB / 0.5261 GB, free: 8.676 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001828/0.4418, allocations: 199.9 kB / 0.5263 GB, free: 8.461 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.247e-05/0.4419, allocations: 4 kB / 0.5263 GB, free: 8.457 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002237/0.4421, allocations: 35.91 kB / 0.5263 GB, free: 8.422 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.589e-05/0.4422, allocations: 19.97 kB / 0.5264 GB, free: 8.402 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.576e-05/0.4422, allocations: 8 kB / 0.5264 GB, free: 8.395 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003404/0.4425, allocations: 338.8 kB / 0.5267 GB, free: 8.062 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4425, allocations: 0 / 0.5267 GB, free: 8.062 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.005075/0.4476, allocations: 0.8433 MB / 0.5275 GB, free: 7.219 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 (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.00804/0.4557, allocations: 2.08 MB / 0.5295 GB, free: 5.117 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0008854/0.4566, allocations: 369 kB / 0.5299 GB, free: 4.758 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 6.623e-06/0.4566, allocations: 4 kB / 0.5299 GB, free: 4.754 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003923/0.457, allocations: 264.7 kB / 0.5302 GB, free: 4.496 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00104/0.4581, allocations: 190.2 kB / 0.5303 GB, free: 4.316 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007108/0.4652, allocations: 2.839 MB / 0.5331 GB, free: 1.383 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005057/0.4657, allocations: 0.8839 MB / 0.534 GB, free: 488 kB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004934/0.4662, allocations: 179 kB / 0.5341 GB, free: 312 kB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002295/0.4665, allocations: 187.4 kB / 0.5343 GB, free: 124 kB / 398.1 MB Notification: Performance of SimCode: time 1.233e-06/0.4665, allocations: 3.938 kB / 0.5343 GB, free: 120 kB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06279/0.5293, allocations: 40.19 MB / 0.5736 GB, free: 7.941 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002033/0.5295, allocations: 248.3 kB / 0.5738 GB, free: 7.68 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.572/4.102, allocations: 0 / 0.5738 GB, free: 7.68 MB / 446.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEntropy_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEntropy.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy_res.mat does not exist to compare? outputFormat=mat