Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2.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.ReferenceAir.DryAir2,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_DryAir2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.DryAir2,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_DryAir2",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.001555/0.001555, allocations: 176.8 kB / 8.697 MB, free: 388 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.82/1.82, allocations: 205.3 MB / 214.4 MB, free: 1.738 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.0008779/0.0008779, allocations: 78.7 kB / 262.4 MB, free: 1.688 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.751e-05/1.754e-05, allocations: 4 kB / 315.6 MB, free: 22.63 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09657/0.0966, allocations: 47.58 MB / 363.2 MB, free: 6.984 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.769/1.866, allocations: 0.638 GB / 0.9926 GB, free: 43.35 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002074/1.866, allocations: 71.97 kB / 0.9927 GB, free: 43.28 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5861/2.452, allocations: 147.3 MB / 1.137 GB, free: 72.41 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.014e-06/2.452, allocations: 4 kB / 1.137 GB, free: 72.4 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.716e-05/2.453, allocations: 12 kB / 1.137 GB, free: 72.39 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: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.001422/2.454, allocations: 0.6662 MB / 1.137 GB, free: 71.68 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.414e-05/2.454, allocations: 8.031 kB / 1.137 GB, free: 71.68 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006002/2.455, allocations: 75.41 kB / 1.137 GB, free: 71.6 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004388/2.455, allocations: 326.2 kB / 1.138 GB, free: 71.25 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.716e-05/2.455, allocations: 12 kB / 1.138 GB, free: 71.23 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.006e-05/2.455, allocations: 31.89 kB / 1.138 GB, free: 71.2 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004786/2.456, allocations: 261.5 kB / 1.138 GB, free: 70.95 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005746/2.456, allocations: 398.7 kB / 1.138 GB, free: 70.51 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.334e-05/2.456, allocations: 3.984 kB / 1.138 GB, free: 70.51 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.604e-05/2.456, allocations: 0 / 1.138 GB, free: 70.51 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.42e-05/2.456, allocations: 12 kB / 1.138 GB, free: 70.5 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0108/2.467, allocations: 6.263 MB / 1.144 GB, free: 63.69 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005702/2.468, allocations: 258.3 kB / 1.145 GB, free: 63.43 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002556/2.468, allocations: 136.8 kB / 1.145 GB, free: 63.3 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01079/2.479, allocations: 3.498 MB / 1.148 GB, free: 59.52 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.298e-05/2.479, allocations: 38.56 kB / 1.148 GB, free: 59.47 MB / 426.7 MB Notification: Performance of pre-optimization done (n=35): time 6.011e-06/2.479, allocations: 0 / 1.148 GB, free: 59.47 MB / 426.7 MB Notification: Performance of matching and sorting (n=45): time 0.009018/2.488, allocations: 1.608 MB / 1.15 GB, free: 57.8 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.397e-05/2.488, allocations: 55.41 kB / 1.15 GB, free: 57.73 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003218/2.488, allocations: 230.2 kB / 1.15 GB, free: 57.5 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.624e-05/2.488, allocations: 25.7 kB / 1.15 GB, free: 57.46 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001182/2.489, allocations: 227.8 kB / 1.15 GB, free: 57.24 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000114/2.489, allocations: 157.7 kB / 1.151 GB, free: 57.08 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.455e-05/2.489, allocations: 3.938 kB / 1.151 GB, free: 57.08 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.608e-05/2.489, allocations: 354.7 kB / 1.151 GB, free: 56.72 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002711/2.489, allocations: 129.1 kB / 1.151 GB, free: 56.6 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003419/2.489, allocations: 258.6 kB / 1.151 GB, free: 56.3 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002034/2.492, allocations: 324.6 kB / 1.152 GB, free: 55.98 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.838e-06/2.492, allocations: 0 / 1.152 GB, free: 55.98 MB / 426.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.002987/2.495, allocations: 0.6736 MB / 1.152 GB, free: 55.29 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.959e-05/2.495, allocations: 4 kB / 1.152 GB, free: 55.29 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.342e-05/2.495, allocations: 4 kB / 1.152 GB, free: 55.28 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004981/2.495, allocations: 111.1 kB / 1.152 GB, free: 55.16 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005625/2.496, allocations: 115.8 kB / 1.152 GB, free: 55.05 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002634/2.498, allocations: 2.525 MB / 1.155 GB, free: 52.36 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003628/2.499, allocations: 19.92 kB / 1.155 GB, free: 52.34 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.142e-05/2.499, allocations: 24 kB / 1.155 GB, free: 52.31 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (61): * Single equations (assignments): 58 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {2 1,2 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001397/2.499, allocations: 120.9 kB / 1.155 GB, free: 52.19 MB / 426.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001779/2.501, allocations: 0.55 MB / 1.156 GB, free: 51.62 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001004/2.501, allocations: 35.62 kB / 1.156 GB, free: 51.59 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002181/2.503, allocations: 0.8121 MB / 1.156 GB, free: 50.76 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.666e-05/2.503, allocations: 7.984 kB / 1.156 GB, free: 50.75 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/2.503, allocations: 0 / 1.156 GB, free: 50.75 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001801/2.505, allocations: 0.9107 MB / 1.157 GB, free: 49.77 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003018/2.508, allocations: 1.389 MB / 1.159 GB, free: 48.34 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.785e-06/2.508, allocations: 0 / 1.159 GB, free: 48.34 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004223/2.508, allocations: 75.91 kB / 1.159 GB, free: 48.26 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005957/2.509, allocations: 181.5 kB / 1.159 GB, free: 48.08 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.779e-05/2.509, allocations: 4 kB / 1.159 GB, free: 48.07 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001182/2.51, allocations: 1.354 MB / 1.16 GB, free: 46.67 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.488e-06/2.51, allocations: 0 / 1.16 GB, free: 46.67 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002332/2.513, allocations: 1.178 MB / 1.161 GB, free: 45.46 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002041/2.513, allocations: 120.5 kB / 1.162 GB, free: 45.32 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.943e-05/2.513, allocations: 4.094 kB / 1.162 GB, free: 45.32 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003509/2.513, allocations: 27.77 kB / 1.162 GB, free: 45.29 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.997e-05/2.513, allocations: 35.94 kB / 1.162 GB, free: 45.26 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.041e-05/2.513, allocations: 12 kB / 1.162 GB, free: 45.25 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.000272/2.514, allocations: 178 kB / 1.162 GB, free: 45.07 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.11e-07/2.514, allocations: 0 / 1.162 GB, free: 45.07 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001399/2.515, allocations: 227.9 kB / 1.162 GB, free: 44.85 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (volume.medium.p,volume.medium.T,volume1.medium.p,volume1.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (43): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 1,2 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.004201/2.519, allocations: 2.132 MB / 1.164 GB, free: 42.7 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001315/2.521, allocations: 0.642 MB / 1.165 GB, free: 42.04 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.869e-06/2.521, allocations: 4.188 kB / 1.165 GB, free: 42.04 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007968/2.521, allocations: 384.3 kB / 1.165 GB, free: 41.66 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001497/2.523, allocations: 189.1 kB / 1.165 GB, free: 41.48 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002785/2.526, allocations: 1.073 MB / 1.166 GB, free: 40.37 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003528/2.526, allocations: 0.8478 MB / 1.167 GB, free: 39.5 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0004765/2.527, allocations: 63.36 kB / 1.167 GB, free: 39.43 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002791/2.527, allocations: 163.4 kB / 1.167 GB, free: 39.27 MB / 426.7 MB Notification: Performance of SimCode: time 2.605e-06/2.527, allocations: 0 / 1.167 GB, free: 39.27 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05018/2.577, allocations: 14.99 MB / 1.182 GB, free: 24.26 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003068/2.578, allocations: 142.3 kB / 1.182 GB, free: 24.05 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.055/5.633, allocations: 0 / 1.182 GB, free: 24.05 MB / 426.7 MB (rm -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_DryAir2_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_DryAir2.fmu > Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2_res.mat does not exist to compare? outputFormat=mat