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.001534/0.001534, allocations: 183.7 kB / 13.19 MB, free: 2.129 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.803/1.803, allocations: 205.2 MB / 218.9 MB, free: 9.207 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.0009474/0.0009472, allocations: 96.78 kB / 267.1 MB, free: 9.289 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.4334/0.4334, allocations: 43.47 MB / 358.6 MB, free: 51.55 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.422e-05/4.434e-05, allocations: 4 kB / 425.4 MB, free: 8.117 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1506/0.1507, allocations: 58.84 MB / 484.2 MB, free: 13.16 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 10.25/10.4, allocations: 3.57 GB / 4.043 GB, free: 24.77 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003729/10.4, allocations: 79.2 kB / 4.043 GB, free: 24.73 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.6397/11.04, allocations: 106.9 MB / 4.147 GB, free: 123 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.304e-06/11.04, allocations: 0 / 4.147 GB, free: 123 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 2.406e-05/11.04, allocations: 4 kB / 4.147 GB, free: 123 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.004514/11.05, allocations: 1.131 MB / 4.148 GB, free: 121.8 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.454e-05/11.05, allocations: 8.031 kB / 4.148 GB, free: 121.8 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001505/11.05, allocations: 70.53 kB / 4.148 GB, free: 121.8 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002262/11.05, allocations: 36.31 kB / 4.148 GB, free: 121.7 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003964/11.05, allocations: 250.6 kB / 4.149 GB, free: 121.4 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001236/11.05, allocations: 127.6 kB / 4.149 GB, free: 121.3 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.844e-05/11.05, allocations: 31.98 kB / 4.149 GB, free: 121.3 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007864/11.05, allocations: 0.5542 MB / 4.149 GB, free: 120.7 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.797e-05/11.05, allocations: 0 / 4.149 GB, free: 120.7 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.561e-05/11.05, allocations: 23.98 kB / 4.149 GB, free: 120.7 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.941e-05/11.05, allocations: 24.48 kB / 4.149 GB, free: 120.6 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001281/11.05, allocations: 1.247 MB / 4.151 GB, free: 119.4 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002376/11.05, allocations: 1.925 MB / 4.152 GB, free: 117.3 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006698/11.05, allocations: 265.8 kB / 4.153 GB, free: 117.1 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000183/11.05, allocations: 114.1 kB / 4.153 GB, free: 116.9 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003444/11.06, allocations: 3.427 MB / 4.156 GB, free: 113 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.391e-05/11.06, allocations: 42.5 kB / 4.156 GB, free: 112.9 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=42): time 2.114e-06/11.06, allocations: 4 kB / 4.156 GB, free: 112.9 MB / 0.4948 GB Notification: Performance of matching and sorting (n=44): time 0.001982/11.06, allocations: 0.6741 MB / 4.157 GB, free: 112.2 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.232e-05/11.06, allocations: 59.41 kB / 4.157 GB, free: 112.2 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001693/11.06, allocations: 177.4 kB / 4.157 GB, free: 112 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.314e-05/11.06, allocations: 41.7 kB / 4.157 GB, free: 111.9 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 9.193e-05/11.06, allocations: 191.8 kB / 4.157 GB, free: 111.8 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 9.959e-05/11.06, allocations: 157.8 kB / 4.158 GB, free: 111.6 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.835e-05/11.06, allocations: 8 kB / 4.158 GB, free: 111.6 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 9.297e-05/11.06, allocations: 338.8 kB / 4.158 GB, free: 111.2 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001824/11.06, allocations: 105.5 kB / 4.158 GB, free: 111.1 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003228/11.06, allocations: 406.9 kB / 4.158 GB, free: 110.6 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002936/11.06, allocations: 188.9 kB / 4.159 GB, free: 110.4 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.519e-06/11.06, allocations: 0 / 4.159 GB, free: 110.4 MB / 0.4948 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0009649/11.06, allocations: 0.5623 MB / 4.159 GB, free: 109.9 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.606e-05/11.06, allocations: 9.094 kB / 4.159 GB, free: 109.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.907e-05/11.06, allocations: 12 kB / 4.159 GB, free: 109.8 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.516e-05/11.06, allocations: 23.94 kB / 4.159 GB, free: 109.8 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007742/11.06, allocations: 203.7 kB / 4.159 GB, free: 109.6 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004863/11.06, allocations: 1.184 MB / 4.16 GB, free: 108.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004366/11.06, allocations: 31.94 kB / 4.16 GB, free: 108.4 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001068/11.06, allocations: 75.92 kB / 4.161 GB, free: 108.3 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 () * 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.0001395/11.06, allocations: 141.9 kB / 4.161 GB, free: 108.1 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.641e-05/11.06, allocations: 39.55 kB / 4.161 GB, free: 108.1 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001429/11.06, allocations: 0.6986 MB / 4.161 GB, free: 107.4 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.704e-05/11.06, allocations: 8 kB / 4.161 GB, free: 107.3 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.201e-06/11.06, allocations: 0 / 4.161 GB, free: 107.3 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.652e-06/11.06, allocations: 64 / 4.161 GB, free: 107.3 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009941/11.06, allocations: 0.635 MB / 4.162 GB, free: 106.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.087e-06/11.06, allocations: 0 / 4.162 GB, free: 106.6 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004547/11.07, allocations: 99.86 kB / 4.162 GB, free: 106.6 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.656e-06/11.07, allocations: 0 / 4.162 GB, free: 106.6 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.324e-05/11.07, allocations: 11.98 kB / 4.162 GB, free: 106.5 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003482/11.07, allocations: 1.172 MB / 4.163 GB, free: 105.3 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/11.07, allocations: 0 / 4.163 GB, free: 105.3 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003726/11.07, allocations: 352.3 kB / 4.164 GB, free: 104.9 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001821/11.07, allocations: 152.7 kB / 4.164 GB, free: 104.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.576e-05/11.07, allocations: 4 kB / 4.164 GB, free: 104.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00026/11.07, allocations: 15.98 kB / 4.164 GB, free: 104.8 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.313e-05/11.07, allocations: 19.94 kB / 4.164 GB, free: 104.7 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.956e-05/11.07, allocations: 19.98 kB / 4.164 GB, free: 104.7 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001688/11.07, allocations: 179.1 kB / 4.164 GB, free: 104.5 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.61e-07/11.07, allocations: 0 / 4.164 GB, free: 104.5 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.002926/11.07, allocations: 0.6437 MB / 4.165 GB, free: 103.9 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 () * 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.005085/11.07, allocations: 2.272 MB / 4.167 GB, free: 101.6 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.001127/11.08, allocations: 362.3 kB / 4.167 GB, free: 101.2 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/11.08, allocations: 0 / 4.167 GB, free: 101.2 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0004152/11.08, allocations: 131.8 kB / 4.167 GB, free: 101.1 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000628/11.08, allocations: 80.67 kB / 4.167 GB, free: 101 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1457/11.22, allocations: 66.27 MB / 4.232 GB, free: 34.12 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002459/11.22, allocations: 0.7776 MB / 4.233 GB, free: 33.31 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0009857/11.22, allocations: 186.8 kB / 4.233 GB, free: 33.13 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003812/11.22, allocations: 131.3 kB / 4.233 GB, free: 33 MB / 0.4948 GB Notification: Performance of SimCode: time 1.833e-06/11.22, allocations: 0 / 4.233 GB, free: 33 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05787/11.28, allocations: 29.33 MB / 4.262 GB, free: 3.703 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002023/11.28, allocations: 221.2 kB / 4.262 GB, free: 3.473 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.128/14.41, allocations: 0 / 4.262 GB, free: 3.473 MB / 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