Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650.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) 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(Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Media_Examples_Tests_MediaTestModels_Incompressible_Essotherm650",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Media_Examples_Tests_MediaTestModels_Incompressible_Essotherm650",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.001564/0.001564, 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.17/2.17, 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.001145/0.001145, allocations: 90.7 kB / 267.5 MB, free: 14.04 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.552e-05/3.569e-05, allocations: 7.938 kB / 321.6 MB, free: 17.73 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1076/0.1077, allocations: 47.57 MB / 369.2 MB, free: 2.098 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8815/0.9893, allocations: 188.5 MB / 0.5446 GB, free: 110.3 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003227/0.9897, allocations: 94.45 kB / 0.5447 GB, free: 110.3 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.015/2.004, allocations: 210.1 MB / 0.7498 GB, free: 106.7 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.944e-06/2.004, allocations: 0 / 0.7498 GB, free: 106.7 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.533e-05/2.005, allocations: 6.469 kB / 0.7498 GB, free: 106.7 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.002798/2.007, allocations: 1.016 MB / 0.7508 GB, free: 106 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.442e-05/2.007, allocations: 14.61 kB / 0.7508 GB, free: 106 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.69e-05/2.008, allocations: 60.97 kB / 0.7509 GB, free: 105.9 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005314/2.008, allocations: 52.7 kB / 0.751 GB, free: 105.9 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005033/2.009, allocations: 286.5 kB / 0.7512 GB, free: 105.7 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.696e-05/2.009, allocations: 20.91 kB / 0.7512 GB, free: 105.7 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.339e-05/2.009, allocations: 30.14 kB / 0.7513 GB, free: 105.7 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000702/2.009, allocations: 321.7 kB / 0.7516 GB, free: 105.6 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.315e-05/2.009, allocations: 3.906 kB / 0.7516 GB, free: 105.6 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.68e-05/2.01, allocations: 12.16 kB / 0.7516 GB, free: 105.6 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.149e-05/2.01, allocations: 6.812 kB / 0.7516 GB, free: 105.6 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004429/2.01, allocations: 193.3 kB / 0.7518 GB, free: 105.6 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002604/2.013, allocations: 2.063 MB / 0.7538 GB, free: 103.8 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004626/2.013, allocations: 183 kB / 0.754 GB, free: 103.8 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001835/2.013, allocations: 80.55 kB / 0.7541 GB, free: 103.8 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002426/2.014, allocations: 253.2 kB / 0.7543 GB, free: 103.5 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.732e-05/2.014, allocations: 44.91 kB / 0.7543 GB, free: 103.5 MB / 426.7 MB Notification: Performance of pre-optimization done (n=24): time 3.446e-06/2.014, allocations: 0 / 0.7543 GB, free: 103.5 MB / 426.7 MB Notification: Performance of matching and sorting (n=30): time 0.003764/2.017, allocations: 0.8976 MB / 0.7552 GB, free: 103.1 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.296e-05/2.017, allocations: 51.41 kB / 0.7553 GB, free: 103.1 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000349/2.018, allocations: 227.3 kB / 0.7555 GB, free: 103 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.653e-05/2.018, allocations: 29.45 kB / 0.7555 GB, free: 102.9 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001104/2.018, allocations: 241.3 kB / 0.7557 GB, free: 102.8 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.051e-05/2.018, allocations: 117.2 kB / 0.7559 GB, free: 102.7 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.372e-05/2.018, allocations: 6.562 kB / 0.7559 GB, free: 102.7 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.545e-05/2.018, allocations: 326.4 kB / 0.7562 GB, free: 102.4 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002111/2.018, allocations: 77.78 kB / 0.7562 GB, free: 102.4 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002628/2.019, allocations: 168.4 kB / 0.7564 GB, free: 102.3 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002863/2.019, allocations: 114.6 kB / 0.7565 GB, free: 102.2 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.496e-06/2.019, allocations: 3.281 kB / 0.7565 GB, free: 102.2 MB / 426.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0008731/2.02, allocations: 357.4 kB / 0.7569 GB, free: 102.1 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.202e-05/2.02, allocations: 7.797 kB / 0.7569 GB, free: 102.1 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.029e-05/2.02, allocations: 6.312 kB / 0.7569 GB, free: 102.1 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006715/2.021, allocations: 91.55 kB / 0.757 GB, free: 102.1 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004768/2.021, allocations: 66 kB / 0.757 GB, free: 102.1 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006243/2.022, allocations: 0.6558 MB / 0.7577 GB, free: 101.5 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004062/2.022, allocations: 14.41 kB / 0.7577 GB, free: 101.5 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.266e-05/2.022, allocations: 24.67 kB / 0.7577 GB, free: 101.5 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 35 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 8} Notification: Performance of prepare postOptimizeDAE: time 0.0001473/2.022, allocations: 116.9 kB / 0.7578 GB, free: 101.4 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.046e-05/2.023, allocations: 32.03 kB / 0.7578 GB, free: 101.4 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001524/2.024, allocations: 396.4 kB / 0.7582 GB, free: 101.1 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.061e-05/2.024, allocations: 3.188 kB / 0.7582 GB, free: 101.1 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.394e-06/2.024, allocations: 0 / 0.7582 GB, free: 101.1 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008199/2.025, allocations: 0.5761 MB / 0.7588 GB, free: 100.6 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001617/2.027, allocations: 0.7241 MB / 0.7595 GB, free: 100 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.23e-06/2.027, allocations: 7.031 kB / 0.7595 GB, free: 99.99 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002721/2.027, allocations: 36.48 kB / 0.7595 GB, free: 99.98 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007347/2.028, allocations: 93.97 kB / 0.7596 GB, free: 99.94 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.893e-05/2.028, allocations: 11.36 kB / 0.7596 GB, free: 99.93 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005897/2.028, allocations: 0.644 MB / 0.7603 GB, free: 99.34 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/2.028, allocations: 3.938 kB / 0.7603 GB, free: 99.34 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001145/2.03, allocations: 0.4903 MB / 0.7607 GB, free: 98.99 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001545/2.03, allocations: 109.4 kB / 0.7608 GB, free: 98.87 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.67e-05/2.03, allocations: 14.64 kB / 0.7609 GB, free: 98.86 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004502/2.03, allocations: 17.69 kB / 0.7609 GB, free: 98.86 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.914e-05/2.03, allocations: 15.72 kB / 0.7609 GB, free: 98.85 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.693e-05/2.03, allocations: 15.39 kB / 0.7609 GB, free: 98.84 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002803/2.031, allocations: 193.1 kB / 0.7611 GB, free: 98.72 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.3e-07/2.031, allocations: 0 / 0.7611 GB, free: 98.72 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0009378/2.032, allocations: 166.5 kB / 0.7613 GB, free: 98.67 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 17 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.001901/2.034, allocations: 1.3 MB / 0.7625 GB, free: 97.62 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0007872/2.034, allocations: 235.9 kB / 0.7627 GB, free: 97.53 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/2.034, allocations: 3.625 kB / 0.7628 GB, free: 97.53 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003798/2.035, allocations: 118.5 kB / 0.7629 GB, free: 97.48 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001509/2.036, allocations: 145.5 kB / 0.763 GB, free: 97.42 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001824/2.038, allocations: 0.5699 MB / 0.7636 GB, free: 97.05 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002752/2.039, allocations: 0.7745 MB / 0.7643 GB, free: 96.31 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000246/2.039, allocations: 101.3 kB / 0.7644 GB, free: 96.23 MB / 426.7 MB Notification: Performance of SimCode: time 1.693e-06/2.039, allocations: 0 / 0.7644 GB, free: 96.23 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.855/4.894, allocations: 8.544 MB / 0.7728 GB, free: 88.25 MB / 426.7 MB (rm -f Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_Media_Examples_Tests_MediaTestModels_Incompressible_Essotherm650_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_cpp_Modelica_Media_Examples_Tests_MediaTestModels_Incompressible_Essotherm650.fmu > Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650_res.mat does not exist to compare? outputFormat=mat