Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.conf.json 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 4.0.0+maint.om/package.mo", uses=false) 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/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEntropy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEntropy",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00152/0.00152, allocations: 173.3 kB / 8.739 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.398/1.398, allocations: 221.5 MB / 230.7 MB, free: 7.516 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009855/0.0009856, allocations: 97.91 kB / 281.6 MB, free: 5.254 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2107/0.2107, allocations: 44.16 MB / 376.5 MB, free: 3.016 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.832e-05/1.833e-05, allocations: 4.219 kB / 444.7 MB, free: 15.12 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1359/0.1359, allocations: 61.92 MB / 0.4948 GB, free: 1.137 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.923/8.059, allocations: 2.759 GB / 3.254 GB, free: 115 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002665/8.059, allocations: 80.12 kB / 3.254 GB, free: 115 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.033/9.092, allocations: 313 MB / 3.56 GB, free: 57.81 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.292e-06/9.092, allocations: 0 / 3.56 GB, free: 57.81 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 2.259e-05/9.093, allocations: 8 kB / 3.56 GB, free: 57.8 MB / 0.5261 GB 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.005874/9.098, allocations: 1.318 MB / 3.561 GB, free: 56.44 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 6.795e-05/9.098, allocations: 15.98 kB / 3.561 GB, free: 56.43 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001837/9.1, allocations: 200.1 kB / 3.561 GB, free: 56.23 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005867/9.101, allocations: 337.1 kB / 3.561 GB, free: 55.86 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.921e-05/9.101, allocations: 16 kB / 3.561 GB, free: 55.84 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.613e-05/9.101, allocations: 12 kB / 3.561 GB, free: 55.83 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004428/9.101, allocations: 229 kB / 3.562 GB, free: 55.61 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004593/9.102, allocations: 329.9 kB / 3.562 GB, free: 55.25 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.448e-05/9.102, allocations: 0 / 3.562 GB, free: 55.25 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.237e-05/9.102, allocations: 0 / 3.562 GB, free: 55.25 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.153e-05/9.102, allocations: 8 kB / 3.562 GB, free: 55.24 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002772/9.105, allocations: 2.337 MB / 3.564 GB, free: 52.71 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003498/9.105, allocations: 150.5 kB / 3.564 GB, free: 52.55 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.151e-05/9.105, allocations: 56.86 kB / 3.564 GB, free: 52.5 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02727/9.133, allocations: 16.46 MB / 3.58 GB, free: 34.04 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.621e-05/9.133, allocations: 38.56 kB / 3.581 GB, free: 34 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=15): time 2.134e-06/9.133, allocations: 0 / 3.581 GB, free: 34 MB / 0.5261 GB Notification: Performance of matching and sorting (n=15): time 0.001106/9.134, allocations: 311.1 kB / 3.581 GB, free: 33.69 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.953e-05/9.134, allocations: 106.8 kB / 3.581 GB, free: 33.56 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002319/9.134, allocations: 222.2 kB / 3.581 GB, free: 33.34 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.146e-05/9.134, allocations: 25.7 kB / 3.581 GB, free: 33.31 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 9.125e-05/9.134, allocations: 215.6 kB / 3.581 GB, free: 33.09 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.844e-05/9.134, allocations: 47.3 kB / 3.581 GB, free: 33.04 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.233e-05/9.134, allocations: 0 / 3.581 GB, free: 33.04 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 6.177e-05/9.134, allocations: 334.8 kB / 3.582 GB, free: 32.71 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.555e-05/9.134, allocations: 51.98 kB / 3.582 GB, free: 32.66 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001163/9.134, allocations: 164.7 kB / 3.582 GB, free: 32.44 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002491/9.135, allocations: 83.92 kB / 3.582 GB, free: 32.36 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/9.135, allocations: 7.938 kB / 3.582 GB, free: 32.35 MB / 0.5261 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004458/9.135, allocations: 246.8 kB / 3.582 GB, free: 32.11 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.939e-05/9.135, allocations: 13.81 kB / 3.582 GB, free: 32.09 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.488e-06/9.135, allocations: 11.94 kB / 3.582 GB, free: 32.08 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.194e-05/9.135, allocations: 4 kB / 3.582 GB, free: 32.08 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002618/9.136, allocations: 75.89 kB / 3.582 GB, free: 32 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.904e-06/9.136, allocations: 7.953 kB / 3.582 GB, free: 32 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002715/9.136, allocations: 47.72 kB / 3.582 GB, free: 31.95 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.203e-05/9.136, allocations: 12 kB / 3.582 GB, free: 31.94 MB / 0.5261 GB 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 () * 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 7.894e-05/9.136, allocations: 112.9 kB / 3.583 GB, free: 31.82 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003167/9.136, allocations: 169.2 kB / 3.583 GB, free: 31.65 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.192e-05/9.136, allocations: 23.72 kB / 3.583 GB, free: 31.62 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009102/9.137, allocations: 1.056 MB / 3.584 GB, free: 30.56 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.291e-05/9.137, allocations: 11.98 kB / 3.584 GB, free: 30.55 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.309e-06/9.137, allocations: 0 / 3.584 GB, free: 30.55 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/9.137, allocations: 7.984 kB / 3.584 GB, free: 30.54 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005055/9.138, allocations: 0.5902 MB / 3.584 GB, free: 29.91 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/9.138, allocations: 0 / 3.584 GB, free: 29.91 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002132/9.138, allocations: 55.89 kB / 3.584 GB, free: 29.86 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.406e-06/9.138, allocations: 0 / 3.584 GB, free: 29.86 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.568e-05/9.138, allocations: 11.95 kB / 3.584 GB, free: 29.85 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/9.138, allocations: 4 kB / 3.584 GB, free: 29.84 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/9.138, allocations: 3.938 kB / 3.584 GB, free: 29.84 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004921/9.139, allocations: 0.5399 MB / 3.585 GB, free: 29.28 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001173/9.139, allocations: 199.9 kB / 3.585 GB, free: 29.07 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.016e-05/9.139, allocations: 7.984 kB / 3.585 GB, free: 29.06 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002189/9.139, allocations: 27.89 kB / 3.585 GB, free: 29.03 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.043e-05/9.139, allocations: 15.97 kB / 3.585 GB, free: 29.02 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.537e-05/9.139, allocations: 11.98 kB / 3.585 GB, free: 29 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0002311/9.139, allocations: 275 kB / 3.585 GB, free: 28.73 MB / 0.5261 GB Notification: Performance of sort global known variables: time 9.11e-07/9.139, allocations: 0 / 3.585 GB, free: 28.73 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.00429/9.144, allocations: 0.8546 MB / 3.586 GB, free: 27.88 MB / 0.5261 GB 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 () * 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.008102/9.152, allocations: 2.363 MB / 3.589 GB, free: 25.59 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0004936/9.152, allocations: 265.2 kB / 3.589 GB, free: 25.33 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.379e-06/9.152, allocations: 0 / 3.589 GB, free: 25.33 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001889/9.152, allocations: 216.7 kB / 3.589 GB, free: 25.12 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008697/9.153, allocations: 138.6 kB / 3.589 GB, free: 24.98 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003943/9.157, allocations: 1.074 MB / 3.59 GB, free: 23.88 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002937/9.158, allocations: 0.8793 MB / 3.591 GB, free: 22.97 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0003332/9.158, allocations: 160.5 kB / 3.591 GB, free: 22.82 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001899/9.158, allocations: 175.4 kB / 3.591 GB, free: 22.64 MB / 0.5261 GB Notification: Performance of SimCode: time 1.192e-06/9.158, allocations: 0 / 3.591 GB, free: 22.64 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4171/9.575, allocations: 30.43 MB / 3.621 GB, free: 87 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001633/9.576, allocations: 188.9 kB / 3.621 GB, free: 86.81 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.118/12.69, allocations: 1.375 kB / 3.621 GB, free: 86.81 MB / 0.5261 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEntropy_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEntropy.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy_res.mat does not exist to compare? outputFormat=mat