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.001192/0.001192, allocations: 177.6 kB / 8.002 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.662/1.662, allocations: 205.3 MB / 213.7 MB, free: 1.746 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008655/0.0008657, allocations: 86.14 kB / 261.7 MB, free: 1.691 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.2127/0.2127, allocations: 43.49 MB / 353.2 MB, free: 284 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.785e-05/1.804e-05, allocations: 0 / 418.4 MB, free: 28.46 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1141/0.1141, allocations: 58.85 MB / 477.2 MB, free: 1.559 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.924/10.04, allocations: 3.569 GB / 4.035 GB, free: 105.7 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000273/10.04, allocations: 75.47 kB / 4.035 GB, free: 105.7 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.2476/10.29, allocations: 105.7 MB / 4.139 GB, free: 5.941 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.363e-06/10.29, allocations: 0 / 4.139 GB, free: 5.941 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.559e-05/10.29, allocations: 4 kB / 4.139 GB, free: 5.938 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.003873/10.29, allocations: 1.115 MB / 4.14 GB, free: 4.777 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.292e-05/10.29, allocations: 15.97 kB / 4.14 GB, free: 4.762 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001739/10.29, allocations: 43.56 kB / 4.14 GB, free: 4.719 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002743/10.29, allocations: 250.7 kB / 4.14 GB, free: 4.434 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001103/10.29, allocations: 123.5 kB / 4.14 GB, free: 4.289 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.435e-05/10.29, allocations: 20 kB / 4.14 GB, free: 4.27 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001051/10.29, allocations: 1.192 MB / 4.141 GB, free: 3.078 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005582/10.29, allocations: 0.5097 MB / 4.142 GB, free: 2.535 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.524e-05/10.29, allocations: 8 kB / 4.142 GB, free: 2.527 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.991e-05/10.29, allocations: 7.953 kB / 4.142 GB, free: 2.52 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.414e-05/10.29, allocations: 24.55 kB / 4.142 GB, free: 2.496 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3924/10.69, allocations: 4.285 MB / 4.146 GB, free: 125.3 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002477/10.69, allocations: 119 kB / 4.146 GB, free: 125.3 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.436e-05/10.69, allocations: 51.06 kB / 4.146 GB, free: 125.2 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003086/10.69, allocations: 360.3 kB / 4.146 GB, free: 124.9 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.622e-05/10.69, allocations: 32.25 kB / 4.146 GB, free: 124.8 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=18): time 3.446e-06/10.69, allocations: 1.094 kB / 4.146 GB, free: 124.8 MB / 0.4948 GB Notification: Performance of matching and sorting (n=19): time 0.001484/10.69, allocations: 308.8 kB / 4.147 GB, free: 124.8 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.928e-05/10.69, allocations: 57.31 kB / 4.147 GB, free: 124.7 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000367/10.69, allocations: 258.5 kB / 4.147 GB, free: 124.6 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.395e-05/10.69, allocations: 25.7 kB / 4.147 GB, free: 124.6 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002201/10.69, allocations: 266.3 kB / 4.147 GB, free: 124.4 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 7.176e-05/10.69, allocations: 73.08 kB / 4.147 GB, free: 124.4 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.987e-05/10.69, allocations: 1.031 kB / 4.147 GB, free: 124.4 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001409/10.69, allocations: 341.2 kB / 4.148 GB, free: 124 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002488/10.69, allocations: 91.8 kB / 4.148 GB, free: 124 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004557/10.69, allocations: 399.1 kB / 4.148 GB, free: 123.7 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001629/10.69, allocations: 326.4 kB / 4.149 GB, free: 123.7 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.345e-06/10.69, allocations: 3.469 kB / 4.149 GB, free: 123.7 MB / 0.4948 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001979/10.69, allocations: 0.6623 MB / 4.149 GB, free: 123.6 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.837e-05/10.69, allocations: 12.41 kB / 4.149 GB, free: 123.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.857e-05/10.69, allocations: 10.31 kB / 4.149 GB, free: 123.6 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.346e-05/10.69, allocations: 14.56 kB / 4.149 GB, free: 123.6 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008447/10.69, allocations: 205 kB / 4.149 GB, free: 123.6 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007417/10.69, allocations: 1.209 MB / 4.151 GB, free: 122.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005755/10.69, allocations: 18.53 kB / 4.151 GB, free: 122.4 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002196/10.7, allocations: 82.72 kB / 4.151 GB, free: 122.4 MB / 0.4948 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.0002877/10.7, allocations: 129.9 kB / 4.151 GB, free: 122.3 MB / 0.4948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004252/10.7, allocations: 167.7 kB / 4.151 GB, free: 122.3 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.865e-05/10.7, allocations: 29 kB / 4.151 GB, free: 122.3 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006143/10.7, allocations: 222.1 kB / 4.151 GB, free: 122.2 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.469e-05/10.7, allocations: 4.312 kB / 4.151 GB, free: 122.2 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.047e-06/10.7, allocations: 3.953 kB / 4.151 GB, free: 122.2 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.646e-06/10.7, allocations: 3.797 kB / 4.151 GB, free: 122.2 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007735/10.7, allocations: 0.5066 MB / 4.152 GB, free: 121.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/10.7, allocations: 2.125 kB / 4.152 GB, free: 121.9 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000345/10.7, allocations: 75.92 kB / 4.152 GB, free: 121.9 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.212e-06/10.7, allocations: 2.031 kB / 4.152 GB, free: 121.9 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.454e-05/10.7, allocations: 2.031 kB / 4.152 GB, free: 121.9 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004669/10.7, allocations: 1.191 MB / 4.153 GB, free: 120.8 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.119e-06/10.7, allocations: 0.75 kB / 4.153 GB, free: 120.8 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003779/10.7, allocations: 287.8 kB / 4.153 GB, free: 120.6 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001665/10.7, allocations: 165.2 kB / 4.153 GB, free: 120.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.538e-05/10.7, allocations: 0.75 kB / 4.153 GB, free: 120.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002431/10.7, allocations: 7.734 kB / 4.153 GB, free: 120.5 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.131e-05/10.7, allocations: 10.8 kB / 4.153 GB, free: 120.5 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.868e-05/10.7, allocations: 16.61 kB / 4.153 GB, free: 120.5 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001838/10.7, allocations: 180.2 kB / 4.154 GB, free: 120.4 MB / 0.4948 GB Notification: Performance of sort global known variables: time 3.31e-07/10.7, allocations: 3.875 kB / 4.154 GB, free: 120.4 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.002942/10.7, allocations: 0.6181 MB / 4.154 GB, free: 120.4 MB / 0.4948 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.004373/10.71, allocations: 2.227 MB / 4.156 GB, free: 119.6 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.001111/10.71, allocations: 305.6 kB / 4.157 GB, free: 119.6 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 4.027e-06/10.71, allocations: 3.438 kB / 4.157 GB, free: 119.6 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003252/10.71, allocations: 98.55 kB / 4.157 GB, free: 119.6 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005679/10.71, allocations: 53.7 kB / 4.157 GB, free: 119.6 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1419/10.85, allocations: 60.59 MB / 4.216 GB, free: 112.7 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002233/10.85, allocations: 0.7638 MB / 4.217 GB, free: 112 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.001025/10.85, allocations: 235.4 kB / 4.217 GB, free: 111.9 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002841/10.85, allocations: 113.6 kB / 4.217 GB, free: 111.9 MB / 0.4948 GB Notification: Performance of SimCode: time 1.002e-06/10.85, allocations: 4 kB / 4.217 GB, free: 111.8 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05382/10.91, allocations: 20.8 MB / 4.237 GB, free: 99.73 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001692/10.91, allocations: 160.7 kB / 4.238 GB, free: 99.55 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.802/13.71, allocations: 0 / 4.238 GB, free: 99.55 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