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.001456/0.001462, allocations: 178.4 kB / 8.362 MB, free: 0.7148 MB / 5.871 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.3 MB / 214.1 MB, free: 14.15 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001111/0.001111, allocations: 87.53 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3197/0.3197, allocations: 43.48 MB / 353.6 MB, free: 2.285 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.604e-05/2.646e-05, allocations: 3.984 kB / 418.3 MB, free: 40.95 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4289/0.4289, allocations: 58.85 MB / 477.2 MB, free: 5.176 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.189/8.618, allocations: 2.754 GB / 3.22 GB, free: 33.3 MB / 0.4952 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000429/8.618, allocations: 87.95 kB / 3.22 GB, free: 33.26 MB / 0.4952 GB Notification: Performance of FrontEnd - DAE generated: time 1.877/10.5, allocations: 309.7 MB / 3.522 GB, free: 75.78 MB / 0.4952 GB Notification: Performance of FrontEnd: time 2.104e-06/10.5, allocations: 3.312 kB / 3.522 GB, free: 75.78 MB / 0.4952 GB Notification: Performance of Transformations before backend: time 3.364e-05/10.5, allocations: 10.91 kB / 3.522 GB, free: 75.77 MB / 0.4952 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.006314/10.5, allocations: 1.313 MB / 3.523 GB, free: 75.06 MB / 0.4952 GB Notification: Performance of prepare preOptimizeDAE: time 5.047e-05/10.5, allocations: 11.81 kB / 3.524 GB, free: 75.06 MB / 0.4952 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002329/10.5, allocations: 198 kB / 3.524 GB, free: 75.05 MB / 0.4952 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007757/10.51, allocations: 337.9 kB / 3.524 GB, free: 74.82 MB / 0.4952 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.76e-05/10.51, allocations: 11.41 kB / 3.524 GB, free: 74.82 MB / 0.4952 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.182e-05/10.51, allocations: 16.08 kB / 3.524 GB, free: 74.82 MB / 0.4952 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006018/10.51, allocations: 230.2 kB / 3.524 GB, free: 74.82 MB / 0.4952 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006366/10.51, allocations: 328.9 kB / 3.525 GB, free: 74.68 MB / 0.4952 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.71e-05/10.51, allocations: 3.844 kB / 3.525 GB, free: 74.68 MB / 0.4952 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.9e-05/10.51, allocations: 0 / 3.525 GB, free: 74.68 MB / 0.4952 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.385e-05/10.51, allocations: 9.781 kB / 3.525 GB, free: 74.68 MB / 0.4952 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004092/10.51, allocations: 2.334 MB / 3.527 GB, free: 72.94 MB / 0.4952 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000455/10.51, allocations: 152.8 kB / 3.527 GB, free: 72.91 MB / 0.4952 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001464/10.51, allocations: 65.09 kB / 3.527 GB, free: 72.9 MB / 0.4952 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05054/10.56, allocations: 16.46 MB / 3.543 GB, free: 62.74 MB / 0.4952 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.934e-05/10.56, allocations: 41.91 kB / 3.543 GB, free: 62.7 MB / 0.4952 GB Notification: Performance of pre-optimization done (n=15): time 2.906e-06/10.56, allocations: 0 / 3.543 GB, free: 62.7 MB / 0.4952 GB Notification: Performance of matching and sorting (n=15): time 0.001551/10.56, allocations: 301.8 kB / 3.543 GB, free: 62.66 MB / 0.4952 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.28e-05/10.56, allocations: 109.8 kB / 3.544 GB, free: 62.53 MB / 0.4952 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003613/10.56, allocations: 226 kB / 3.544 GB, free: 62.43 MB / 0.4952 GB Notification: Performance of collectPreVariables (initialization): time 3.09e-05/10.56, allocations: 28.17 kB / 3.544 GB, free: 62.4 MB / 0.4952 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001254/10.56, allocations: 267.7 kB / 3.544 GB, free: 62.2 MB / 0.4952 GB Notification: Performance of collectInitialBindings (initialization): time 5.178e-05/10.56, allocations: 54.14 kB / 3.544 GB, free: 62.16 MB / 0.4952 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.706e-05/10.56, allocations: 0 / 3.544 GB, free: 62.16 MB / 0.4952 GB Notification: Performance of setup shared object (initialization): time 6.853e-05/10.56, allocations: 322.7 kB / 3.544 GB, free: 61.84 MB / 0.4952 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001301/10.56, allocations: 48.62 kB / 3.544 GB, free: 61.84 MB / 0.4952 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002022/10.56, allocations: 173.9 kB / 3.545 GB, free: 61.7 MB / 0.4952 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004033/10.57, allocations: 85.92 kB / 3.545 GB, free: 61.69 MB / 0.4952 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.729e-06/10.57, allocations: 0 / 3.545 GB, free: 61.69 MB / 0.4952 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007301/10.57, allocations: 232.6 kB / 3.545 GB, free: 61.64 MB / 0.4952 GB Notification: Performance of prepare postOptimizeDAE: time 2.025e-05/10.57, allocations: 3.938 kB / 3.545 GB, free: 61.64 MB / 0.4952 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.458e-06/10.57, allocations: 3.844 kB / 3.545 GB, free: 61.64 MB / 0.4952 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.459e-05/10.57, allocations: 7.719 kB / 3.545 GB, free: 61.64 MB / 0.4952 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005023/10.57, allocations: 77.64 kB / 3.545 GB, free: 61.63 MB / 0.4952 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.457e-05/10.57, allocations: 7.312 kB / 3.545 GB, free: 61.63 MB / 0.4952 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004662/10.57, allocations: 47.75 kB / 3.545 GB, free: 61.62 MB / 0.4952 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.61e-05/10.57, allocations: 11.5 kB / 3.545 GB, free: 61.62 MB / 0.4952 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.0001136/10.57, allocations: 123.3 kB / 3.545 GB, free: 61.5 MB / 0.4952 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005313/10.57, allocations: 160.8 kB / 3.545 GB, free: 61.45 MB / 0.4952 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.718e-05/10.57, allocations: 22.59 kB / 3.545 GB, free: 61.44 MB / 0.4952 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001542/10.57, allocations: 1.057 MB / 3.546 GB, free: 61.12 MB / 0.4952 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-05/10.57, allocations: 11.67 kB / 3.546 GB, free: 61.12 MB / 0.4952 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.206e-06/10.57, allocations: 3.891 kB / 3.546 GB, free: 61.12 MB / 0.4952 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.69e-06/10.57, allocations: 0 / 3.546 GB, free: 61.12 MB / 0.4952 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008221/10.57, allocations: 0.5978 MB / 3.547 GB, free: 60.75 MB / 0.4952 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.55e-06/10.57, allocations: 3.938 kB / 3.547 GB, free: 60.75 MB / 0.4952 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000428/10.57, allocations: 58.62 kB / 3.547 GB, free: 60.75 MB / 0.4952 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.805e-06/10.57, allocations: 3.719 kB / 3.547 GB, free: 60.75 MB / 0.4952 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.707e-05/10.57, allocations: 0 / 3.547 GB, free: 60.75 MB / 0.4952 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.907e-06/10.57, allocations: 0 / 3.547 GB, free: 60.75 MB / 0.4952 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.048e-06/10.57, allocations: 0 / 3.547 GB, free: 60.75 MB / 0.4952 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000888/10.57, allocations: 0.5539 MB / 3.548 GB, free: 60.42 MB / 0.4952 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002313/10.57, allocations: 191.7 kB / 3.548 GB, free: 60.26 MB / 0.4952 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.703e-05/10.57, allocations: 7.469 kB / 3.548 GB, free: 60.26 MB / 0.4952 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000413/10.57, allocations: 26.16 kB / 3.548 GB, free: 60.25 MB / 0.4952 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.384e-05/10.57, allocations: 31.33 kB / 3.548 GB, free: 60.25 MB / 0.4952 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.385e-05/10.57, allocations: 3.938 kB / 3.548 GB, free: 60.25 MB / 0.4952 GB Notification: Performance of sorting global known variables: time 0.0003747/10.57, allocations: 281 kB / 3.548 GB, free: 60.09 MB / 0.4952 GB Notification: Performance of sort global known variables: time 4.41e-07/10.57, allocations: 0 / 3.548 GB, free: 60.09 MB / 0.4952 GB Notification: Performance of remove unused functions: time 0.004564/10.58, allocations: 0.8605 MB / 3.549 GB, free: 59.92 MB / 0.4952 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.009961/10.59, allocations: 2.368 MB / 3.551 GB, free: 58.86 MB / 0.4952 GB Notification: Performance of simCode: created initialization part: time 0.00067/10.59, allocations: 259.2 kB / 3.552 GB, free: 58.75 MB / 0.4952 GB Notification: Performance of simCode: created event and clocks part: time 5.49e-06/10.59, allocations: 3.906 kB / 3.552 GB, free: 58.75 MB / 0.4952 GB Notification: Performance of simCode: created simulation system equations: time 0.0003008/10.59, allocations: 218.2 kB / 3.552 GB, free: 58.65 MB / 0.4952 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001255/10.59, allocations: 134.8 kB / 3.552 GB, free: 58.62 MB / 0.4952 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004718/10.59, allocations: 1.081 MB / 3.553 GB, free: 58.08 MB / 0.4952 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003642/10.6, allocations: 0.8887 MB / 3.554 GB, free: 57.38 MB / 0.4952 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002945/10.6, allocations: 180.9 kB / 3.554 GB, free: 57.24 MB / 0.4952 GB Notification: Performance of SimCode: time 2.154e-06/10.6, allocations: 3.938 kB / 3.554 GB, free: 57.24 MB / 0.4952 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.335/13.93, allocations: 25.57 MB / 3.579 GB, free: 54.24 MB / 0.4952 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