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.002597/0.002598, allocations: 181 kB / 17.06 MB, free: 5.094 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.476/1.476, allocations: 223.2 MB / 241 MB, free: 11.91 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009253/0.0009252, allocations: 99.95 kB / 292.1 MB, free: 10.93 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.4212/0.4212, allocations: 44.21 MB / 387.5 MB, free: 39.09 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003547/0.0003546, allocations: 12 kB / 460 MB, free: 1.668 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4559/0.4562, allocations: 61.9 MB / 0.5096 GB, free: 37.95 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.712/8.168, allocations: 2.76 GB / 3.269 GB, free: 101.1 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002901/8.169, allocations: 97.59 kB / 3.269 GB, free: 101 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.392/9.561, allocations: 317.7 MB / 3.58 GB, free: 65.33 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.625e-06/9.561, allocations: 2.953 kB / 3.58 GB, free: 65.33 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 2.209e-05/9.561, allocations: 10.42 kB / 3.58 GB, free: 65.33 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.00553/9.567, allocations: 1.353 MB / 3.581 GB, free: 64.78 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.674e-05/9.567, allocations: 13.16 kB / 3.581 GB, free: 64.78 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.014e-05/9.567, allocations: 63.91 kB / 3.581 GB, free: 64.74 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001581/9.569, allocations: 197.1 kB / 3.581 GB, free: 64.73 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004785/9.569, allocations: 345.7 kB / 3.582 GB, free: 64.51 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.129e-05/9.569, allocations: 21.62 kB / 3.582 GB, free: 64.51 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.775e-05/9.569, allocations: 29.12 kB / 3.582 GB, free: 64.51 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00109/9.57, allocations: 496.1 kB / 3.582 GB, free: 64.39 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.422e-05/9.57, allocations: 2.688 kB / 3.582 GB, free: 64.39 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.537e-05/9.57, allocations: 19.02 kB / 3.582 GB, free: 64.39 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.106e-05/9.57, allocations: 12.62 kB / 3.582 GB, free: 64.39 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001057/9.571, allocations: 431.7 kB / 3.583 GB, free: 64.39 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002405/9.574, allocations: 2.399 MB / 3.585 GB, free: 62.62 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001029/9.575, allocations: 327.1 kB / 3.585 GB, free: 62.6 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02738/9.602, allocations: 16.39 MB / 3.601 GB, free: 52.46 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.657e-05/9.602, allocations: 44.2 kB / 3.601 GB, free: 52.43 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=15): time 1.973e-06/9.602, allocations: 0 / 3.601 GB, free: 52.43 MB / 0.5261 GB Notification: Performance of matching and sorting (n=15): time 0.001896/9.604, allocations: 0.534 MB / 3.602 GB, free: 52.38 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.777e-05/9.604, allocations: 106.7 kB / 3.602 GB, free: 52.25 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003098/9.605, allocations: 286.2 kB / 3.602 GB, free: 52.15 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.422e-05/9.605, allocations: 29.02 kB / 3.602 GB, free: 52.12 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001064/9.605, allocations: 205 kB / 3.602 GB, free: 52 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.772e-05/9.605, allocations: 53.73 kB / 3.602 GB, free: 51.98 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.167e-05/9.605, allocations: 7.375 kB / 3.602 GB, free: 51.98 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.647e-05/9.605, allocations: 338.4 kB / 3.603 GB, free: 51.66 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000239/9.605, allocations: 86.09 kB / 3.603 GB, free: 51.66 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002966/9.605, allocations: 221.8 kB / 3.603 GB, free: 51.52 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002615/9.606, allocations: 114.9 kB / 3.603 GB, free: 51.52 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/9.606, allocations: 0 / 3.603 GB, free: 51.52 MB / 0.5261 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006856/9.606, allocations: 336.6 kB / 3.604 GB, free: 51.47 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.073e-05/9.606, allocations: 9.891 kB / 3.604 GB, free: 51.47 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/9.606, allocations: 3.875 kB / 3.604 GB, free: 51.47 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.062e-05/9.606, allocations: 6.75 kB / 3.604 GB, free: 51.47 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002662/9.607, allocations: 79.62 kB / 3.604 GB, free: 51.47 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.21e-05/9.607, allocations: 13.89 kB / 3.604 GB, free: 51.47 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002966/9.607, allocations: 51.19 kB / 3.604 GB, free: 51.46 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.489e-05/9.607, allocations: 14.62 kB / 3.604 GB, free: 51.46 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 () * 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.0001495/9.607, allocations: 156.6 kB / 3.604 GB, free: 51.35 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.363e-05/9.607, allocations: 31.53 kB / 3.604 GB, free: 51.33 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001272/9.609, allocations: 1.138 MB / 3.605 GB, free: 51.18 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.369e-05/9.609, allocations: 12.52 kB / 3.605 GB, free: 51.18 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/9.609, allocations: 0 / 3.605 GB, free: 51.18 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/9.609, allocations: 3.891 kB / 3.605 GB, free: 51.18 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005633/9.609, allocations: 0.6532 MB / 3.606 GB, free: 50.97 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/9.609, allocations: 3.969 kB / 3.606 GB, free: 50.97 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002071/9.609, allocations: 58.77 kB / 3.606 GB, free: 50.97 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.711e-06/9.609, allocations: 6.359 kB / 3.606 GB, free: 50.97 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.415e-05/9.609, allocations: 6.484 kB / 3.606 GB, free: 50.97 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.517e-06/9.609, allocations: 10.61 kB / 3.606 GB, free: 50.96 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/9.609, allocations: 0 / 3.606 GB, free: 50.96 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006991/9.61, allocations: 0.6169 MB / 3.606 GB, free: 50.78 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00013/9.61, allocations: 199.8 kB / 3.606 GB, free: 50.65 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.986e-05/9.61, allocations: 12.19 kB / 3.607 GB, free: 50.65 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002293/9.611, allocations: 27.89 kB / 3.607 GB, free: 50.65 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.361e-05/9.611, allocations: 21.47 kB / 3.607 GB, free: 50.65 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.51e-05/9.611, allocations: 10.72 kB / 3.607 GB, free: 50.65 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0003052/9.611, allocations: 336.1 kB / 3.607 GB, free: 50.56 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.31e-07/9.611, allocations: 0 / 3.607 GB, free: 50.56 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.004267/9.615, allocations: 0.8698 MB / 3.608 GB, free: 50.46 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 () * 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.007165/9.622, allocations: 2.366 MB / 3.61 GB, free: 49.6 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.000847/9.623, allocations: 348.4 kB / 3.61 GB, free: 49.59 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.028e-06/9.623, allocations: 5.906 kB / 3.61 GB, free: 49.59 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0003341/9.624, allocations: 254.5 kB / 3.611 GB, free: 49.59 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009384/9.625, allocations: 182.8 kB / 3.611 GB, free: 49.58 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006676/9.631, allocations: 5.086 MB / 3.616 GB, free: 46.16 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003463/9.632, allocations: 0.8927 MB / 3.617 GB, free: 45.46 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0004421/9.632, allocations: 154.8 kB / 3.617 GB, free: 45.45 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002278/9.632, allocations: 179.1 kB / 3.617 GB, free: 45.45 MB / 0.5261 GB Notification: Performance of SimCode: time 1.493e-06/9.632, allocations: 0 / 3.617 GB, free: 45.45 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07277/9.705, allocations: 35.25 MB / 3.651 GB, free: 44.68 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001683/9.705, allocations: 231.6 kB / 3.652 GB, free: 44.44 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.228/12.93, allocations: 6.672 kB / 3.652 GB, free: 44.43 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