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/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_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/Complex 3.2.3+maint.om/package.mo): time 0.001304/0.001304, allocations: 182 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.798/1.798, allocations: 205.4 MB / 221.9 MB, free: 13.84 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.0009599/0.0009598, allocations: 90.88 kB / 270.2 MB, free: 13.37 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.2537/0.2537, allocations: 43.56 MB / 362.1 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003473/0.0003473, allocations: 8 kB / 431.5 MB, free: 19.51 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1463/0.1467, allocations: 58.86 MB / 490.3 MB, free: 8.578 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.637/7.784, allocations: 2.754 GB / 3.233 GB, free: 87.8 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002363/7.784, allocations: 89.02 kB / 3.233 GB, free: 87.76 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.407/9.191, allocations: 314.4 MB / 3.54 GB, free: 73.14 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.245e-06/9.191, allocations: 0 / 3.54 GB, free: 73.14 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 2.325e-05/9.191, allocations: 9.625 kB / 3.54 GB, free: 73.14 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.005601/9.197, allocations: 1.355 MB / 3.542 GB, free: 72.59 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.092e-05/9.197, allocations: 11.05 kB / 3.542 GB, free: 72.59 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.054e-05/9.197, allocations: 63.73 kB / 3.542 GB, free: 72.55 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001686/9.199, allocations: 198.4 kB / 3.542 GB, free: 72.54 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005663/9.199, allocations: 334.6 kB / 3.542 GB, free: 72.32 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.945e-05/9.199, allocations: 23.69 kB / 3.542 GB, free: 72.32 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.596e-05/9.199, allocations: 23.5 kB / 3.542 GB, free: 72.32 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001292/9.201, allocations: 498 kB / 3.543 GB, free: 72.2 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.457e-05/9.201, allocations: 4.641 kB / 3.543 GB, free: 72.2 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.913e-05/9.201, allocations: 22.89 kB / 3.543 GB, free: 72.2 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.174e-05/9.201, allocations: 6.344 kB / 3.543 GB, free: 72.2 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001268/9.202, allocations: 433.6 kB / 3.543 GB, free: 72.2 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003074/9.205, allocations: 2.408 MB / 3.546 GB, free: 70.44 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001156/9.206, allocations: 322.9 kB / 3.546 GB, free: 70.41 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03036/9.237, allocations: 16.39 MB / 3.562 GB, free: 60.27 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.62e-05/9.237, allocations: 33.81 kB / 3.562 GB, free: 60.23 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=15): time 3.767e-06/9.237, allocations: 3.469 kB / 3.562 GB, free: 60.23 MB / 0.5105 GB Notification: Performance of matching and sorting (n=15): time 0.002051/9.239, allocations: 0.5353 MB / 3.562 GB, free: 60.18 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.309e-05/9.239, allocations: 102.8 kB / 3.563 GB, free: 60.06 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003385/9.239, allocations: 284.4 kB / 3.563 GB, free: 59.96 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.379e-05/9.239, allocations: 28.11 kB / 3.563 GB, free: 59.93 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001388/9.239, allocations: 206 kB / 3.563 GB, free: 59.81 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 4.498e-05/9.239, allocations: 55.27 kB / 3.563 GB, free: 59.79 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.258e-05/9.239, allocations: 5.469 kB / 3.563 GB, free: 59.79 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 9.97e-05/9.239, allocations: 342.1 kB / 3.563 GB, free: 59.47 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002584/9.24, allocations: 87.92 kB / 3.564 GB, free: 59.47 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003262/9.24, allocations: 218.2 kB / 3.564 GB, free: 59.33 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002978/9.24, allocations: 120.6 kB / 3.564 GB, free: 59.33 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.378e-06/9.24, allocations: 1.031 kB / 3.564 GB, free: 59.33 MB / 0.5105 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007227/9.241, allocations: 343.2 kB / 3.564 GB, free: 59.28 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.325e-05/9.241, allocations: 6.875 kB / 3.564 GB, free: 59.28 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.193e-05/9.241, allocations: 5.531 kB / 3.564 GB, free: 59.28 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.484e-05/9.241, allocations: 5.5 kB / 3.564 GB, free: 59.28 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002908/9.242, allocations: 74.53 kB / 3.564 GB, free: 59.28 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.372e-05/9.242, allocations: 6.375 kB / 3.564 GB, free: 59.28 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003277/9.242, allocations: 59.55 kB / 3.564 GB, free: 59.27 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.644e-05/9.242, allocations: 15 kB / 3.564 GB, free: 59.27 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 () * 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.0001678/9.242, allocations: 159 kB / 3.565 GB, free: 59.15 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.467e-05/9.242, allocations: 34.11 kB / 3.565 GB, free: 59.13 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001288/9.243, allocations: 1.129 MB / 3.566 GB, free: 58.98 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.631e-05/9.243, allocations: 14.69 kB / 3.566 GB, free: 58.98 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/9.243, allocations: 0 / 3.566 GB, free: 58.98 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/9.243, allocations: 0 / 3.566 GB, free: 58.98 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006205/9.244, allocations: 0.6602 MB / 3.566 GB, free: 58.77 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/9.244, allocations: 0 / 3.566 GB, free: 58.77 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002136/9.244, allocations: 65.95 kB / 3.566 GB, free: 58.77 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.859e-06/9.244, allocations: 0 / 3.566 GB, free: 58.77 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.638e-05/9.244, allocations: 9.359 kB / 3.566 GB, free: 58.77 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/9.244, allocations: 8.5 kB / 3.566 GB, free: 58.77 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.502e-06/9.244, allocations: 0 / 3.566 GB, free: 58.77 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007009/9.245, allocations: 0.6261 MB / 3.567 GB, free: 58.58 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001442/9.245, allocations: 199.3 kB / 3.567 GB, free: 58.45 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.132e-05/9.245, allocations: 3.062 kB / 3.567 GB, free: 58.45 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002369/9.246, allocations: 30.77 kB / 3.567 GB, free: 58.45 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.297e-05/9.246, allocations: 27.09 kB / 3.567 GB, free: 58.45 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.402e-05/9.246, allocations: 3.938 kB / 3.567 GB, free: 58.45 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0003023/9.246, allocations: 333.4 kB / 3.568 GB, free: 58.36 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.1e-07/9.246, allocations: 3.938 kB / 3.568 GB, free: 58.36 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.004672/9.251, allocations: 0.8754 MB / 3.568 GB, free: 58.25 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 () * 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.008098/9.259, allocations: 2.349 MB / 3.571 GB, free: 57.39 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0008995/9.26, allocations: 352.6 kB / 3.571 GB, free: 57.38 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 5.57e-06/9.26, allocations: 0 / 3.571 GB, free: 57.38 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0003825/9.26, allocations: 256.4 kB / 3.571 GB, free: 57.38 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00113/9.261, allocations: 186.2 kB / 3.571 GB, free: 57.38 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00768/9.269, allocations: 5.074 MB / 3.576 GB, free: 53.96 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003719/9.269, allocations: 0.8859 MB / 3.577 GB, free: 53.26 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0004671/9.27, allocations: 162.3 kB / 3.577 GB, free: 53.25 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002137/9.27, allocations: 180.2 kB / 3.578 GB, free: 53.24 MB / 0.5105 GB Notification: Performance of SimCode: time 1.513e-06/9.27, allocations: 1.25 kB / 3.578 GB, free: 53.24 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07104/9.341, allocations: 35.22 MB / 3.612 GB, free: 52.32 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000237/9.341, allocations: 228.1 kB / 3.612 GB, free: 52.08 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.139/12.48, allocations: 0 / 3.612 GB, free: 52.08 MB / 0.5105 GB (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) 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