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/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/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_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") translateModel(IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.001355/0.001355, allocations: 169 kB / 7.645 MB, free: 1.434 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7423/0.7423, allocations: 130.7 MB / 138.7 MB, free: 3.504 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.551/1.551, allocations: 221.5 MB / 391.8 MB, free: 14.17 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.0008889/0.0008887, allocations: 99.55 kB / 473.9 MB, free: 4.461 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.586e-05/1.589e-05, allocations: 0 / 0.5485 GB, free: 13.08 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5076/0.5077, allocations: 81.57 MB / 0.6281 GB, free: 42.95 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8996/1.407, allocations: 396.3 MB / 1.015 GB, free: 13 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002712/1.408, allocations: 72.2 kB / 1.015 GB, free: 12.97 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.04063/1.448, allocations: 18.95 MB / 1.034 GB, free: 13.75 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.292e-06/1.448, allocations: 0 / 1.034 GB, free: 13.75 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 9.077e-06/1.448, allocations: 0 / 1.034 GB, free: 13.75 MB / 0.6667 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.0003976/1.449, allocations: 354.1 kB / 1.034 GB, free: 13.37 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 3.948e-05/1.449, allocations: 8.031 kB / 1.034 GB, free: 13.36 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.461e-05/1.449, allocations: 11.91 kB / 1.034 GB, free: 13.35 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001491/1.449, allocations: 163 kB / 1.034 GB, free: 13.15 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.959e-05/1.449, allocations: 25.7 kB / 1.034 GB, free: 13.12 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.649e-05/1.449, allocations: 4 kB / 1.034 GB, free: 13.11 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.762e-05/1.449, allocations: 11.98 kB / 1.034 GB, free: 13.1 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.207e-05/1.449, allocations: 41.06 kB / 1.034 GB, free: 13.06 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/1.449, allocations: 0 / 1.034 GB, free: 13.06 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.4e-05/1.449, allocations: 7.938 kB / 1.034 GB, free: 13.05 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.146e-05/1.449, allocations: 0 / 1.034 GB, free: 13.05 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005105/1.45, allocations: 314.3 kB / 1.035 GB, free: 12.7 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 4.57e-05/1.45, allocations: 18.58 kB / 1.035 GB, free: 12.67 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.956e-05/1.45, allocations: 8.797 kB / 1.035 GB, free: 12.66 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 8.225e-05/1.45, allocations: 81.17 kB / 1.035 GB, free: 12.56 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.625e-05/1.45, allocations: 34.56 kB / 1.035 GB, free: 12.52 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=1): time 1.182e-06/1.45, allocations: 4 kB / 1.035 GB, free: 12.51 MB / 0.6667 GB Notification: Performance of matching and sorting (n=1): time 0.0002164/1.45, allocations: 37.62 kB / 1.035 GB, free: 12.47 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.115e-05/1.45, allocations: 55.16 kB / 1.035 GB, free: 12.41 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.189e-05/1.451, allocations: 89 kB / 1.035 GB, free: 12.31 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 2.078e-05/1.451, allocations: 25.7 kB / 1.035 GB, free: 12.28 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 4.471e-05/1.451, allocations: 91.23 kB / 1.035 GB, free: 12.19 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 7.283e-06/1.451, allocations: 3.906 kB / 1.035 GB, free: 12.19 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.056e-06/1.451, allocations: 0 / 1.035 GB, free: 12.19 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001253/1.451, allocations: 322.8 kB / 1.035 GB, free: 11.86 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.212e-05/1.451, allocations: 4 kB / 1.035 GB, free: 11.86 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.936e-05/1.451, allocations: 17.22 kB / 1.035 GB, free: 11.84 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.581e-05/1.451, allocations: 7.984 kB / 1.035 GB, free: 11.83 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.482e-06/1.451, allocations: 0 / 1.035 GB, free: 11.83 MB / 0.6667 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001017/1.451, allocations: 53.12 kB / 1.035 GB, free: 11.78 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.687e-05/1.451, allocations: 5.719 kB / 1.035 GB, free: 11.77 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/1.451, allocations: 4.062 kB / 1.035 GB, free: 11.77 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.552e-05/1.451, allocations: 0 / 1.035 GB, free: 11.77 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.968e-05/1.451, allocations: 8 kB / 1.035 GB, free: 11.76 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.02e-06/1.451, allocations: 0 / 1.035 GB, free: 11.76 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.98e-05/1.451, allocations: 3.938 kB / 1.035 GB, free: 11.76 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.655e-06/1.451, allocations: 0 / 1.035 GB, free: 11.76 MB / 0.6667 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 () * 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 6.944e-05/1.451, allocations: 108.9 kB / 1.036 GB, free: 11.64 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.384e-05/1.451, allocations: 0 / 1.036 GB, free: 11.64 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001408/1.451, allocations: 125.8 kB / 1.036 GB, free: 11.51 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.731e-05/1.451, allocations: 176.3 kB / 1.036 GB, free: 11.33 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.779e-05/1.452, allocations: 179.9 kB / 1.036 GB, free: 11.15 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.902e-05/1.452, allocations: 188.2 kB / 1.036 GB, free: 10.96 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002312/1.452, allocations: 381.7 kB / 1.037 GB, free: 10.54 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.262e-05/1.452, allocations: 113 kB / 1.037 GB, free: 10.43 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.973e-05/1.452, allocations: 104.9 kB / 1.037 GB, free: 10.32 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.736e-05/1.452, allocations: 179.6 kB / 1.037 GB, free: 10.14 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.485e-05/1.452, allocations: 176.3 kB / 1.037 GB, free: 9.957 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.185e-05/1.452, allocations: 188.3 kB / 1.037 GB, free: 9.766 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.552e-05/1.452, allocations: 184.2 kB / 1.037 GB, free: 9.578 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001622/1.452, allocations: 319.2 kB / 1.038 GB, free: 9.246 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 8.762e-05/1.453, allocations: 182 kB / 1.038 GB, free: 9.043 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.097e-05/1.453, allocations: 180.2 kB / 1.038 GB, free: 8.859 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001335/1.453, allocations: 108.9 kB / 1.038 GB, free: 8.746 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.358e-05/1.453, allocations: 184.3 kB / 1.038 GB, free: 8.559 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.071e-05/1.453, allocations: 101 kB / 1.039 GB, free: 8.453 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 5.281e-05/1.453, allocations: 86.89 kB / 1.039 GB, free: 8.371 MB / 0.6667 GB Notification: Performance of sort global known variables: time 2.324e-06/1.453, allocations: 0 / 1.039 GB, free: 8.371 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0002895/1.453, allocations: 23.81 kB / 1.039 GB, free: 8.352 MB / 0.6667 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 () * 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.000284/1.454, allocations: 227.4 kB / 1.039 GB, free: 8.121 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 6.456e-05/1.454, allocations: 11.98 kB / 1.039 GB, free: 8.109 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/1.454, allocations: 0 / 1.039 GB, free: 8.109 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 1.032e-06/1.454, allocations: 0 / 1.039 GB, free: 8.109 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00034/1.454, allocations: 0.53 MB / 1.039 GB, free: 7.578 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001816/1.454, allocations: 127.4 kB / 1.039 GB, free: 7.43 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002327/1.454, allocations: 0.6768 MB / 1.04 GB, free: 6.727 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 4.482e-05/1.455, allocations: 11.92 kB / 1.04 GB, free: 6.715 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.724e-05/1.455, allocations: 11.44 kB / 1.04 GB, free: 6.703 MB / 0.6667 GB Notification: Performance of SimCode: time 2.21e-07/1.455, allocations: 0 / 1.04 GB, free: 6.703 MB / 0.6667 GB Notification: Performance of Templates: time 0.002873/1.457, allocations: 0.8353 MB / 1.041 GB, free: 5.883 MB / 0.6667 GB make -j1 -f IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.makefile (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 & ./IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1)