Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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: translateModel(IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") translateModel(IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.01065/0.01065, allocations: 172 kB / 15.11 MB, free: 5.98 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8898/0.8898, allocations: 135.2 MB / 151.1 MB, free: 13.82 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.475/1.475, allocations: 223.2 MB / 406.9 MB, free: 3.152 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.0009579/0.0009578, allocations: 99.03 kB / 489.9 MB, free: 10.87 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004314/0.0004314, allocations: 12 kB / 0.5691 GB, free: 14.13 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5857/0.5862, allocations: 82.29 MB / 0.6495 GB, free: 36.11 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9816/1.568, allocations: 397.3 MB / 1.037 GB, free: 9.672 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002774/1.568, allocations: 72.58 kB / 1.037 GB, free: 9.633 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.5201/2.088, allocations: 19.1 MB / 1.056 GB, free: 264.7 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.447e-06/2.088, allocations: 0.6875 kB / 1.056 GB, free: 264.7 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.357e-05/2.088, allocations: 0 / 1.056 GB, free: 264.7 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.0005255/2.089, allocations: 366.2 kB / 1.056 GB, free: 264.4 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.532e-05/2.089, allocations: 8.844 kB / 1.057 GB, free: 264.4 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.832e-05/2.089, allocations: 5.172 kB / 1.057 GB, free: 264.4 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001131/2.089, allocations: 164.2 kB / 1.057 GB, free: 264.2 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.768e-05/2.089, allocations: 27.73 kB / 1.057 GB, free: 264.1 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.762e-05/2.089, allocations: 4.938 kB / 1.057 GB, free: 264.1 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001725/2.09, allocations: 41.39 kB / 1.057 GB, free: 264.1 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.112e-05/2.09, allocations: 7.938 kB / 1.057 GB, free: 264.1 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.684e-05/2.09, allocations: 3.703 kB / 1.057 GB, free: 264.1 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.288e-05/2.09, allocations: 1.25 kB / 1.057 GB, free: 264.1 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.764e-05/2.09, allocations: 9.906 kB / 1.057 GB, free: 264.1 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004721/2.09, allocations: 333.8 kB / 1.057 GB, free: 263.7 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 3.712e-05/2.09, allocations: 16.14 kB / 1.057 GB, free: 263.7 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 7.568e-05/2.09, allocations: 86.28 kB / 1.057 GB, free: 263.6 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.502e-05/2.09, allocations: 40.31 kB / 1.057 GB, free: 263.6 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=1): time 1.452e-06/2.09, allocations: 0 / 1.057 GB, free: 263.6 MB / 0.6823 GB Notification: Performance of matching and sorting (n=1): time 0.0001655/2.09, allocations: 33.52 kB / 1.057 GB, free: 263.5 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.905e-05/2.091, allocations: 52.44 kB / 1.057 GB, free: 263.5 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.018e-05/2.091, allocations: 108.2 kB / 1.057 GB, free: 263.4 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.492e-05/2.091, allocations: 25.7 kB / 1.057 GB, free: 263.3 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 5.077e-05/2.091, allocations: 87.98 kB / 1.058 GB, free: 263.2 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 1.194e-05/2.091, allocations: 9.656 kB / 1.058 GB, free: 263.2 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.076e-06/2.091, allocations: 0 / 1.058 GB, free: 263.2 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 8.044e-05/2.091, allocations: 315.4 kB / 1.058 GB, free: 262.9 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.517e-05/2.091, allocations: 6.562 kB / 1.058 GB, free: 262.9 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.702e-05/2.091, allocations: 17 kB / 1.058 GB, free: 262.9 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.319e-05/2.091, allocations: 7.781 kB / 1.058 GB, free: 262.9 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/2.091, allocations: 0 / 1.058 GB, free: 262.9 MB / 0.6823 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.245e-05/2.091, allocations: 51.91 kB / 1.058 GB, free: 262.9 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.488e-05/2.091, allocations: 5.531 kB / 1.058 GB, free: 262.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/2.091, allocations: 0.9688 kB / 1.058 GB, free: 262.9 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.601e-05/2.091, allocations: 0 / 1.058 GB, free: 262.9 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.835e-05/2.091, allocations: 12.73 kB / 1.058 GB, free: 262.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.071e-05/2.091, allocations: 1.578 kB / 1.058 GB, free: 262.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.16e-05/2.091, allocations: 1.344 kB / 1.058 GB, free: 262.9 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.308e-05/2.091, allocations: 5.422 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 7.034e-05/2.091, allocations: 110.2 kB / 1.058 GB, free: 262.8 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.636e-05/2.091, allocations: 5.094 kB / 1.058 GB, free: 262.7 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001239/2.091, allocations: 126.3 kB / 1.058 GB, free: 262.6 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.612e-05/2.092, allocations: 185.4 kB / 1.058 GB, free: 262.4 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.191e-05/2.092, allocations: 177.5 kB / 1.058 GB, free: 262.3 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.705e-05/2.092, allocations: 184.6 kB / 1.059 GB, free: 262.1 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001788/2.092, allocations: 408 kB / 1.059 GB, free: 261.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.979e-05/2.092, allocations: 109.7 kB / 1.059 GB, free: 261.5 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.736e-05/2.092, allocations: 105.8 kB / 1.059 GB, free: 261.4 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.411e-05/2.092, allocations: 177.1 kB / 1.059 GB, free: 261.2 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.399e-05/2.092, allocations: 184.6 kB / 1.06 GB, free: 261 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.129e-05/2.092, allocations: 177.4 kB / 1.06 GB, free: 260.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.181e-05/2.092, allocations: 180.8 kB / 1.06 GB, free: 260.7 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001059/2.092, allocations: 311.6 kB / 1.06 GB, free: 260.4 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 6.031e-05/2.092, allocations: 188.6 kB / 1.06 GB, free: 260.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.218e-05/2.092, allocations: 181.6 kB / 1.061 GB, free: 260 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001342/2.092, allocations: 109.1 kB / 1.061 GB, free: 259.9 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.788e-05/2.093, allocations: 181.5 kB / 1.061 GB, free: 259.7 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.174e-05/2.093, allocations: 113.9 kB / 1.061 GB, free: 259.6 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 3.812e-05/2.093, allocations: 83.12 kB / 1.061 GB, free: 259.5 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.01e-07/2.093, allocations: 0 / 1.061 GB, free: 259.5 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0003657/2.093, allocations: 19.62 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.0003773/2.093, allocations: 236.6 kB / 1.061 GB, free: 259.3 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0001111/2.094, allocations: 9.875 kB / 1.061 GB, free: 259.3 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.047e-06/2.094, allocations: 0.6562 kB / 1.061 GB, free: 259.3 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 3.095e-06/2.094, allocations: 0.5312 kB / 1.061 GB, free: 259.3 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000334/2.094, allocations: 0.5319 MB / 1.062 GB, free: 258.8 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003318/2.094, allocations: 193.7 kB / 1.062 GB, free: 258.6 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001915/2.094, allocations: 0.6816 MB / 1.063 GB, free: 257.9 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 5.424e-05/2.094, allocations: 11.36 kB / 1.063 GB, free: 257.9 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.418e-05/2.094, allocations: 9.188 kB / 1.063 GB, free: 257.9 MB / 0.6823 GB Notification: Performance of SimCode: time 3.11e-07/2.095, allocations: 0 / 1.063 GB, free: 257.9 MB / 0.6823 GB Notification: Performance of Templates: time 0.004415/2.099, allocations: 1.134 MB / 1.064 GB, free: 257.8 MB / 0.6823 GB make -j1 -f IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.makefile (rm -f IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.sim & ./IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1)