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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001813/0.001813, allocations: 186.6 kB / 7.46 MB, free: 2.516 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.5995/0.5995, allocations: 133.5 MB / 141.4 MB, free: 15.79 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.139/1.139, allocations: 221.3 MB / 395 MB, free: 10.23 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00084/0.0008399, allocations: 92.72 kB / 477.8 MB, free: 10.85 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 4.338e-06/4.358e-06, allocations: 0 / 0.5528 GB, free: 88.86 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1168/0.1168, allocations: 82.31 MB / 0.6332 GB, free: 14.14 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7354/0.8522, allocations: 396.5 MB / 1.02 GB, free: 238.9 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001878/0.8525, allocations: 71.95 kB / 1.02 GB, free: 238.8 MB / 0.6823 GB Notification: Performance of FrontEnd: time 0.03196/0.8844, allocations: 18.7 MB / 1.039 GB, free: 220.1 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 6.262e-06/0.8845, allocations: 8 kB / 1.039 GB, free: 220 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.0002253/0.8847, allocations: 350.4 kB / 1.039 GB, free: 219.7 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.004e-05/0.8847, allocations: 8.031 kB / 1.039 GB, free: 219.6 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.496e-05/0.8848, allocations: 7.844 kB / 1.039 GB, free: 219.6 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.147e-05/0.8848, allocations: 167 kB / 1.039 GB, free: 219.4 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.936e-05/0.8849, allocations: 25.7 kB / 1.039 GB, free: 219.4 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.402e-06/0.8849, allocations: 0 / 1.039 GB, free: 219.4 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.183e-05/0.885, allocations: 15.98 kB / 1.039 GB, free: 219.4 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.78e-05/0.885, allocations: 49.58 kB / 1.039 GB, free: 219.3 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.795e-06/0.8851, allocations: 0 / 1.039 GB, free: 219.3 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.558e-06/0.8851, allocations: 4 kB / 1.039 GB, free: 219.3 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.476e-05/0.8851, allocations: 4 kB / 1.039 GB, free: 219.3 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002834/0.8854, allocations: 310.5 kB / 1.04 GB, free: 219 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 1.966e-05/0.8854, allocations: 22.52 kB / 1.04 GB, free: 218.9 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.128e-05/0.8854, allocations: 4.859 kB / 1.04 GB, free: 218.9 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 5.364e-05/0.8855, allocations: 89.16 kB / 1.04 GB, free: 218.8 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.073e-05/0.8855, allocations: 42.55 kB / 1.04 GB, free: 218.8 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=1): time 1.062e-06/0.8855, allocations: 0 / 1.04 GB, free: 218.8 MB / 0.6823 GB Notification: Performance of matching and sorting (n=1): time 0.0001339/0.8857, allocations: 29.7 kB / 1.04 GB, free: 218.7 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.302e-05/0.8857, allocations: 51.41 kB / 1.04 GB, free: 218.7 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.516e-05/0.8857, allocations: 97 kB / 1.04 GB, free: 218.6 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 8.376e-06/0.8857, allocations: 29.69 kB / 1.04 GB, free: 218.5 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 2.028e-05/0.8858, allocations: 88.08 kB / 1.04 GB, free: 218.4 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 4.438e-06/0.8858, allocations: 3.906 kB / 1.04 GB, free: 218.4 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.835e-06/0.8858, allocations: 3.938 kB / 1.04 GB, free: 218.4 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 3.178e-05/0.8858, allocations: 310.8 kB / 1.04 GB, free: 218.1 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.906e-06/0.8858, allocations: 8 kB / 1.04 GB, free: 218.1 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.303e-05/0.8859, allocations: 13.72 kB / 1.04 GB, free: 218.1 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.087e-05/0.8859, allocations: 7.984 kB / 1.04 GB, free: 218.1 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.8859, allocations: 4 kB / 1.04 GB, free: 218.1 MB / 0.6823 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.026e-05/0.886, allocations: 49.69 kB / 1.04 GB, free: 218 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 9.458e-06/0.886, allocations: 4 kB / 1.04 GB, free: 218 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.808e-06/0.886, allocations: 0 / 1.04 GB, free: 218 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.411e-05/0.8861, allocations: 3.906 kB / 1.04 GB, free: 218 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.651e-05/0.8861, allocations: 15.92 kB / 1.04 GB, free: 218 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.497e-06/0.8861, allocations: 0 / 1.04 GB, free: 218 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.76e-05/0.8861, allocations: 7.875 kB / 1.04 GB, free: 218 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.062e-06/0.8861, allocations: 4 kB / 1.04 GB, free: 218 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 () * 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 3.596e-05/0.8862, allocations: 105 kB / 1.041 GB, free: 217.9 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.088e-05/0.8862, allocations: 7.844 kB / 1.041 GB, free: 217.9 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.276e-05/0.8863, allocations: 117 kB / 1.041 GB, free: 217.8 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.856e-05/0.8863, allocations: 180.2 kB / 1.041 GB, free: 217.6 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.134e-05/0.8864, allocations: 180.3 kB / 1.041 GB, free: 217.4 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.161e-05/0.8864, allocations: 184.3 kB / 1.041 GB, free: 217.2 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001016/0.8865, allocations: 385.7 kB / 1.042 GB, free: 216.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.235e-05/0.8865, allocations: 101 kB / 1.042 GB, free: 216.7 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.181e-05/0.8865, allocations: 101 kB / 1.042 GB, free: 216.6 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.228e-05/0.8866, allocations: 184.1 kB / 1.042 GB, free: 216.4 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.123e-05/0.8866, allocations: 184.2 kB / 1.042 GB, free: 216.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.871e-05/0.8866, allocations: 184.3 kB / 1.042 GB, free: 216 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.979e-05/0.8866, allocations: 180.3 kB / 1.042 GB, free: 215.8 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 5.477e-05/0.8867, allocations: 299.8 kB / 1.043 GB, free: 215.5 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 3.057e-05/0.8867, allocations: 195.2 kB / 1.043 GB, free: 215.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.548e-05/0.8868, allocations: 184.3 kB / 1.043 GB, free: 215.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001102/0.8869, allocations: 109 kB / 1.043 GB, free: 215 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.941e-05/0.8869, allocations: 180.2 kB / 1.043 GB, free: 214.8 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.281e-05/0.8869, allocations: 101 kB / 1.043 GB, free: 214.7 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.258e-05/0.887, allocations: 87.28 kB / 1.044 GB, free: 214.6 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002266/0.8872, allocations: 27.98 kB / 1.044 GB, free: 214.6 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 () * 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.0001675/0.8874, allocations: 222.8 kB / 1.044 GB, free: 214.4 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 5.153e-05/0.8874, allocations: 16.23 kB / 1.044 GB, free: 214.3 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.8874, allocations: 0 / 1.044 GB, free: 214.3 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 9.42e-07/0.8874, allocations: 0 / 1.044 GB, free: 214.3 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001948/0.8876, allocations: 0.5264 MB / 1.044 GB, free: 213.8 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001169/0.8878, allocations: 131.1 kB / 1.044 GB, free: 213.7 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001004/0.8879, allocations: 0.688 MB / 1.045 GB, free: 212.9 MB / 0.6823 GB Notification: Performance of SimCode: time 2e-07/0.8879, allocations: 0 / 1.045 GB, free: 212.9 MB / 0.6823 GB Notification: Performance of Templates: time 0.002274/0.8902, allocations: 0.8697 MB / 1.046 GB, free: 212.1 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)