Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.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.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid") translateModel(IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid") [: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.001757/0.001757, allocations: 187.3 kB / 7.462 MB, free: 2.246 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.6034/0.6034, allocations: 133.5 MB / 141.4 MB, free: 15.66 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.163/1.163, allocations: 221.3 MB / 395 MB, free: 10.25 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.0008733/0.0008734, allocations: 100.3 kB / 477.8 MB, free: 10.86 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 5.951e-06/6.041e-06, allocations: 2.781 kB / 0.5528 GB, free: 89.33 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1164/0.1164, allocations: 82.3 MB / 0.6332 GB, free: 14.13 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3317/0.4482, allocations: 111 MB / 0.7416 GB, free: 10.93 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001867/0.4484, allocations: 72.78 kB / 0.7416 GB, free: 10.93 MB / 0.4948 GB Notification: Performance of FrontEnd: time 0.002498/0.4509, allocations: 0.6867 MB / 0.7423 GB, free: 10.89 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 6.202e-06/0.4509, allocations: 0 / 0.7423 GB, free: 10.89 MB / 0.4948 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.0003188/0.4513, allocations: 345.3 kB / 0.7426 GB, free: 26.55 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.214e-05/0.4513, allocations: 13.33 kB / 0.7426 GB, free: 26.55 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.807e-05/0.4514, allocations: 5.406 kB / 0.7427 GB, free: 26.54 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001138/0.4515, allocations: 166.9 kB / 0.7428 GB, free: 26.34 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.129e-05/0.4515, allocations: 1.688 kB / 0.7428 GB, free: 26.34 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.003e-05/0.4516, allocations: 0 / 0.7428 GB, free: 26.34 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.085e-05/0.4516, allocations: 15.5 kB / 0.7428 GB, free: 26.34 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.391e-05/0.4517, allocations: 40.23 kB / 0.7429 GB, free: 26.3 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.153e-06/0.4517, allocations: 0 / 0.7429 GB, free: 26.3 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.155e-06/0.4517, allocations: 0 / 0.7429 GB, free: 26.3 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.487e-06/0.4517, allocations: 0 / 0.7429 GB, free: 26.3 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002975/0.452, allocations: 225.6 kB / 0.7431 GB, free: 26.07 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 4.211e-05/0.4521, allocations: 29.39 kB / 0.7431 GB, free: 26.04 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.137e-05/0.4521, allocations: 8.734 kB / 0.7431 GB, free: 26.04 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 1.398e-05/0.4521, allocations: 12.95 kB / 0.7431 GB, free: 26.03 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.995e-05/0.4522, allocations: 30.56 kB / 0.7432 GB, free: 25.99 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.4522, allocations: 1.203 kB / 0.7432 GB, free: 25.99 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2): time 0.0001336/0.4523, allocations: 37.91 kB / 0.7432 GB, free: 25.96 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.434e-05/0.4523, allocations: 51.41 kB / 0.7432 GB, free: 25.9 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.63e-05/0.4524, allocations: 90.25 kB / 0.7433 GB, free: 25.81 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.533e-05/0.4524, allocations: 29.61 kB / 0.7434 GB, free: 25.78 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 3.075e-05/0.4525, allocations: 91.8 kB / 0.7434 GB, free: 25.69 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 1.371e-05/0.4525, allocations: 5.406 kB / 0.7435 GB, free: 25.68 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.677e-06/0.4525, allocations: 0 / 0.7435 GB, free: 25.68 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 9.099e-05/0.4526, allocations: 316.1 kB / 0.7438 GB, free: 25.37 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.508e-05/0.4526, allocations: 11.19 kB / 0.7438 GB, free: 25.36 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.141e-05/0.4526, allocations: 7.781 kB / 0.7438 GB, free: 25.36 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.589e-05/0.4526, allocations: 10.84 kB / 0.7438 GB, free: 25.36 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.4526, allocations: 0 / 0.7438 GB, free: 25.36 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.407e-05/0.4527, allocations: 43.12 kB / 0.7438 GB, free: 25.32 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.059e-05/0.4527, allocations: 6.469 kB / 0.7438 GB, free: 25.32 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.987e-06/0.4527, allocations: 1.359 kB / 0.7438 GB, free: 25.32 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.037e-05/0.4528, allocations: 8 kB / 0.7438 GB, free: 25.32 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.198e-05/0.4529, allocations: 12.2 kB / 0.7439 GB, free: 25.32 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.763e-06/0.4529, allocations: 0 / 0.7439 GB, free: 25.32 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.82e-05/0.4529, allocations: 14.7 kB / 0.7439 GB, free: 25.31 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.949e-06/0.4529, allocations: 0 / 0.7439 GB, free: 25.31 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (2): * Single equations (assignments): 2 * 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.002e-05/0.453, allocations: 106.2 kB / 0.744 GB, free: 25.2 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.441e-05/0.453, allocations: 3.875 kB / 0.744 GB, free: 25.2 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001077/0.4531, allocations: 49.77 kB / 0.744 GB, free: 25.16 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.4532, allocations: 0 / 0.744 GB, free: 25.16 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.067e-06/0.4532, allocations: 7.875 kB / 0.744 GB, free: 25.16 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.4532, allocations: 3.906 kB / 0.744 GB, free: 25.15 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001117/0.4533, allocations: 136.3 kB / 0.7442 GB, free: 25 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.4533, allocations: 0 / 0.7442 GB, free: 25 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.403e-05/0.4534, allocations: 15.09 kB / 0.7442 GB, free: 25 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.4534, allocations: 0 / 0.7442 GB, free: 25 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.702e-06/0.4534, allocations: 3.562 kB / 0.7442 GB, free: 25 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.4534, allocations: 0 / 0.7442 GB, free: 25 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.4534, allocations: 4 kB / 0.7442 GB, free: 24.99 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 9.865e-05/0.4535, allocations: 139.3 kB / 0.7443 GB, free: 24.86 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 3.069e-05/0.4535, allocations: 86.56 kB / 0.7444 GB, free: 24.76 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.309e-05/0.4536, allocations: 3.906 kB / 0.7444 GB, free: 24.76 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.895e-05/0.4537, allocations: 10.92 kB / 0.7444 GB, free: 24.76 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.478e-05/0.4537, allocations: 5.547 kB / 0.7444 GB, free: 24.75 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.677e-06/0.4537, allocations: 2.688 kB / 0.7444 GB, free: 24.75 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.975e-05/0.4537, allocations: 79.12 kB / 0.7445 GB, free: 24.68 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0001942/0.4539, allocations: 3.844 kB / 0.7445 GB, free: 24.68 MB / 0.5105 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 (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 Backend phase and start with SimCode phase: time 8.512e-05/0.454, allocations: 97.48 kB / 0.7446 GB, free: 24.59 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 6.422e-05/0.4541, allocations: 16.59 kB / 0.7446 GB, free: 24.59 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.343e-06/0.4541, allocations: 0 / 0.7446 GB, free: 24.59 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 2.037e-05/0.4541, allocations: 7.062 kB / 0.7446 GB, free: 24.59 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001519/0.4543, allocations: 7.938 kB / 0.7446 GB, free: 24.59 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000188/0.4545, allocations: 70.16 kB / 0.7447 GB, free: 24.52 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002592/0.4547, allocations: 0.6972 MB / 0.7454 GB, free: 23.8 MB / 0.5105 GB Notification: Performance of SimCode: time 3.2e-07/0.4548, allocations: 0 / 0.7454 GB, free: 23.8 MB / 0.5105 GB Notification: Performance of Templates: time 0.001821/0.4566, allocations: 443.9 kB / 0.7458 GB, free: 23.76 MB / 0.5105 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.sim & ./IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe 2>&1)