Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Media.Examples.IdealGasH2O.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.IdealGasH2O,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Media_Examples_IdealGasH2O",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.IdealGasH2O,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Media_Examples_IdealGasH2O",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.001608/0.001607, allocations: 181 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.034/2.034, allocations: 205.2 MB / 219.4 MB, free: 14.2 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.001107/0.001106, allocations: 86.64 kB / 267.5 MB, free: 14.05 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.35e-05/3.375e-05, allocations: 4 kB / 321.6 MB, free: 17.76 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09966/0.09973, allocations: 47.57 MB / 369.2 MB, free: 2.125 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.459/1.559, allocations: 442.2 MB / 0.7924 GB, free: 62.44 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002328/1.559, allocations: 70.53 kB / 0.7924 GB, free: 62.4 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1222/1.682, allocations: 24.88 MB / 0.8167 GB, free: 40.53 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.543e-06/1.682, allocations: 0 / 0.8167 GB, free: 40.53 MB / 426.7 MB Notification: Performance of Transformations before backend: time 6.573e-06/1.682, allocations: 0 / 0.8167 GB, free: 40.53 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.001129/1.683, allocations: 438.9 kB / 0.8171 GB, free: 40.06 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.82e-05/1.683, allocations: 12.03 kB / 0.8171 GB, free: 40.05 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.282e-05/1.683, allocations: 38.55 kB / 0.8172 GB, free: 40 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01093/1.694, allocations: 463.3 kB / 0.8176 GB, free: 39.55 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001162/1.694, allocations: 167 kB / 0.8178 GB, free: 39.34 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.751e-05/1.694, allocations: 8 kB / 0.8178 GB, free: 39.34 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001675/1.694, allocations: 7.906 kB / 0.8178 GB, free: 39.33 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001132/1.695, allocations: 269.7 kB / 0.8181 GB, free: 39.06 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.035e-05/1.695, allocations: 0 / 0.8181 GB, free: 39.06 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001003/1.696, allocations: 4 kB / 0.8181 GB, free: 39.05 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.646e-06/1.696, allocations: 0 / 0.8181 GB, free: 39.05 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008037/1.696, allocations: 227.9 kB / 0.8183 GB, free: 38.83 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00146/1.698, allocations: 432.5 kB / 0.8187 GB, free: 38.36 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001376/1.699, allocations: 194.5 kB / 0.8189 GB, free: 38.16 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000173/1.699, allocations: 61.09 kB / 0.8189 GB, free: 38.1 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.17e-05/1.7, allocations: 7.984 kB / 0.8189 GB, free: 38.09 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.546e-05/1.7, allocations: 34.56 kB / 0.819 GB, free: 38.05 MB / 426.7 MB Notification: Performance of pre-optimization done (n=13): time 3.246e-06/1.7, allocations: 0 / 0.819 GB, free: 38.05 MB / 426.7 MB Notification: Performance of matching and sorting (n=17): time 0.001882/1.701, allocations: 305.4 kB / 0.8193 GB, free: 37.75 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.169e-05/1.702, allocations: 59.34 kB / 0.8193 GB, free: 37.68 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.324e-05/1.702, allocations: 92.98 kB / 0.8194 GB, free: 37.58 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.3e-05/1.702, allocations: 33.7 kB / 0.8194 GB, free: 37.54 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.054e-05/1.702, allocations: 166.3 kB / 0.8196 GB, free: 37.38 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.137e-05/1.702, allocations: 63.09 kB / 0.8197 GB, free: 37.31 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.864e-05/1.702, allocations: 4 kB / 0.8197 GB, free: 37.31 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.076e-05/1.702, allocations: 326.8 kB / 0.82 GB, free: 36.98 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001892/1.702, allocations: 60.31 kB / 0.82 GB, free: 36.92 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000217/1.702, allocations: 101 kB / 0.8201 GB, free: 36.8 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002097/1.703, allocations: 63.97 kB / 0.8202 GB, free: 36.74 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/1.703, allocations: 0 / 0.8202 GB, free: 36.74 MB / 426.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0006427/1.703, allocations: 205.4 kB / 0.8204 GB, free: 36.54 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.121e-05/1.703, allocations: 4 kB / 0.8204 GB, free: 36.53 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.826e-06/1.703, allocations: 4.125 kB / 0.8204 GB, free: 36.53 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.054e-05/1.703, allocations: 4 kB / 0.8204 GB, free: 36.52 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006823/1.704, allocations: 47.95 kB / 0.8204 GB, free: 36.48 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.297e-05/1.704, allocations: 7.938 kB / 0.8205 GB, free: 36.47 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004286/1.705, allocations: 15.98 kB / 0.8205 GB, free: 36.45 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.245e-05/1.705, allocations: 11.98 kB / 0.8205 GB, free: 36.44 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 21 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001126/1.705, allocations: 116.9 kB / 0.8206 GB, free: 36.32 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.995e-05/1.705, allocations: 11.91 kB / 0.8206 GB, free: 36.31 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008464/1.706, allocations: 236.1 kB / 0.8208 GB, free: 36.07 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.86e-06/1.706, allocations: 3.938 kB / 0.8208 GB, free: 36.07 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/1.706, allocations: 0 / 0.8208 GB, free: 36.07 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/1.706, allocations: 8.188 kB / 0.8208 GB, free: 36.06 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001364/1.707, allocations: 0.5285 MB / 0.8214 GB, free: 35.47 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.109e-06/1.707, allocations: 0 / 0.8214 GB, free: 35.47 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005954/1.708, allocations: 51.89 kB / 0.8214 GB, free: 35.42 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.799e-06/1.708, allocations: 8.062 kB / 0.8214 GB, free: 35.41 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.436e-05/1.708, allocations: 4 kB / 0.8214 GB, free: 35.41 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.851e-06/1.708, allocations: 3.953 kB / 0.8214 GB, free: 35.41 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/1.708, allocations: 0 / 0.8214 GB, free: 35.41 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005531/1.708, allocations: 316.4 kB / 0.8217 GB, free: 35.06 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.886e-05/1.708, allocations: 89.06 kB / 0.8218 GB, free: 34.96 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.727e-05/1.708, allocations: 0 / 0.8218 GB, free: 34.96 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004366/1.709, allocations: 19.98 kB / 0.8218 GB, free: 34.94 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.393e-05/1.709, allocations: 11.98 kB / 0.8218 GB, free: 34.93 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.916e-05/1.709, allocations: 11.98 kB / 0.8219 GB, free: 34.91 MB / 426.7 MB Notification: Performance of sorting global known variables: time 3.749e-05/1.709, allocations: 83.28 kB / 0.8219 GB, free: 34.83 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.11e-07/1.709, allocations: 0 / 0.8219 GB, free: 34.83 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00059/1.71, allocations: 71.98 kB / 0.822 GB, free: 34.76 MB / 426.7 MB 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 (18): * Single equations (assignments): 18 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001571/1.711, allocations: 1.407 MB / 0.8234 GB, free: 33.32 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0005369/1.712, allocations: 156.6 kB / 0.8235 GB, free: 33.17 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/1.712, allocations: 256 / 0.8235 GB, free: 33.17 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002267/1.712, allocations: 87.86 kB / 0.8236 GB, free: 33.08 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005088/1.713, allocations: 33.05 kB / 0.8236 GB, free: 33.05 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001094/1.714, allocations: 256.8 kB / 0.8239 GB, free: 32.75 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001533/1.714, allocations: 0.6935 MB / 0.8246 GB, free: 32.03 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003253/1.714, allocations: 43.41 kB / 0.8246 GB, free: 31.99 MB / 426.7 MB Notification: Performance of SimCode: time 1.152e-06/1.714, allocations: 0 / 0.8246 GB, free: 31.99 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.606/4.32, allocations: 5.183 MB / 0.8297 GB, free: 26.79 MB / 426.7 MB (rm -f Modelica_3.2.3_cpp_Modelica.Media.Examples.IdealGasH2O.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Media.Examples.IdealGasH2O.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Media.Examples.IdealGasH2O.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.IdealGasH2O.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.Media.Examples.IdealGasH2O_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_Media_Examples_IdealGasH2O_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_cpp_Modelica_Media_Examples_IdealGasH2O.fmu > Modelica_3.2.3_cpp_Modelica.Media.Examples.IdealGasH2O.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_cpp_Modelica.Media.Examples.IdealGasH2O_res.mat does not exist to compare? outputFormat=mat