Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.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/IDEAS 3.0.0-master/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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(IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,fileNamePrefix="IDEAS_IDEAS_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,fileNamePrefix="IDEAS_IDEAS_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion",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.01658/0.01658, allocations: 172 kB / 15.11 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9357/0.9357, allocations: 135.2 MB / 151 MB, free: 13.83 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.757/1.757, allocations: 223.2 MB / 406.8 MB, free: 3.242 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009417/0.0009417, allocations: 99.7 kB / 489.9 MB, free: 10.93 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003612/0.0003613, allocations: 8 kB / 0.5691 GB, free: 14.1 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4023/0.4027, allocations: 82.3 MB / 0.6495 GB, free: 36.16 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7217/1.124, allocations: 397.3 MB / 1.037 GB, free: 9.719 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002362/1.125, allocations: 71.59 kB / 1.038 GB, free: 9.684 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.4055/1.53, allocations: 19.1 MB / 1.056 GB, free: 264.8 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.204e-06/1.53, allocations: 7.875 kB / 1.056 GB, free: 264.8 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.088e-05/1.53, allocations: 5.75 kB / 1.056 GB, free: 264.8 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003752/1.531, allocations: 361.7 kB / 1.057 GB, free: 264.4 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.068e-05/1.531, allocations: 9.625 kB / 1.057 GB, free: 264.4 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.524e-05/1.531, allocations: 34.97 kB / 1.057 GB, free: 264.3 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.482e-05/1.531, allocations: 5.031 kB / 1.057 GB, free: 264.3 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.402e-05/1.531, allocations: 171.1 kB / 1.057 GB, free: 264.1 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.01e-05/1.531, allocations: 27.42 kB / 1.057 GB, free: 264.1 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.714e-06/1.531, allocations: 1.188 kB / 1.057 GB, free: 264.1 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001366/1.531, allocations: 44.02 kB / 1.057 GB, free: 264.1 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.605e-06/1.531, allocations: 0.6562 kB / 1.057 GB, free: 264.1 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.11e-05/1.531, allocations: 1.375 kB / 1.057 GB, free: 264.1 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.567e-05/1.531, allocations: 0 / 1.057 GB, free: 264.1 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.533e-05/1.531, allocations: 22.94 kB / 1.057 GB, free: 264.1 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003661/1.532, allocations: 331.3 kB / 1.057 GB, free: 263.7 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 3.461e-05/1.532, allocations: 16.61 kB / 1.057 GB, free: 263.7 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 6.527e-05/1.532, allocations: 85.62 kB / 1.057 GB, free: 263.6 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.786e-05/1.532, allocations: 36.22 kB / 1.057 GB, free: 263.5 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=1): time 1.002e-06/1.532, allocations: 0 / 1.057 GB, free: 263.5 MB / 0.6823 GB Notification: Performance of matching and sorting (n=1): time 0.0001349/1.532, allocations: 41.98 kB / 1.057 GB, free: 263.5 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.72e-05/1.532, allocations: 56.48 kB / 1.057 GB, free: 263.4 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.657e-05/1.532, allocations: 96.98 kB / 1.057 GB, free: 263.4 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.278e-05/1.532, allocations: 25.7 kB / 1.058 GB, free: 263.3 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 3.292e-05/1.532, allocations: 89.06 kB / 1.058 GB, free: 263.2 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 6.802e-06/1.532, allocations: 8.562 kB / 1.058 GB, free: 263.2 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.395e-06/1.532, allocations: 1.156 kB / 1.058 GB, free: 263.2 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 5.36e-05/1.532, allocations: 315.6 kB / 1.058 GB, free: 262.9 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.443e-05/1.532, allocations: 6.906 kB / 1.058 GB, free: 262.9 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.966e-05/1.532, allocations: 16.59 kB / 1.058 GB, free: 262.9 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.24e-05/1.532, allocations: 4.562 kB / 1.058 GB, free: 262.9 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/1.532, allocations: 0 / 1.058 GB, free: 262.9 MB / 0.6823 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.903e-05/1.532, allocations: 50.48 kB / 1.058 GB, free: 262.9 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.626e-05/1.532, allocations: 4.156 kB / 1.058 GB, free: 262.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/1.532, allocations: 1.156 kB / 1.058 GB, free: 262.9 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.291e-05/1.532, allocations: 4.75 kB / 1.058 GB, free: 262.9 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.666e-05/1.532, allocations: 8.969 kB / 1.058 GB, free: 262.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/1.532, allocations: 0.875 kB / 1.058 GB, free: 262.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.986e-05/1.532, allocations: 4.766 kB / 1.058 GB, free: 262.9 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.707e-06/1.532, allocations: 2.281 kB / 1.058 GB, free: 262.9 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (3): * Single equations (assignments): 3 * 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 5.349e-05/1.533, allocations: 111.3 kB / 1.058 GB, free: 262.7 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.51e-05/1.533, allocations: 3.812 kB / 1.058 GB, free: 262.7 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.428e-05/1.533, allocations: 128.7 kB / 1.058 GB, free: 262.6 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.851e-05/1.533, allocations: 187.3 kB / 1.058 GB, free: 262.4 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.363e-05/1.533, allocations: 182.1 kB / 1.059 GB, free: 262.2 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.057e-05/1.533, allocations: 176.8 kB / 1.059 GB, free: 262.1 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001322/1.533, allocations: 410.8 kB / 1.059 GB, free: 261.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.672e-05/1.533, allocations: 102.6 kB / 1.059 GB, free: 261.5 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.743e-05/1.533, allocations: 112.7 kB / 1.059 GB, free: 261.4 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.629e-05/1.533, allocations: 177.6 kB / 1.06 GB, free: 261.2 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.269e-05/1.533, allocations: 180.4 kB / 1.06 GB, free: 261 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.81e-05/1.533, allocations: 181.4 kB / 1.06 GB, free: 260.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.877e-05/1.533, allocations: 180.4 kB / 1.06 GB, free: 260.7 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.171e-05/1.533, allocations: 315.5 kB / 1.06 GB, free: 260.4 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 3.904e-05/1.533, allocations: 190.1 kB / 1.061 GB, free: 260.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.437e-05/1.533, allocations: 185.2 kB / 1.061 GB, free: 260 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001144/1.533, allocations: 109 kB / 1.061 GB, free: 259.9 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.328e-05/1.533, allocations: 185.3 kB / 1.061 GB, free: 259.7 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.818e-05/1.533, allocations: 106.1 kB / 1.061 GB, free: 259.6 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 3.193e-05/1.533, allocations: 86.31 kB / 1.061 GB, free: 259.5 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.51e-07/1.533, allocations: 1.219 kB / 1.061 GB, free: 259.5 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002701/1.534, allocations: 12.75 kB / 1.061 GB, free: 259.5 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (0): * Single equations (assignments): 0 * 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.0004377/1.534, allocations: 0.8696 MB / 1.062 GB, free: 258.7 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 7.742e-05/1.534, allocations: 5.875 kB / 1.062 GB, free: 258.7 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/1.534, allocations: 0.6562 kB / 1.062 GB, free: 258.7 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 1.393e-06/1.534, allocations: 0 / 1.062 GB, free: 258.7 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002539/1.535, allocations: 0.5286 MB / 1.063 GB, free: 258.1 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004039/1.535, allocations: 227.6 kB / 1.063 GB, free: 257.9 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001495/1.535, allocations: 0.6769 MB / 1.063 GB, free: 257.2 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 4.581e-05/1.535, allocations: 8 kB / 1.063 GB, free: 257.2 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.779e-05/1.535, allocations: 9.875 kB / 1.063 GB, free: 257.2 MB / 0.6823 GB Notification: Performance of SimCode: time 4.338e-06/1.535, allocations: 0 / 1.063 GB, free: 257.2 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01432/1.55, allocations: 2.004 MB / 1.065 GB, free: 257 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001819/1.55, allocations: 189.2 kB / 1.066 GB, free: 256.7 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.607/3.157, allocations: 6.688 kB / 1.066 GB, free: 256.7 MB / 0.6823 GB (rm -f IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion.fmu > IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1)