Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.IdealGasH2O.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.IdealGasH2O,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_IdealGasH2O",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.IdealGasH2O,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_IdealGasH2O",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00161/0.00161, allocations: 179.5 kB / 16.38 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.434/1.434, allocations: 223.2 MB / 240.3 MB, free: 11.89 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001053/0.001053, allocations: 93.95 kB / 291.5 MB, free: 10.9 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002787/0.0002787, allocations: 7.938 kB / 351.2 MB, free: 15.21 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3017/0.302, allocations: 50.41 MB / 401.6 MB, free: 32.57 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9795/1.282, allocations: 443.3 MB / 0.8251 GB, free: 25.46 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000192/1.282, allocations: 67.78 kB / 0.8251 GB, free: 25.42 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05014/1.332, allocations: 25.5 MB / 0.85 GB, free: 3.871 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.184e-06/1.332, allocations: 0 / 0.85 GB, free: 3.871 MB / 458.7 MB Notification: Performance of Transformations before backend: time 7.334e-06/1.332, allocations: 0 / 0.85 GB, free: 3.871 MB / 458.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.0007649/1.333, allocations: 445.4 kB / 0.8504 GB, free: 3.398 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.224e-05/1.333, allocations: 8.031 kB / 0.8505 GB, free: 3.391 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.449e-05/1.333, allocations: 38.12 kB / 0.8505 GB, free: 3.348 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005565/1.338, allocations: 461.9 kB / 0.8509 GB, free: 2.93 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001007/1.339, allocations: 170.9 kB / 0.8511 GB, free: 2.723 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.975e-05/1.339, allocations: 7.812 kB / 0.8511 GB, free: 2.719 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.05e-05/1.339, allocations: 4 kB / 0.8511 GB, free: 2.715 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007458/1.339, allocations: 304.1 kB / 0.8514 GB, free: 2.48 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.792e-05/1.339, allocations: 0 / 0.8514 GB, free: 2.48 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.717e-05/1.34, allocations: 7.625 kB / 0.8514 GB, free: 2.477 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.895e-06/1.34, allocations: 4 kB / 0.8514 GB, free: 2.473 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007423/1.34, allocations: 269.3 kB / 0.8517 GB, free: 2.285 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009805/1.341, allocations: 426.9 kB / 0.8521 GB, free: 1.871 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001037/1.342, allocations: 225.1 kB / 0.8523 GB, free: 1.688 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.139e-05/1.342, allocations: 4 kB / 0.8523 GB, free: 1.684 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.18e-05/1.342, allocations: 38.52 kB / 0.8523 GB, free: 1.637 MB / 458.7 MB Notification: Performance of pre-optimization done (n=13): time 1.884e-06/1.342, allocations: 0 / 0.8523 GB, free: 1.637 MB / 458.7 MB Notification: Performance of matching and sorting (n=17): time 0.001738/1.344, allocations: 423.4 kB / 0.8527 GB, free: 1.32 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.481e-05/1.344, allocations: 51.41 kB / 0.8528 GB, free: 1.258 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.311e-05/1.344, allocations: 89 kB / 0.8529 GB, free: 1.164 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.626e-05/1.344, allocations: 33.39 kB / 0.8529 GB, free: 1.129 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.908e-05/1.344, allocations: 95.88 kB / 0.853 GB, free: 1.031 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.355e-05/1.344, allocations: 66.84 kB / 0.853 GB, free: 0.9727 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.723e-05/1.344, allocations: 3.938 kB / 0.8531 GB, free: 0.9727 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 6.583e-05/1.345, allocations: 314.5 kB / 0.8534 GB, free: 0.6602 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002283/1.345, allocations: 81.81 kB / 0.8534 GB, free: 0.5977 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002363/1.345, allocations: 117.5 kB / 0.8535 GB, free: 0.4922 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002525/1.345, allocations: 81.78 kB / 0.8536 GB, free: 452 kB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/1.345, allocations: 0 / 0.8536 GB, free: 452 kB / 458.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0006144/1.346, allocations: 250.6 kB / 0.8539 GB, free: 252 kB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.255e-05/1.346, allocations: 4 kB / 0.8539 GB, free: 248 kB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.125e-06/1.346, allocations: 4 kB / 0.8539 GB, free: 244 kB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.232e-05/1.346, allocations: 0 / 0.8539 GB, free: 244 kB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003546/1.346, allocations: 49.52 kB / 0.8539 GB, free: 196 kB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.155e-05/1.346, allocations: 8.062 kB / 0.8539 GB, free: 188 kB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002445/1.347, allocations: 17.8 kB / 0.8539 GB, free: 172 kB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.949e-05/1.347, allocations: 9 kB / 0.8539 GB, free: 164 kB / 458.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.0001134/1.347, allocations: 124.2 kB / 0.8541 GB, free: 40 kB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.196e-05/1.347, allocations: 15.8 kB / 0.8541 GB, free: 24 kB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2696/1.616, allocations: 274.5 kB / 0.8543 GB, free: 164.8 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.244e-06/1.616, allocations: 4.812 kB / 0.8543 GB, free: 164.8 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.544e-06/1.616, allocations: 2.453 kB / 0.8544 GB, free: 164.8 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.292e-06/1.616, allocations: 1.938 kB / 0.8544 GB, free: 164.8 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00139/1.618, allocations: 0.5697 MB / 0.8549 GB, free: 164.5 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.21e-06/1.618, allocations: 2.031 kB / 0.8549 GB, free: 164.5 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003722/1.618, allocations: 45.34 kB / 0.855 GB, free: 164.5 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.216e-06/1.618, allocations: 5.906 kB / 0.855 GB, free: 164.5 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.271e-05/1.618, allocations: 9.203 kB / 0.855 GB, free: 164.5 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.113e-06/1.618, allocations: 5.391 kB / 0.855 GB, free: 164.5 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/1.618, allocations: 1.094 kB / 0.855 GB, free: 164.5 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006999/1.619, allocations: 348.2 kB / 0.8553 GB, free: 164.3 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.887e-05/1.619, allocations: 83.58 kB / 0.8554 GB, free: 164.2 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.37e-05/1.619, allocations: 10.66 kB / 0.8554 GB, free: 164.2 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002675/1.619, allocations: 15.2 kB / 0.8554 GB, free: 164.2 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.696e-05/1.619, allocations: 18.44 kB / 0.8554 GB, free: 164.2 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.595e-05/1.619, allocations: 9.531 kB / 0.8554 GB, free: 164.2 MB / 458.7 MB Notification: Performance of sorting global known variables: time 3.339e-05/1.62, allocations: 84.03 kB / 0.8555 GB, free: 164.1 MB / 458.7 MB Notification: Performance of sort global known variables: time 2.1e-07/1.62, allocations: 0 / 0.8555 GB, free: 164.1 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0005223/1.62, allocations: 69.2 kB / 0.8556 GB, free: 164.1 MB / 458.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.001619/1.622, allocations: 1.439 MB / 0.857 GB, free: 163.3 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0006624/1.622, allocations: 191.9 kB / 0.8572 GB, free: 163.3 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/1.622, allocations: 3.828 kB / 0.8572 GB, free: 163.3 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002733/1.623, allocations: 103.1 kB / 0.8573 GB, free: 163.3 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003078/1.623, allocations: 40.08 kB / 0.8573 GB, free: 163.3 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009832/1.624, allocations: 358.5 kB / 0.8577 GB, free: 163.1 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001599/1.624, allocations: 0.7003 MB / 0.8583 GB, free: 162.4 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0003877/1.625, allocations: 53.78 kB / 0.8584 GB, free: 162.4 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001774/1.625, allocations: 47.34 kB / 0.8584 GB, free: 162.4 MB / 458.7 MB Notification: Performance of SimCode: time 2.4e-07/1.625, allocations: 0 / 0.8584 GB, free: 162.4 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02455/1.649, allocations: 11.75 MB / 0.8699 GB, free: 161.7 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001763/1.65, allocations: 161.9 kB / 0.8701 GB, free: 161.5 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.049/3.698, allocations: 0 / 0.8701 GB, free: 161.5 MB / 458.7 MB (rm -f Modelica_4.0.0_Modelica.Media.Examples.IdealGasH2O.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.IdealGasH2O.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.IdealGasH2O.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.IdealGasH2O.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Media.Examples.IdealGasH2O_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Media_Examples_IdealGasH2O_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Media_Examples_IdealGasH2O.fmu > Modelica_4.0.0_Modelica.Media.Examples.IdealGasH2O.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Media.Examples.IdealGasH2O_res.mat does not exist to compare? outputFormat=mat