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.001546/0.001546, allocations: 188.4 kB / 16.41 MB, free: 5.723 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.018/2.018, allocations: 205.4 MB / 222.5 MB, free: 9.105 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.001223/0.001223, allocations: 88.42 kB / 270.9 MB, free: 8.367 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.52/0.52, allocations: 43.55 MB / 362.7 MB, free: 51.91 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004681/0.0004678, allocations: 12 kB / 431.5 MB, free: 5.84 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1289/0.1294, allocations: 58.85 MB / 490.3 MB, free: 10.9 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.886/9.015, allocations: 2.754 GB / 3.233 GB, free: 54.69 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002683/9.016, allocations: 92.12 kB / 3.233 GB, free: 54.64 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.879/10.89, allocations: 314.4 MB / 3.54 GB, free: 58.74 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.524e-06/10.89, allocations: 1.156 kB / 3.54 GB, free: 58.74 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.752e-05/10.89, allocations: 9.844 kB / 3.54 GB, free: 58.73 MB / 0.4948 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.006268/10.9, allocations: 1.352 MB / 3.542 GB, free: 58.02 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.386e-05/10.9, allocations: 10.06 kB / 3.542 GB, free: 58.02 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001653/10.9, allocations: 61.66 kB / 3.542 GB, free: 57.98 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002447/10.9, allocations: 205.8 kB / 3.542 GB, free: 57.96 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008457/10.9, allocations: 337.7 kB / 3.542 GB, free: 57.75 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.772e-05/10.9, allocations: 24.38 kB / 3.542 GB, free: 57.75 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.828e-05/10.9, allocations: 23.09 kB / 3.542 GB, free: 57.75 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002028/10.91, allocations: 0.4911 MB / 3.543 GB, free: 57.62 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.092e-05/10.91, allocations: 1.219 kB / 3.543 GB, free: 57.62 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.912e-05/10.91, allocations: 17.45 kB / 3.543 GB, free: 57.62 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.416e-05/10.91, allocations: 7.219 kB / 3.543 GB, free: 57.62 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002109/10.91, allocations: 435.2 kB / 3.543 GB, free: 57.62 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004403/10.91, allocations: 2.403 MB / 3.546 GB, free: 55.86 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001841/10.92, allocations: 327.2 kB / 3.546 GB, free: 55.83 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05015/10.97, allocations: 16.39 MB / 3.562 GB, free: 45.69 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.236e-05/10.97, allocations: 38.55 kB / 3.562 GB, free: 45.65 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=15): time 2.484e-06/10.97, allocations: 0 / 3.562 GB, free: 45.65 MB / 0.4948 GB Notification: Performance of matching and sorting (n=15): time 0.003076/10.97, allocations: 0.5303 MB / 3.562 GB, free: 45.61 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.417e-05/10.97, allocations: 108.9 kB / 3.563 GB, free: 45.48 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004475/10.97, allocations: 282.9 kB / 3.563 GB, free: 45.38 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.326e-05/10.97, allocations: 30.61 kB / 3.563 GB, free: 45.34 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001327/10.97, allocations: 260.8 kB / 3.563 GB, free: 45.15 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 5.551e-05/10.97, allocations: 50.84 kB / 3.563 GB, free: 45.12 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.216e-05/10.97, allocations: 7.406 kB / 3.563 GB, free: 45.12 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 6.937e-05/10.97, allocations: 321.9 kB / 3.563 GB, free: 44.81 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004617/10.97, allocations: 83.09 kB / 3.564 GB, free: 44.81 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005206/10.97, allocations: 219.7 kB / 3.564 GB, free: 44.66 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004964/10.97, allocations: 114.9 kB / 3.564 GB, free: 44.66 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.582e-06/10.97, allocations: 6.844 kB / 3.564 GB, free: 44.66 MB / 0.4948 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001206/10.97, allocations: 325.2 kB / 3.564 GB, free: 44.62 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.223e-05/10.97, allocations: 7.688 kB / 3.564 GB, free: 44.62 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.118e-05/10.97, allocations: 5.125 kB / 3.564 GB, free: 44.62 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.573e-05/10.97, allocations: 4.688 kB / 3.564 GB, free: 44.62 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005368/10.97, allocations: 79.84 kB / 3.564 GB, free: 44.62 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.335e-05/10.97, allocations: 6.438 kB / 3.564 GB, free: 44.62 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00054/10.97, allocations: 61.27 kB / 3.564 GB, free: 44.6 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.953e-05/10.97, allocations: 16.44 kB / 3.564 GB, free: 44.6 MB / 0.4948 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.0002548/10.97, allocations: 155.9 kB / 3.564 GB, free: 44.48 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.629e-05/10.97, allocations: 36.2 kB / 3.565 GB, free: 44.46 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001993/10.98, allocations: 1.125 MB / 3.566 GB, free: 44.29 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.047e-05/10.98, allocations: 15.59 kB / 3.566 GB, free: 44.29 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/10.98, allocations: 0 / 3.566 GB, free: 44.29 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.52e-06/10.98, allocations: 3.656 kB / 3.566 GB, free: 44.29 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009605/10.98, allocations: 0.6638 MB / 3.566 GB, free: 44.05 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.17e-06/10.98, allocations: 0 / 3.566 GB, free: 44.05 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004215/10.98, allocations: 56.47 kB / 3.566 GB, free: 44.05 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.706e-06/10.98, allocations: 7.406 kB / 3.566 GB, free: 44.05 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.905e-05/10.98, allocations: 7.031 kB / 3.566 GB, free: 44.05 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.15e-06/10.98, allocations: 3.062 kB / 3.566 GB, free: 44.05 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.454e-06/10.98, allocations: 2.344 kB / 3.566 GB, free: 44.05 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001235/10.98, allocations: 0.6226 MB / 3.567 GB, free: 43.87 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000227/10.98, allocations: 198.6 kB / 3.567 GB, free: 43.72 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.081e-05/10.98, allocations: 10.94 kB / 3.567 GB, free: 43.72 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004127/10.98, allocations: 28.42 kB / 3.567 GB, free: 43.72 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.366e-05/10.98, allocations: 19.89 kB / 3.567 GB, free: 43.72 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.31e-05/10.98, allocations: 5.875 kB / 3.567 GB, free: 43.72 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0005127/10.98, allocations: 339.8 kB / 3.568 GB, free: 43.63 MB / 0.4948 GB Notification: Performance of sort global known variables: time 3.81e-07/10.98, allocations: 0 / 3.568 GB, free: 43.63 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.004721/10.99, allocations: 0.8701 MB / 3.568 GB, free: 43.5 MB / 0.4948 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.01104/11, allocations: 2.366 MB / 3.571 GB, free: 42.63 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.001268/11, allocations: 351.7 kB / 3.571 GB, free: 42.62 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 5.49e-06/11, allocations: 6.875 kB / 3.571 GB, free: 42.62 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0005546/11, allocations: 256.4 kB / 3.571 GB, free: 42.62 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001576/11, allocations: 177.4 kB / 3.571 GB, free: 42.62 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008424/11.01, allocations: 5.102 MB / 3.576 GB, free: 39.17 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003566/11.01, allocations: 0.8898 MB / 3.577 GB, free: 38.47 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003481/11.01, allocations: 182.3 kB / 3.577 GB, free: 38.46 MB / 0.4948 GB Notification: Performance of SimCode: time 1.092e-06/11.01, allocations: 0 / 3.577 GB, free: 38.46 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.277/14.29, allocations: 25.26 MB / 3.602 GB, free: 35.79 MB / 0.4948 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