Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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_Modelica_Media_Examples_IdealGasH2O",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.IdealGasH2O,fileNamePrefix="Modelica_3_2_3_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.0009585/0.0009584, allocations: 177 kB / 8.7 MB, free: 384 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.878/1.878, allocations: 205.3 MB / 214.4 MB, free: 1.73 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.001087/0.001088, allocations: 82.22 kB / 262.4 MB, free: 1.688 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.985e-05/1.988e-05, allocations: 0 / 315.6 MB, free: 22.64 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1298/0.1298, allocations: 47.59 MB / 363.2 MB, free: 6.984 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.291/1.421, allocations: 441.8 MB / 0.7861 GB, free: 70.13 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002772/1.421, allocations: 64.78 kB / 0.7861 GB, free: 70.1 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05069/1.472, allocations: 24.39 MB / 0.81 GB, free: 50.21 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.593e-06/1.472, allocations: 0 / 0.81 GB, free: 50.21 MB / 426.7 MB Notification: Performance of Transformations before backend: time 8.296e-06/1.472, allocations: 8 kB / 0.81 GB, free: 50.2 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.0008385/1.473, allocations: 434.6 kB / 0.8104 GB, free: 49.74 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.827e-05/1.473, allocations: 8.031 kB / 0.8104 GB, free: 49.73 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005545/1.478, allocations: 469 kB / 0.8108 GB, free: 49.31 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.193e-05/1.478, allocations: 167 kB / 0.811 GB, free: 49.11 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.384e-05/1.478, allocations: 4 kB / 0.811 GB, free: 49.11 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.956e-05/1.478, allocations: 4 kB / 0.811 GB, free: 49.1 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004033/1.479, allocations: 230.5 kB / 0.8112 GB, free: 48.95 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000172/1.479, allocations: 112 kB / 0.8113 GB, free: 48.86 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.19e-05/1.479, allocations: 0 / 0.8113 GB, free: 48.86 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.068e-05/1.479, allocations: 0 / 0.8113 GB, free: 48.86 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.93e-06/1.479, allocations: 0 / 0.8113 GB, free: 48.86 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009007/1.48, allocations: 393.8 kB / 0.8117 GB, free: 48.48 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007113/1.481, allocations: 186.7 kB / 0.8119 GB, free: 48.34 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.059e-05/1.481, allocations: 59.53 kB / 0.8119 GB, free: 48.29 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.318e-05/1.481, allocations: 3.984 kB / 0.8119 GB, free: 48.29 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.535e-05/1.481, allocations: 34.56 kB / 0.812 GB, free: 48.25 MB / 426.7 MB Notification: Performance of pre-optimization done (n=13): time 1.432e-06/1.481, allocations: 0 / 0.812 GB, free: 48.25 MB / 426.7 MB Notification: Performance of matching and sorting (n=17): time 0.0009896/1.482, allocations: 294.2 kB / 0.8123 GB, free: 48.02 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.152e-05/1.482, allocations: 51.41 kB / 0.8123 GB, free: 47.95 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.063e-05/1.482, allocations: 100.7 kB / 0.8124 GB, free: 47.85 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.276e-05/1.482, allocations: 25.7 kB / 0.8124 GB, free: 47.82 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.882e-05/1.482, allocations: 91.89 kB / 0.8125 GB, free: 47.73 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.567e-05/1.482, allocations: 54.77 kB / 0.8126 GB, free: 47.68 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.878e-05/1.482, allocations: 0 / 0.8126 GB, free: 47.68 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 5.175e-05/1.482, allocations: 318.3 kB / 0.8129 GB, free: 47.36 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.906e-05/1.482, allocations: 57.38 kB / 0.8129 GB, free: 47.32 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.499e-05/1.482, allocations: 94.33 kB / 0.813 GB, free: 47.24 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.988e-05/1.482, allocations: 72.03 kB / 0.8131 GB, free: 47.2 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/1.482, allocations: 3.953 kB / 0.8131 GB, free: 47.19 MB / 426.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002624/1.483, allocations: 191 kB / 0.8133 GB, free: 47.04 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.455e-05/1.483, allocations: 4 kB / 0.8133 GB, free: 47.04 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.209e-06/1.483, allocations: 0 / 0.8133 GB, free: 47.04 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.901e-05/1.483, allocations: 4 kB / 0.8133 GB, free: 47.04 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003373/1.483, allocations: 51.89 kB / 0.8133 GB, free: 46.98 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.929e-06/1.483, allocations: 0 / 0.8133 GB, free: 46.98 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002237/1.483, allocations: 11.98 kB / 0.8133 GB, free: 46.97 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.137e-05/1.483, allocations: 19.86 kB / 0.8134 GB, free: 46.96 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 8.144e-05/1.484, allocations: 108.9 kB / 0.8135 GB, free: 46.84 MB / 426.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002538/1.484, allocations: 172.3 kB / 0.8136 GB, free: 46.71 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.514e-05/1.484, allocations: 7.906 kB / 0.8136 GB, free: 46.7 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004217/1.484, allocations: 227.6 kB / 0.8138 GB, free: 46.52 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.497e-06/1.484, allocations: 4 kB / 0.8139 GB, free: 46.52 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/1.484, allocations: 0 / 0.8139 GB, free: 46.52 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/1.484, allocations: 0 / 0.8139 GB, free: 46.52 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007041/1.485, allocations: 0.5005 MB / 0.8143 GB, free: 46.04 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/1.485, allocations: 0 / 0.8143 GB, free: 46.04 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003086/1.485, allocations: 43.95 kB / 0.8144 GB, free: 45.99 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.589e-06/1.485, allocations: 7.984 kB / 0.8144 GB, free: 45.98 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.192e-05/1.485, allocations: 11.36 kB / 0.8144 GB, free: 45.98 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/1.485, allocations: 7.953 kB / 0.8144 GB, free: 45.97 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/1.485, allocations: 0 / 0.8144 GB, free: 45.97 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002702/1.486, allocations: 299.6 kB / 0.8147 GB, free: 45.68 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.452e-05/1.486, allocations: 88.97 kB / 0.8148 GB, free: 45.58 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.526e-05/1.486, allocations: 3.984 kB / 0.8148 GB, free: 45.57 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002464/1.486, allocations: 11.98 kB / 0.8148 GB, free: 45.56 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.047e-05/1.486, allocations: 19.86 kB / 0.8148 GB, free: 45.55 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.047e-05/1.486, allocations: 8 kB / 0.8148 GB, free: 45.54 MB / 426.7 MB Notification: Performance of sorting global known variables: time 2.284e-05/1.486, allocations: 83.27 kB / 0.8149 GB, free: 45.46 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.31e-07/1.486, allocations: 0 / 0.8149 GB, free: 45.46 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0004056/1.487, allocations: 66.12 kB / 0.815 GB, free: 45.41 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.001023/1.488, allocations: 1.465 MB / 0.8164 GB, free: 43.95 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002408/1.488, allocations: 147.9 kB / 0.8165 GB, free: 43.81 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/1.488, allocations: 0 / 0.8165 GB, free: 43.81 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000102/1.488, allocations: 87.84 kB / 0.8166 GB, free: 43.72 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003149/1.488, allocations: 27.97 kB / 0.8166 GB, free: 43.7 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006336/1.489, allocations: 207.8 kB / 0.8168 GB, free: 43.45 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001319/1.489, allocations: 0.6932 MB / 0.8175 GB, free: 42.73 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0003762/1.489, allocations: 60.72 kB / 0.8176 GB, free: 42.67 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001615/1.49, allocations: 39.41 kB / 0.8176 GB, free: 42.63 MB / 426.7 MB Notification: Performance of SimCode: time 2.7e-07/1.49, allocations: 4 kB / 0.8176 GB, free: 42.62 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02472/1.514, allocations: 7.252 MB / 0.8247 GB, free: 35.36 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002595/1.515, allocations: 116 kB / 0.8248 GB, free: 35.18 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.88/3.394, allocations: 3.938 kB / 0.8248 GB, free: 35.17 MB / 426.7 MB (rm -f Modelica_3.2.3_Modelica.Media.Examples.IdealGasH2O.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.IdealGasH2O.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.IdealGasH2O.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.IdealGasH2O.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.IdealGasH2O_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_IdealGasH2O_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_IdealGasH2O.fmu > Modelica_3.2.3_Modelica.Media.Examples.IdealGasH2O.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Media.Examples.IdealGasH2O_res.mat does not exist to compare? outputFormat=mat