Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEntropy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEntropy",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001594/0.001593, allocations: 181.3 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.03/2.03, allocations: 205.2 MB / 219.4 MB, free: 14.21 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001112/0.001112, allocations: 86.7 kB / 267.5 MB, free: 14.05 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4185/0.4185, allocations: 43.48 MB / 359.1 MB, free: 12.25 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.425e-05/3.442e-05, allocations: 0 / 425.4 MB, free: 23.27 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1296/0.1297, allocations: 58.85 MB / 484.2 MB, free: 12.38 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.289/8.418, allocations: 2.754 GB / 3.227 GB, free: 82.64 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003103/8.419, allocations: 87.58 kB / 3.227 GB, free: 82.61 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.813/10.23, allocations: 313.5 MB / 3.533 GB, free: 78.43 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.683e-06/10.23, allocations: 0 / 3.533 GB, free: 78.43 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 3.774e-05/10.23, allocations: 10.36 kB / 3.533 GB, free: 78.43 MB / 0.5105 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.006327/10.24, allocations: 1.323 MB / 3.535 GB, free: 77.88 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 6.032e-05/10.24, allocations: 9.281 kB / 3.535 GB, free: 77.88 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001198/10.24, allocations: 59.48 kB / 3.535 GB, free: 77.84 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00249/10.24, allocations: 199.7 kB / 3.535 GB, free: 77.83 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009858/10.24, allocations: 337.2 kB / 3.535 GB, free: 77.62 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.017e-05/10.24, allocations: 22.53 kB / 3.535 GB, free: 77.62 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.224e-05/10.24, allocations: 30.66 kB / 3.535 GB, free: 77.62 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001797/10.24, allocations: 486 kB / 3.536 GB, free: 77.5 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.136e-05/10.24, allocations: 4.969 kB / 3.536 GB, free: 77.5 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.986e-05/10.24, allocations: 14.45 kB / 3.536 GB, free: 77.49 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.123e-05/10.24, allocations: 6.375 kB / 3.536 GB, free: 77.49 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001585/10.25, allocations: 379.4 kB / 3.536 GB, free: 77.49 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004403/10.25, allocations: 2.402 MB / 3.539 GB, free: 75.73 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001327/10.25, allocations: 296.2 kB / 3.539 GB, free: 75.7 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002079/10.25, allocations: 61.86 kB / 3.539 GB, free: 75.7 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05223/10.3, allocations: 16.45 MB / 3.555 GB, free: 65.55 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.343e-05/10.3, allocations: 44.48 kB / 3.555 GB, free: 65.52 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=15): time 2.766e-06/10.3, allocations: 0 / 3.555 GB, free: 65.52 MB / 0.5105 GB Notification: Performance of matching and sorting (n=15): time 0.00212/10.31, allocations: 432.5 kB / 3.555 GB, free: 65.47 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.313e-05/10.31, allocations: 106.3 kB / 3.556 GB, free: 65.34 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004398/10.31, allocations: 283.8 kB / 3.556 GB, free: 65.23 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 3.39e-05/10.31, allocations: 29.39 kB / 3.556 GB, free: 65.2 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001383/10.31, allocations: 256.2 kB / 3.556 GB, free: 65.02 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 5.925e-05/10.31, allocations: 55.38 kB / 3.556 GB, free: 65 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.79e-05/10.31, allocations: 1.219 kB / 3.556 GB, free: 65 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 7.031e-05/10.31, allocations: 326.4 kB / 3.556 GB, free: 64.68 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001663/10.31, allocations: 50.12 kB / 3.557 GB, free: 64.68 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002463/10.31, allocations: 181.9 kB / 3.557 GB, free: 64.54 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002025/10.31, allocations: 86.48 kB / 3.557 GB, free: 64.54 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.528e-06/10.31, allocations: 3.594 kB / 3.557 GB, free: 64.54 MB / 0.5105 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006011/10.31, allocations: 240.2 kB / 3.557 GB, free: 64.5 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 4.106e-05/10.31, allocations: 7.062 kB / 3.557 GB, free: 64.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.104e-05/10.31, allocations: 3.469 kB / 3.557 GB, free: 64.5 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.405e-05/10.31, allocations: 6.344 kB / 3.557 GB, free: 64.5 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005274/10.31, allocations: 82.77 kB / 3.557 GB, free: 64.5 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.34e-05/10.31, allocations: 6.625 kB / 3.557 GB, free: 64.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000539/10.31, allocations: 52.75 kB / 3.557 GB, free: 64.49 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.576e-05/10.31, allocations: 15.25 kB / 3.557 GB, free: 64.49 MB / 0.5105 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 0.0001153/10.31, allocations: 119.7 kB / 3.557 GB, free: 64.38 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.906e-05/10.31, allocations: 37.23 kB / 3.557 GB, free: 64.36 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00139/10.31, allocations: 1.062 MB / 3.558 GB, free: 64.2 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.183e-05/10.31, allocations: 10.94 kB / 3.558 GB, free: 64.2 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.733e-06/10.31, allocations: 9.922 kB / 3.558 GB, free: 64.2 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/10.31, allocations: 0 / 3.558 GB, free: 64.2 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008766/10.31, allocations: 0.6608 MB / 3.559 GB, free: 63.99 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.568e-06/10.31, allocations: 3.75 kB / 3.559 GB, free: 63.99 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004646/10.31, allocations: 58.19 kB / 3.559 GB, free: 63.99 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.273e-06/10.31, allocations: 3.875 kB / 3.559 GB, free: 63.99 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.952e-05/10.31, allocations: 3.375 kB / 3.559 GB, free: 63.99 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.967e-06/10.31, allocations: 3.469 kB / 3.559 GB, free: 63.99 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/10.31, allocations: 3.031 kB / 3.559 GB, free: 63.99 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007374/10.31, allocations: 0.5565 MB / 3.56 GB, free: 63.8 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002228/10.31, allocations: 198.3 kB / 3.56 GB, free: 63.67 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.202e-05/10.31, allocations: 6.75 kB / 3.56 GB, free: 63.67 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004343/10.31, allocations: 30.73 kB / 3.56 GB, free: 63.67 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.843e-05/10.31, allocations: 19.86 kB / 3.56 GB, free: 63.67 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.454e-05/10.31, allocations: 7.125 kB / 3.56 GB, free: 63.67 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0005034/10.31, allocations: 332.2 kB / 3.56 GB, free: 63.58 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.2e-07/10.31, allocations: 3.25 kB / 3.56 GB, free: 63.58 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.004796/10.32, allocations: 0.8727 MB / 3.561 GB, free: 63.49 MB / 0.5105 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.009896/10.33, allocations: 2.287 MB / 3.563 GB, free: 62.62 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0007144/10.33, allocations: 285.6 kB / 3.564 GB, free: 62.61 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.566e-06/10.33, allocations: 0 / 3.564 GB, free: 62.61 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0003092/10.33, allocations: 224.7 kB / 3.564 GB, free: 62.61 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001588/10.33, allocations: 176.9 kB / 3.564 GB, free: 62.6 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004769/10.34, allocations: 1.107 MB / 3.565 GB, free: 62.21 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003589/10.34, allocations: 0.8877 MB / 3.566 GB, free: 61.52 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002876/10.34, allocations: 178.4 kB / 3.566 GB, free: 61.51 MB / 0.5105 GB Notification: Performance of SimCode: time 1.242e-06/10.34, allocations: 0 / 3.566 GB, free: 61.51 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.528/13.87, allocations: 25.52 MB / 3.591 GB, free: 60.03 MB / 0.5105 GB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEntropy_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEntropy.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy_res.mat does not exist to compare? outputFormat=mat