Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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_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_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.0009882/0.0009882, allocations: 171.9 kB / 14.1 MB, free: 1.223 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.505/1.505, allocations: 205.2 MB / 219.8 MB, free: 14.27 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.0009063/0.0009063, allocations: 78.72 kB / 268 MB, free: 14.11 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.912e-05/2.914e-05, allocations: 8 kB / 322.6 MB, free: 17.25 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08693/0.08697, allocations: 47.58 MB / 370.1 MB, free: 1.609 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.622/0.709, allocations: 188.4 MB / 0.5455 GB, free: 110.5 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002881/0.7094, allocations: 96.5 kB / 0.5456 GB, free: 110.5 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6518/1.361, allocations: 210.1 MB / 0.7508 GB, free: 107.4 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.322e-06/1.361, allocations: 0 / 0.7508 GB, free: 107.4 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.892e-05/1.361, allocations: 6.531 kB / 0.7508 GB, free: 107.4 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.00217/1.363, allocations: 1.008 MB / 0.7517 GB, free: 106.7 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.801e-05/1.364, allocations: 14.41 kB / 0.7518 GB, free: 106.7 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.676e-05/1.364, allocations: 56.73 kB / 0.7518 GB, free: 106.6 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003814/1.364, allocations: 52.44 kB / 0.7519 GB, free: 106.6 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003453/1.364, allocations: 287.1 kB / 0.7521 GB, free: 106.4 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.968e-05/1.364, allocations: 16.94 kB / 0.7522 GB, free: 106.4 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.241e-05/1.364, allocations: 37.09 kB / 0.7522 GB, free: 106.4 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004482/1.365, allocations: 331.7 kB / 0.7525 GB, free: 106.2 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.621e-05/1.365, allocations: 0 / 0.7525 GB, free: 106.2 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.36e-05/1.365, allocations: 13.84 kB / 0.7525 GB, free: 106.2 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.098e-05/1.365, allocations: 11.75 kB / 0.7525 GB, free: 106.2 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002792/1.365, allocations: 188.8 kB / 0.7527 GB, free: 106.2 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001562/1.367, allocations: 2.058 MB / 0.7547 GB, free: 104.5 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002538/1.367, allocations: 173.3 kB / 0.7549 GB, free: 104.5 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001128/1.367, allocations: 88.75 kB / 0.755 GB, free: 104.4 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001497/1.367, allocations: 253.5 kB / 0.7552 GB, free: 104.2 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.233e-05/1.367, allocations: 34 kB / 0.7552 GB, free: 104.1 MB / 426.7 MB Notification: Performance of pre-optimization done (n=24): time 1.503e-06/1.367, allocations: 0 / 0.7552 GB, free: 104.1 MB / 426.7 MB Notification: Performance of matching and sorting (n=30): time 0.002167/1.37, allocations: 0.894 MB / 0.7561 GB, free: 103.7 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.594e-05/1.37, allocations: 57.56 kB / 0.7562 GB, free: 103.6 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002257/1.37, allocations: 235.5 kB / 0.7564 GB, free: 103.5 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.503e-05/1.37, allocations: 33.39 kB / 0.7564 GB, free: 103.5 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.177e-05/1.37, allocations: 191 kB / 0.7566 GB, free: 103.3 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.273e-05/1.37, allocations: 99.17 kB / 0.7567 GB, free: 103.3 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.268e-05/1.37, allocations: 7.25 kB / 0.7567 GB, free: 103.3 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.122e-05/1.37, allocations: 343.7 kB / 0.757 GB, free: 102.9 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001205/1.37, allocations: 79.02 kB / 0.7571 GB, free: 102.9 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001598/1.37, allocations: 168.8 kB / 0.7573 GB, free: 102.8 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001556/1.371, allocations: 109.4 kB / 0.7574 GB, free: 102.8 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/1.371, allocations: 0 / 0.7574 GB, free: 102.8 MB / 426.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0004792/1.371, allocations: 371.2 kB / 0.7577 GB, free: 102.6 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.636e-05/1.371, allocations: 5.062 kB / 0.7577 GB, free: 102.6 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/1.371, allocations: 4.406 kB / 0.7577 GB, free: 102.6 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003808/1.372, allocations: 98.55 kB / 0.7578 GB, free: 102.5 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002244/1.372, allocations: 67.44 kB / 0.7579 GB, free: 102.5 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003994/1.372, allocations: 0.6469 MB / 0.7585 GB, free: 101.9 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001822/1.372, allocations: 28.61 kB / 0.7586 GB, free: 101.9 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.029e-05/1.372, allocations: 14.19 kB / 0.7586 GB, free: 101.9 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 8.289e-05/1.372, allocations: 125.1 kB / 0.7587 GB, free: 101.8 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.447e-05/1.373, allocations: 27.94 kB / 0.7587 GB, free: 101.8 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006677/1.373, allocations: 397.9 kB / 0.7591 GB, free: 101.5 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/1.373, allocations: 3.875 kB / 0.7591 GB, free: 101.5 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/1.373, allocations: 3.391 kB / 0.7591 GB, free: 101.5 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000455/1.374, allocations: 0.573 MB / 0.7597 GB, free: 101 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008697/1.375, allocations: 0.7299 MB / 0.7604 GB, free: 100.4 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.424e-06/1.375, allocations: 0 / 0.7604 GB, free: 100.4 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001313/1.375, allocations: 35.84 kB / 0.7604 GB, free: 100.4 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004196/1.375, allocations: 105.2 kB / 0.7605 GB, free: 100.3 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.76e-05/1.375, allocations: 6.875 kB / 0.7605 GB, free: 100.3 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003493/1.376, allocations: 0.6335 MB / 0.7611 GB, free: 99.71 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.295e-06/1.376, allocations: 3.812 kB / 0.7611 GB, free: 99.71 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000588/1.376, allocations: 0.4947 MB / 0.7616 GB, free: 99.36 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.671e-05/1.376, allocations: 112.6 kB / 0.7617 GB, free: 99.24 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.223e-05/1.376, allocations: 7.25 kB / 0.7617 GB, free: 99.23 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002317/1.377, allocations: 8.797 kB / 0.7618 GB, free: 99.23 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.021e-05/1.377, allocations: 26.61 kB / 0.7618 GB, free: 99.22 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.691e-05/1.377, allocations: 19.23 kB / 0.7618 GB, free: 99.21 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001481/1.377, allocations: 194.6 kB / 0.762 GB, free: 99.08 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.4e-07/1.377, allocations: 0 / 0.762 GB, free: 99.08 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0006163/1.377, allocations: 157.8 kB / 0.7621 GB, free: 99.04 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.001131/1.379, allocations: 1.314 MB / 0.7634 GB, free: 97.98 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0004478/1.379, allocations: 232.4 kB / 0.7636 GB, free: 97.9 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/1.379, allocations: 6.688 kB / 0.7636 GB, free: 97.89 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000232/1.379, allocations: 120.9 kB / 0.7638 GB, free: 97.85 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007997/1.38, allocations: 146.5 kB / 0.7639 GB, free: 97.74 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009865/1.381, allocations: 0.526 MB / 0.7644 GB, free: 97.21 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002021/1.381, allocations: 0.7687 MB / 0.7652 GB, free: 96.42 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0002671/1.382, allocations: 70.67 kB / 0.7652 GB, free: 96.36 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001277/1.382, allocations: 91.41 kB / 0.7653 GB, free: 96.27 MB / 426.7 MB Notification: Performance of SimCode: time 2.81e-07/1.382, allocations: 0 / 0.7653 GB, free: 96.27 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02285/1.405, allocations: 10.67 MB / 0.7757 GB, free: 85.77 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001621/1.405, allocations: 212.4 kB / 0.7759 GB, free: 85.54 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.039/3.444, allocations: 0 / 0.7759 GB, free: 85.54 MB / 426.7 MB (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Incompressible_Essotherm650_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Incompressible_Essotherm650.fmu > Modelica_3.2.3_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_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650_res.mat does not exist to compare? outputFormat=mat