Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.MoistAir.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.Media.TestAllProperties.MoistAir,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_MoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.MoistAir,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_MoistAir",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.00163/0.00163, allocations: 183.7 kB / 15.76 MB, free: 6.367 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.904/1.904, allocations: 205.4 MB / 221.9 MB, free: 13.84 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.00114/0.00114, allocations: 90.84 kB / 270.2 MB, free: 13.37 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2288/0.2288, allocations: 43.56 MB / 362.1 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003302/0.0003304, allocations: 8 kB / 431.5 MB, free: 19.51 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1285/0.1289, allocations: 58.86 MB / 490.3 MB, free: 8.582 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.202/9.331, allocations: 3.57 GB / 4.049 GB, free: 30.75 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002431/9.331, allocations: 81.27 kB / 4.049 GB, free: 30.71 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.5728/9.904, allocations: 107.1 MB / 4.153 GB, free: 126.7 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.223e-06/9.904, allocations: 0 / 4.153 GB, free: 126.7 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.553e-05/9.904, allocations: 4 kB / 4.153 GB, free: 126.7 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: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.003937/9.908, allocations: 1.143 MB / 4.155 GB, free: 125.5 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.098e-05/9.908, allocations: 8.031 kB / 4.155 GB, free: 125.5 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001587/9.908, allocations: 70.53 kB / 4.155 GB, free: 125.5 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002141/9.909, allocations: 35.7 kB / 4.155 GB, free: 125.4 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003871/9.909, allocations: 250.6 kB / 4.155 GB, free: 125.1 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001322/9.909, allocations: 143.4 kB / 4.155 GB, free: 125 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.799e-05/9.909, allocations: 28 kB / 4.155 GB, free: 124.9 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007714/9.91, allocations: 0.5681 MB / 4.156 GB, free: 124.3 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.413e-05/9.91, allocations: 0 / 4.156 GB, free: 124.3 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.666e-05/9.91, allocations: 16 kB / 4.156 GB, free: 124.3 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.209e-05/9.91, allocations: 24.55 kB / 4.156 GB, free: 124.3 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001126/9.911, allocations: 1.251 MB / 4.157 GB, free: 123.1 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002144/9.913, allocations: 1.925 MB / 4.159 GB, free: 121 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006771/9.914, allocations: 268.1 kB / 4.159 GB, free: 120.7 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003321/9.917, allocations: 3.288 MB / 4.162 GB, free: 116.9 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.295e-05/9.917, allocations: 42.56 kB / 4.162 GB, free: 116.9 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=42): time 2.405e-06/9.917, allocations: 0 / 4.162 GB, free: 116.9 MB / 0.4948 GB Notification: Performance of matching and sorting (n=44): time 0.001948/9.919, allocations: 0.8224 MB / 4.163 GB, free: 116 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.803e-05/9.919, allocations: 55.41 kB / 4.163 GB, free: 115.9 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000153/9.92, allocations: 196.9 kB / 4.163 GB, free: 115.7 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.871e-05/9.92, allocations: 33.7 kB / 4.163 GB, free: 115.7 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 7.396e-05/9.92, allocations: 187.8 kB / 4.164 GB, free: 115.5 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 8.961e-05/9.92, allocations: 157.8 kB / 4.164 GB, free: 115.4 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.647e-05/9.92, allocations: 12 kB / 4.164 GB, free: 115.3 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 6.619e-05/9.92, allocations: 334.8 kB / 4.164 GB, free: 115 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001585/9.92, allocations: 105.2 kB / 4.164 GB, free: 114.9 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000253/9.92, allocations: 417.5 kB / 4.165 GB, free: 114.3 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002479/9.921, allocations: 176.8 kB / 4.165 GB, free: 114.2 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.18e-06/9.921, allocations: 0 / 4.165 GB, free: 114.2 MB / 0.4948 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0008577/9.921, allocations: 0.5741 MB / 4.165 GB, free: 113.6 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.305e-05/9.922, allocations: 10.66 kB / 4.165 GB, free: 113.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.695e-05/9.922, allocations: 12 kB / 4.165 GB, free: 113.6 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.836e-05/9.922, allocations: 19.94 kB / 4.165 GB, free: 113.6 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006576/9.922, allocations: 211.6 kB / 4.165 GB, free: 113.4 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004558/9.923, allocations: 1.199 MB / 4.167 GB, free: 112.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004062/9.923, allocations: 27.98 kB / 4.167 GB, free: 112.1 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.743e-05/9.923, allocations: 71.97 kB / 4.167 GB, free: 112 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 70 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001827/9.923, allocations: 181.5 kB / 4.167 GB, free: 111.8 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.428e-05/9.923, allocations: 35.81 kB / 4.167 GB, free: 111.8 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001287/9.925, allocations: 0.6973 MB / 4.168 GB, free: 111.1 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.324e-05/9.925, allocations: 4 kB / 4.168 GB, free: 111 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.85e-06/9.925, allocations: 4 kB / 4.168 GB, free: 111 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.971e-06/9.925, allocations: 3.984 kB / 4.168 GB, free: 111 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008566/9.926, allocations: 0.6404 MB / 4.168 GB, free: 110.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.426e-06/9.926, allocations: 0 / 4.168 GB, free: 110.3 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004353/9.926, allocations: 87.88 kB / 4.168 GB, free: 110.2 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.066e-06/9.926, allocations: 4 kB / 4.168 GB, free: 110.2 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.025e-05/9.926, allocations: 8 kB / 4.168 GB, free: 110.2 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003319/9.927, allocations: 1.168 MB / 4.17 GB, free: 109 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.035e-06/9.927, allocations: 3.938 kB / 4.17 GB, free: 109 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003382/9.927, allocations: 352.4 kB / 4.17 GB, free: 108.6 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001727/9.927, allocations: 160.6 kB / 4.17 GB, free: 108.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.987e-05/9.927, allocations: 8 kB / 4.17 GB, free: 108.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002715/9.927, allocations: 8 kB / 4.17 GB, free: 108.4 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.081e-05/9.927, allocations: 23.97 kB / 4.17 GB, free: 108.4 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.797e-05/9.928, allocations: 19.98 kB / 4.17 GB, free: 108.4 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001466/9.928, allocations: 178 kB / 4.17 GB, free: 108.2 MB / 0.4948 GB Notification: Performance of sort global known variables: time 3.91e-07/9.928, allocations: 0 / 4.17 GB, free: 108.2 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.002721/9.93, allocations: 0.6437 MB / 4.171 GB, free: 107.6 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 30 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005167/9.936, allocations: 2.27 MB / 4.173 GB, free: 105.3 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.00113/9.937, allocations: 357.7 kB / 4.173 GB, free: 104.9 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 4.97e-06/9.937, allocations: 4 kB / 4.173 GB, free: 104.9 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003919/9.937, allocations: 128.1 kB / 4.174 GB, free: 104.8 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006428/9.938, allocations: 89.19 kB / 4.174 GB, free: 104.7 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1516/10.09, allocations: 74.88 MB / 4.247 GB, free: 28.96 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002605/10.09, allocations: 0.7818 MB / 4.248 GB, free: 28.15 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.000974/10.09, allocations: 186.8 kB / 4.248 GB, free: 27.97 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003526/10.09, allocations: 131.4 kB / 4.248 GB, free: 27.84 MB / 0.4948 GB Notification: Performance of SimCode: time 1.323e-06/10.09, allocations: 0 / 4.248 GB, free: 27.84 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04865/10.14, allocations: 27.36 MB / 4.275 GB, free: 0.4961 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002016/10.14, allocations: 245.5 kB / 4.275 GB, free: 220 kB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.965/13.11, allocations: 3.938 kB / 4.275 GB, free: 216 kB / 0.4948 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.MoistAir.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.MoistAir.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.MoistAir.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.MoistAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.MoistAir_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_MoistAir_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_MoistAir.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.MoistAir.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.MoistAir_res.mat does not exist to compare? outputFormat=mat