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.002148/0.002153, allocations: 186.2 kB / 16.4 MB, free: 5.746 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.989/1.989, allocations: 205.4 MB / 222.5 MB, free: 9.125 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.001155/0.001156, allocations: 94.08 kB / 270.9 MB, free: 8.375 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003998/0.0003999, allocations: 11.98 kB / 327.1 MB, free: 116 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3273/0.3278, allocations: 47.56 MB / 374.6 MB, free: 45.41 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.175/1.503, allocations: 442.3 MB / 0.7978 GB, free: 6.762 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002303/1.503, allocations: 65.84 kB / 0.7978 GB, free: 6.73 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3446/1.848, allocations: 24.96 MB / 0.8222 GB, free: 158.3 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.924e-06/1.848, allocations: 0 / 0.8222 GB, free: 158.3 MB / 426.7 MB Notification: Performance of Transformations before backend: time 5.561e-06/1.848, allocations: 0 / 0.8222 GB, free: 158.3 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.001095/1.849, allocations: 444.2 kB / 0.8226 GB, free: 157.9 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.295e-05/1.849, allocations: 9.844 kB / 0.8226 GB, free: 157.9 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.221e-05/1.849, allocations: 42.25 kB / 0.8227 GB, free: 157.8 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01011/1.859, allocations: 458.4 kB / 0.8231 GB, free: 157.6 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000113/1.86, allocations: 167 kB / 0.8233 GB, free: 157.4 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.466e-05/1.86, allocations: 7.531 kB / 0.8233 GB, free: 157.4 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001258/1.86, allocations: 7.781 kB / 0.8233 GB, free: 157.4 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00129/1.861, allocations: 300.9 kB / 0.8236 GB, free: 157.2 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.614e-05/1.861, allocations: 4 kB / 0.8236 GB, free: 157.2 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.944e-05/1.861, allocations: 7.25 kB / 0.8236 GB, free: 157.2 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.643e-06/1.861, allocations: 0 / 0.8236 GB, free: 157.2 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001416/1.863, allocations: 271.5 kB / 0.8238 GB, free: 157.1 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00141/1.864, allocations: 420.1 kB / 0.8242 GB, free: 156.7 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001775/1.866, allocations: 220.1 kB / 0.8245 GB, free: 156.5 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.05e-05/1.866, allocations: 7.922 kB / 0.8245 GB, free: 156.5 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.746e-05/1.866, allocations: 34.81 kB / 0.8245 GB, free: 156.5 MB / 426.7 MB Notification: Performance of pre-optimization done (n=13): time 4.418e-06/1.866, allocations: 3.984 kB / 0.8245 GB, free: 156.5 MB / 426.7 MB Notification: Performance of matching and sorting (n=17): time 0.00296/1.869, allocations: 422.8 kB / 0.8249 GB, free: 156.2 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.814e-05/1.869, allocations: 51.41 kB / 0.825 GB, free: 156.1 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.374e-05/1.869, allocations: 92.98 kB / 0.825 GB, free: 156 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.423e-05/1.869, allocations: 33.7 kB / 0.8251 GB, free: 156 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.047e-05/1.869, allocations: 170.2 kB / 0.8252 GB, free: 155.8 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.947e-05/1.869, allocations: 63.09 kB / 0.8253 GB, free: 155.8 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.637e-05/1.869, allocations: 4 kB / 0.8253 GB, free: 155.8 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 5.581e-05/1.869, allocations: 318.8 kB / 0.8256 GB, free: 155.4 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004572/1.87, allocations: 76.25 kB / 0.8257 GB, free: 155.4 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000477/1.87, allocations: 125.1 kB / 0.8258 GB, free: 155.2 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004733/1.871, allocations: 79.97 kB / 0.8259 GB, free: 155.2 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/1.871, allocations: 0 / 0.8259 GB, free: 155.2 MB / 426.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001096/1.872, allocations: 246.4 kB / 0.8261 GB, free: 154.9 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.797e-05/1.872, allocations: 4 kB / 0.8261 GB, free: 154.9 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.678e-06/1.872, allocations: 7.984 kB / 0.8261 GB, free: 154.9 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.956e-05/1.872, allocations: 0 / 0.8261 GB, free: 154.9 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006439/1.873, allocations: 56.03 kB / 0.8262 GB, free: 154.8 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.317e-06/1.873, allocations: 11.94 kB / 0.8262 GB, free: 154.8 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004417/1.873, allocations: 11.98 kB / 0.8262 GB, free: 154.8 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.911e-05/1.873, allocations: 12 kB / 0.8262 GB, free: 154.8 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 () * Number of clocked 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.0001167/1.873, allocations: 113.8 kB / 0.8263 GB, free: 154.7 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.596e-05/1.873, allocations: 11.89 kB / 0.8263 GB, free: 154.7 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001354/1.875, allocations: 274.7 kB / 0.8266 GB, free: 154.4 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.601e-06/1.875, allocations: 4 kB / 0.8266 GB, free: 154.4 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/1.875, allocations: 7.953 kB / 0.8266 GB, free: 154.4 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.588e-06/1.875, allocations: 0 / 0.8266 GB, free: 154.4 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001809/1.877, allocations: 0.5753 MB / 0.8272 GB, free: 153.8 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-06/1.877, allocations: 192 / 0.8272 GB, free: 153.8 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006129/1.877, allocations: 47.89 kB / 0.8272 GB, free: 153.7 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.776e-06/1.877, allocations: 4 kB / 0.8272 GB, free: 153.7 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.512e-05/1.877, allocations: 11.98 kB / 0.8272 GB, free: 153.7 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.15e-06/1.877, allocations: 0 / 0.8272 GB, free: 153.7 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.476e-06/1.877, allocations: 0 / 0.8272 GB, free: 153.7 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001078/1.878, allocations: 366.8 kB / 0.8276 GB, free: 153.3 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.774e-05/1.878, allocations: 81.02 kB / 0.8277 GB, free: 153.2 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.743e-05/1.879, allocations: 8 kB / 0.8277 GB, free: 153.2 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004365/1.879, allocations: 15.98 kB / 0.8277 GB, free: 153.2 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.091e-05/1.879, allocations: 7.984 kB / 0.8277 GB, free: 153.2 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.847e-05/1.879, allocations: 15.98 kB / 0.8277 GB, free: 153.2 MB / 426.7 MB Notification: Performance of sorting global known variables: time 3.582e-05/1.879, allocations: 83.23 kB / 0.8278 GB, free: 153.1 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.01e-07/1.879, allocations: 0 / 0.8278 GB, free: 153.1 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0005929/1.88, allocations: 79.98 kB / 0.8279 GB, free: 153 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 () * Number of clocked 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.002006/1.882, allocations: 1.44 MB / 0.8293 GB, free: 151.5 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001056/1.883, allocations: 193.8 kB / 0.8294 GB, free: 151.3 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/1.883, allocations: 4 kB / 0.8294 GB, free: 151.3 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004914/1.883, allocations: 103.8 kB / 0.8295 GB, free: 151.2 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000479/1.884, allocations: 36.3 kB / 0.8296 GB, free: 151.2 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001449/1.885, allocations: 387.8 kB / 0.83 GB, free: 150.8 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001345/1.885, allocations: 0.7012 MB / 0.8306 GB, free: 150 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000316/1.886, allocations: 43.41 kB / 0.8307 GB, free: 150 MB / 426.7 MB Notification: Performance of SimCode: time 1.353e-06/1.886, allocations: 0 / 0.8307 GB, free: 150 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.851/4.737, allocations: 5.133 MB / 0.8357 GB, free: 144.9 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