Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_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_cpp_ModelicaTest_Media_TestAllProperties_MoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.MoistAir,fileNamePrefix="ModelicaTest_3_2_3_cpp_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.001502/0.001502, allocations: 177.8 kB / 8.363 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.022/2.022, allocations: 205.3 MB / 214.1 MB, free: 14.13 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001074/0.001073, allocations: 94.27 kB / 262.1 MB, free: 13.87 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2949/0.2949, allocations: 43.49 MB / 353.6 MB, free: 2.258 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.739e-05/2.752e-05, allocations: 4.219 kB / 418.3 MB, free: 40.95 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.447/0.4471, allocations: 58.85 MB / 477.2 MB, free: 5.156 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 10.63/11.07, allocations: 3.569 GB / 4.035 GB, free: 17.21 MB / 0.4952 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000269/11.07, allocations: 73.16 kB / 4.035 GB, free: 17.18 MB / 0.4952 GB Notification: Performance of FrontEnd - DAE generated: time 0.7801/11.85, allocations: 105.7 MB / 4.139 GB, free: 120.2 MB / 0.4952 GB Notification: Performance of FrontEnd: time 1.663e-06/11.85, allocations: 0 / 4.139 GB, free: 120.2 MB / 0.4952 GB Notification: Performance of Transformations before backend: time 1.521e-05/11.85, allocations: 4 kB / 4.139 GB, free: 120.2 MB / 0.4952 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.004307/11.86, allocations: 1.13 MB / 4.14 GB, free: 119 MB / 0.4952 GB Notification: Performance of prepare preOptimizeDAE: time 5.046e-05/11.86, allocations: 12.03 kB / 4.14 GB, free: 119 MB / 0.4952 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002826/11.86, allocations: 35.62 kB / 4.14 GB, free: 119 MB / 0.4952 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004061/11.86, allocations: 250.6 kB / 4.14 GB, free: 118.7 MB / 0.4952 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001285/11.86, allocations: 123.6 kB / 4.14 GB, free: 118.5 MB / 0.4952 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.726e-05/11.86, allocations: 23.94 kB / 4.14 GB, free: 118.5 MB / 0.4952 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001682/11.86, allocations: 1.184 MB / 4.141 GB, free: 117.3 MB / 0.4952 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009063/11.86, allocations: 0.5214 MB / 4.142 GB, free: 116.8 MB / 0.4952 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.942e-05/11.86, allocations: 4 kB / 4.142 GB, free: 116.8 MB / 0.4952 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.425e-05/11.86, allocations: 4 kB / 4.142 GB, free: 116.8 MB / 0.4952 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.005e-05/11.86, allocations: 24.55 kB / 4.142 GB, free: 116.8 MB / 0.4952 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005927/11.87, allocations: 4.286 MB / 4.146 GB, free: 111.9 MB / 0.4952 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002999/11.87, allocations: 122.7 kB / 4.146 GB, free: 111.7 MB / 0.4952 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001062/11.87, allocations: 44.84 kB / 4.146 GB, free: 111.7 MB / 0.4952 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003524/11.87, allocations: 360.4 kB / 4.146 GB, free: 111.3 MB / 0.4952 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.157e-05/11.87, allocations: 38.5 kB / 4.146 GB, free: 111.2 MB / 0.4952 GB Notification: Performance of pre-optimization done (n=18): time 2.975e-06/11.87, allocations: 0 / 4.146 GB, free: 111.2 MB / 0.4952 GB Notification: Performance of matching and sorting (n=19): time 0.001597/11.87, allocations: 315.7 kB / 4.147 GB, free: 110.9 MB / 0.4952 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.517e-05/11.87, allocations: 51.41 kB / 4.147 GB, free: 110.8 MB / 0.4952 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003434/11.87, allocations: 254 kB / 4.147 GB, free: 110.6 MB / 0.4952 GB Notification: Performance of collectPreVariables (initialization): time 3.749e-05/11.87, allocations: 29.64 kB / 4.147 GB, free: 110.6 MB / 0.4952 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001402/11.87, allocations: 345 kB / 4.147 GB, free: 110.2 MB / 0.4952 GB Notification: Performance of collectInitialBindings (initialization): time 5.584e-05/11.87, allocations: 71.09 kB / 4.147 GB, free: 110.1 MB / 0.4952 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.531e-05/11.87, allocations: 0 / 4.147 GB, free: 110.1 MB / 0.4952 GB Notification: Performance of setup shared object (initialization): time 7.431e-05/11.87, allocations: 334.8 kB / 4.148 GB, free: 109.8 MB / 0.4952 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002148/11.87, allocations: 89.53 kB / 4.148 GB, free: 109.7 MB / 0.4952 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003393/11.87, allocations: 397.1 kB / 4.148 GB, free: 109.2 MB / 0.4952 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00205/11.87, allocations: 338.9 kB / 4.149 GB, free: 108.9 MB / 0.4952 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.153e-05/11.87, allocations: 4 kB / 4.149 GB, free: 108.9 MB / 0.4952 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.003116/11.88, allocations: 0.6537 MB / 4.149 GB, free: 108.2 MB / 0.4952 GB Notification: Performance of prepare postOptimizeDAE: time 2.977e-05/11.88, allocations: 8 kB / 4.149 GB, free: 108.2 MB / 0.4952 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.904e-05/11.88, allocations: 12 kB / 4.149 GB, free: 108.2 MB / 0.4952 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.647e-05/11.88, allocations: 19.95 kB / 4.149 GB, free: 108.2 MB / 0.4952 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001321/11.88, allocations: 211.7 kB / 4.149 GB, free: 107.9 MB / 0.4952 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007082/11.88, allocations: 1.207 MB / 4.151 GB, free: 106.7 MB / 0.4952 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000872/11.88, allocations: 12 kB / 4.151 GB, free: 106.7 MB / 0.4952 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001725/11.88, allocations: 87.92 kB / 4.151 GB, free: 106.6 MB / 0.4952 GB Warning: Iteration variables with default zero start attribute in equation system with analytic Jacobian: $DER.medium.T:DUMMY_DER(fixed = false ) "Temperature of medium" type: Real 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 (72): * Single equations (assignments): 69 * 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.0002298/11.88, allocations: 124.7 kB / 4.151 GB, free: 106.5 MB / 0.4952 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0006345/11.88, allocations: 169.3 kB / 4.151 GB, free: 106.3 MB / 0.4952 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.152e-05/11.88, allocations: 31.81 kB / 4.151 GB, free: 106.3 MB / 0.4952 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008039/11.88, allocations: 223.5 kB / 4.151 GB, free: 106 MB / 0.4952 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.852e-05/11.88, allocations: 4 kB / 4.151 GB, free: 106 MB / 0.4952 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/11.88, allocations: 0 / 4.151 GB, free: 106 MB / 0.4952 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.394e-06/11.88, allocations: 3.984 kB / 4.151 GB, free: 106 MB / 0.4952 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00117/11.88, allocations: 0.5075 MB / 4.152 GB, free: 105.5 MB / 0.4952 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.933e-06/11.88, allocations: 4.062 kB / 4.152 GB, free: 105.5 MB / 0.4952 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005883/11.89, allocations: 67.94 kB / 4.152 GB, free: 105.4 MB / 0.4952 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.406e-06/11.89, allocations: 4.031 kB / 4.152 GB, free: 105.4 MB / 0.4952 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.114e-05/11.89, allocations: 7.984 kB / 4.152 GB, free: 105.4 MB / 0.4952 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005722/11.89, allocations: 1.191 MB / 4.153 GB, free: 104.2 MB / 0.4952 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.25e-06/11.89, allocations: 0 / 4.153 GB, free: 104.2 MB / 0.4952 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006322/11.89, allocations: 289.9 kB / 4.153 GB, free: 103.8 MB / 0.4952 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002533/11.89, allocations: 164.7 kB / 4.153 GB, free: 103.7 MB / 0.4952 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.593e-05/11.89, allocations: 0 / 4.153 GB, free: 103.7 MB / 0.4952 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004726/11.89, allocations: 7.984 kB / 4.153 GB, free: 103.7 MB / 0.4952 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.755e-05/11.89, allocations: 15.92 kB / 4.153 GB, free: 103.6 MB / 0.4952 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.581e-05/11.89, allocations: 19.94 kB / 4.153 GB, free: 103.6 MB / 0.4952 GB Notification: Performance of sorting global known variables: time 0.0002304/11.89, allocations: 182 kB / 4.154 GB, free: 103.4 MB / 0.4952 GB Notification: Performance of sort global known variables: time 4.21e-07/11.89, allocations: 0 / 4.154 GB, free: 103.4 MB / 0.4952 GB Notification: Performance of remove unused functions: time 0.002974/11.89, allocations: 0.6125 MB / 4.154 GB, free: 102.8 MB / 0.4952 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 16 * 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.006047/11.9, allocations: 2.244 MB / 4.156 GB, free: 100.6 MB / 0.4952 GB Notification: Performance of simCode: created initialization part: time 0.001275/11.9, allocations: 301.4 kB / 4.157 GB, free: 100.3 MB / 0.4952 GB Notification: Performance of simCode: created event and clocks part: time 7.164e-06/11.9, allocations: 4 kB / 4.157 GB, free: 100.3 MB / 0.4952 GB Notification: Performance of simCode: created simulation system equations: time 0.0005021/11.9, allocations: 88.77 kB / 4.157 GB, free: 100.2 MB / 0.4952 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006861/11.9, allocations: 56.47 kB / 4.157 GB, free: 100.1 MB / 0.4952 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2315/12.13, allocations: 60.62 MB / 4.216 GB, free: 38.89 MB / 0.4952 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002345/12.13, allocations: 0.7688 MB / 4.217 GB, free: 38.1 MB / 0.4952 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007607/12.13, allocations: 163.3 kB / 4.217 GB, free: 37.94 MB / 0.4952 GB Notification: Performance of SimCode: time 1.283e-06/12.13, allocations: 0 / 4.217 GB, free: 37.94 MB / 0.4952 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.336/15.47, allocations: 19.41 MB / 4.236 GB, free: 18.5 MB / 0.4952 GB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.MoistAir.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.MoistAir.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.MoistAir.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.MoistAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.MoistAir_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestAllProperties_MoistAir_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestAllProperties_MoistAir.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.MoistAir.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.MoistAir_res.mat does not exist to compare? outputFormat=mat