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.001066/0.001065, allocations: 176.7 kB / 8.008 MB, free: 1.066 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.761/1.761, allocations: 205.3 MB / 213.7 MB, free: 1.742 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008782/0.0008781, allocations: 78.22 kB / 261.7 MB, free: 1.688 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.2374/0.2374, allocations: 43.5 MB / 353.2 MB, free: 296 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.911e-05/1.914e-05, allocations: 4 kB / 418.4 MB, free: 28.45 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1367/0.1368, allocations: 58.85 MB / 477.2 MB, free: 1.547 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.647/7.784, allocations: 2.754 GB / 3.22 GB, free: 106.4 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002432/7.784, allocations: 97.39 kB / 3.22 GB, free: 106.3 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.9926/8.777, allocations: 309.7 MB / 3.522 GB, free: 6.148 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.274e-06/8.777, allocations: 0 / 3.522 GB, free: 6.148 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 2.395e-05/8.777, allocations: 11.77 kB / 3.522 GB, free: 6.141 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.005826/8.783, allocations: 1.316 MB / 3.524 GB, free: 4.781 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.05e-05/8.783, allocations: 12.03 kB / 3.524 GB, free: 4.77 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001666/8.785, allocations: 199.4 kB / 3.524 GB, free: 4.574 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004796/8.785, allocations: 337.1 kB / 3.524 GB, free: 4.207 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.46e-05/8.785, allocations: 16 kB / 3.524 GB, free: 4.191 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.28e-05/8.785, allocations: 12.69 kB / 3.524 GB, free: 4.18 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003778/8.786, allocations: 233 kB / 3.524 GB, free: 3.949 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004295/8.786, allocations: 327.4 kB / 3.525 GB, free: 3.594 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.256e-05/8.786, allocations: 0 / 3.525 GB, free: 3.594 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.389e-05/8.786, allocations: 4 kB / 3.525 GB, free: 3.59 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.807e-06/8.786, allocations: 4 kB / 3.525 GB, free: 3.586 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002409/8.789, allocations: 2.328 MB / 3.527 GB, free: 1.066 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002868/8.789, allocations: 154.3 kB / 3.527 GB, free: 0.9102 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.251e-05/8.789, allocations: 64.84 kB / 3.527 GB, free: 0.8438 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.4523/9.241, allocations: 16.45 MB / 3.543 GB, free: 60.16 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.4e-05/9.241, allocations: 35.5 kB / 3.543 GB, free: 60.12 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=15): time 2.244e-06/9.241, allocations: 0.7812 kB / 3.543 GB, free: 60.12 MB / 0.4948 GB Notification: Performance of matching and sorting (n=15): time 0.001432/9.243, allocations: 305.5 kB / 3.544 GB, free: 60.09 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.486e-05/9.243, allocations: 104.8 kB / 3.544 GB, free: 59.96 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003748/9.243, allocations: 224.8 kB / 3.544 GB, free: 59.87 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.974e-05/9.243, allocations: 26.7 kB / 3.544 GB, free: 59.84 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001625/9.244, allocations: 215.9 kB / 3.544 GB, free: 59.72 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 4.752e-05/9.244, allocations: 47.97 kB / 3.544 GB, free: 59.7 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.189e-05/9.244, allocations: 0 / 3.544 GB, free: 59.7 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001132/9.244, allocations: 334.5 kB / 3.544 GB, free: 59.38 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001027/9.244, allocations: 48.14 kB / 3.544 GB, free: 59.38 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001917/9.244, allocations: 169.7 kB / 3.545 GB, free: 59.24 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003138/9.244, allocations: 92.47 kB / 3.545 GB, free: 59.24 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.719e-06/9.244, allocations: 4.906 kB / 3.545 GB, free: 59.24 MB / 0.4948 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005896/9.245, allocations: 244.2 kB / 3.545 GB, free: 59.2 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.759e-05/9.245, allocations: 10.84 kB / 3.545 GB, free: 59.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.142e-05/9.245, allocations: 3.469 kB / 3.545 GB, free: 59.2 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.726e-05/9.245, allocations: 6.203 kB / 3.545 GB, free: 59.2 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003407/9.245, allocations: 76.45 kB / 3.545 GB, free: 59.2 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.006e-05/9.245, allocations: 5.984 kB / 3.545 GB, free: 59.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003512/9.246, allocations: 50.33 kB / 3.545 GB, free: 59.19 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.395e-05/9.246, allocations: 15.09 kB / 3.545 GB, free: 59.19 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 () * 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.0001112/9.246, allocations: 113.1 kB / 3.545 GB, free: 59.08 MB / 0.4948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004847/9.247, allocations: 166.2 kB / 3.545 GB, free: 59.04 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.34e-05/9.247, allocations: 27.23 kB / 3.545 GB, free: 59.02 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001641/9.248, allocations: 1.054 MB / 3.546 GB, free: 58.87 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-05/9.248, allocations: 14.42 kB / 3.546 GB, free: 58.87 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.393e-06/9.248, allocations: 0.8438 kB / 3.546 GB, free: 58.87 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-06/9.248, allocations: 0 / 3.546 GB, free: 58.87 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007435/9.249, allocations: 0.6014 MB / 3.547 GB, free: 58.68 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/9.249, allocations: 0 / 3.547 GB, free: 58.68 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002367/9.249, allocations: 61.77 kB / 3.547 GB, free: 58.68 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.789e-06/9.249, allocations: 1.219 kB / 3.547 GB, free: 58.68 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.485e-05/9.249, allocations: 1.281 kB / 3.547 GB, free: 58.68 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.068e-06/9.249, allocations: 2.844 kB / 3.547 GB, free: 58.68 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.337e-06/9.249, allocations: 0 / 3.547 GB, free: 58.68 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000674/9.25, allocations: 0.5479 MB / 3.548 GB, free: 58.49 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001588/9.25, allocations: 192.8 kB / 3.548 GB, free: 58.37 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.171e-05/9.25, allocations: 4.969 kB / 3.548 GB, free: 58.37 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002346/9.251, allocations: 28.78 kB / 3.548 GB, free: 58.36 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.948e-05/9.251, allocations: 23.59 kB / 3.548 GB, free: 58.36 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.615e-05/9.251, allocations: 5 kB / 3.548 GB, free: 58.36 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0003123/9.251, allocations: 276.9 kB / 3.548 GB, free: 58.28 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.61e-07/9.251, allocations: 1.203 kB / 3.548 GB, free: 58.28 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.005361/9.256, allocations: 0.8609 MB / 3.549 GB, free: 58.27 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 () * 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.009705/9.266, allocations: 2.364 MB / 3.551 GB, free: 57.54 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0007795/9.267, allocations: 268.5 kB / 3.552 GB, free: 57.53 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 5.139e-06/9.267, allocations: 0 / 3.552 GB, free: 57.53 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003978/9.267, allocations: 218.2 kB / 3.552 GB, free: 57.53 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001264/9.269, allocations: 134.5 kB / 3.552 GB, free: 57.53 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00555/9.274, allocations: 1.051 MB / 3.553 GB, free: 57.3 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005001/9.275, allocations: 0.8885 MB / 3.554 GB, free: 56.61 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0004712/9.275, allocations: 161.5 kB / 3.554 GB, free: 56.6 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003006/9.275, allocations: 174.7 kB / 3.554 GB, free: 56.59 MB / 0.4948 GB Notification: Performance of SimCode: time 1.854e-06/9.275, allocations: 0 / 3.554 GB, free: 56.59 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0732/9.349, allocations: 30.42 MB / 3.584 GB, free: 55.67 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001647/9.349, allocations: 188.9 kB / 3.584 GB, free: 55.48 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.996/12.34, allocations: 8.828 kB / 3.584 GB, free: 55.48 MB / 0.4948 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