Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterProperties.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.PropyleneGlycolWaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterProperties") translateModel(IDEAS.Media.Examples.PropyleneGlycolWaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterProperties") [: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.001775/0.001775, allocations: 181.2 kB / 7.457 MB, free: 2.512 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.6057/0.6057, allocations: 133.5 MB / 141.4 MB, free: 15.64 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.134/1.134, allocations: 221.3 MB / 395 MB, free: 10.15 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.0008211/0.0008212, allocations: 109 kB / 477.8 MB, free: 10.8 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 5.971e-06/6.011e-06, allocations: 0 / 0.5528 GB, free: 89.18 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1137/0.1137, allocations: 82.3 MB / 0.6332 GB, free: 14.08 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7499/0.8636, allocations: 399.7 MB / 1.024 GB, free: 216.6 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001771/0.8638, allocations: 70.41 kB / 1.024 GB, free: 216.6 MB / 0.6823 GB Notification: Performance of FrontEnd: time 0.04762/0.9115, allocations: 25.56 MB / 1.049 GB, free: 196.2 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 8.315e-06/0.9115, allocations: 4 kB / 1.049 GB, free: 196.2 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0004949/0.912, allocations: 492.3 kB / 1.049 GB, free: 195.7 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 2.904e-05/0.9121, allocations: 16.02 kB / 1.049 GB, free: 195.7 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001336/0.9122, allocations: 23.75 kB / 1.049 GB, free: 195.7 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001631/0.9124, allocations: 217 kB / 1.049 GB, free: 195.4 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.117e-05/0.9124, allocations: 8 kB / 1.049 GB, free: 195.4 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.513e-05/0.9124, allocations: 8 kB / 1.049 GB, free: 195.4 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003421/0.9128, allocations: 410.7 kB / 1.05 GB, free: 195.1 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002053/0.913, allocations: 222.7 kB / 1.05 GB, free: 194.9 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.488e-06/0.913, allocations: 0 / 1.05 GB, free: 194.9 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.557e-05/0.913, allocations: 0 / 1.05 GB, free: 194.9 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.342e-05/0.913, allocations: 7.938 kB / 1.05 GB, free: 194.9 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006832/0.9137, allocations: 0.99 MB / 1.051 GB, free: 193.9 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002062/0.9139, allocations: 145.1 kB / 1.051 GB, free: 193.8 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.692e-05/0.914, allocations: 55.7 kB / 1.051 GB, free: 193.7 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008303/0.9148, allocations: 1.938 MB / 1.053 GB, free: 191.5 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.235e-05/0.9149, allocations: 34.56 kB / 1.053 GB, free: 191.4 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=15): time 1.172e-06/0.9149, allocations: 0 / 1.053 GB, free: 191.4 MB / 0.6823 GB Notification: Performance of matching and sorting (n=15): time 0.0004198/0.9153, allocations: 130.9 kB / 1.053 GB, free: 191.3 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.394e-05/0.9153, allocations: 55.41 kB / 1.053 GB, free: 191.2 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.43e-05/0.9154, allocations: 142.2 kB / 1.053 GB, free: 191.1 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.372e-05/0.9154, allocations: 25.7 kB / 1.053 GB, free: 191.1 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 3.976e-05/0.9155, allocations: 138.8 kB / 1.053 GB, free: 190.9 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.626e-05/0.9155, allocations: 54.77 kB / 1.054 GB, free: 190.9 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.543e-06/0.9155, allocations: 0 / 1.054 GB, free: 190.9 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 3.828e-05/0.9156, allocations: 322.5 kB / 1.054 GB, free: 190.6 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.395e-05/0.9156, allocations: 27.36 kB / 1.054 GB, free: 190.6 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.567e-05/0.9157, allocations: 140.7 kB / 1.054 GB, free: 190.4 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002733/0.916, allocations: 83.42 kB / 1.054 GB, free: 190.3 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.916, allocations: 0 / 1.054 GB, free: 190.3 MB / 0.6823 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004193/0.9164, allocations: 207.7 kB / 1.054 GB, free: 190.1 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 9.027e-06/0.9164, allocations: 4 kB / 1.054 GB, free: 190.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.9164, allocations: 8 kB / 1.054 GB, free: 190.1 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.391e-05/0.9164, allocations: 8 kB / 1.054 GB, free: 190.1 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001682/0.9166, allocations: 59.66 kB / 1.054 GB, free: 190 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.9166, allocations: 4 kB / 1.054 GB, free: 190 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001028/0.9167, allocations: 20.16 kB / 1.054 GB, free: 190 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.556e-05/0.9168, allocations: 23.92 kB / 1.054 GB, free: 190 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 29 * Array equations: 1 * 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 4.967e-05/0.9168, allocations: 120.7 kB / 1.055 GB, free: 189.9 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.519e-05/0.9168, allocations: 11.81 kB / 1.055 GB, free: 189.9 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004602/0.9173, allocations: 183.2 kB / 1.055 GB, free: 189.7 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.314e-06/0.9173, allocations: 3.906 kB / 1.055 GB, free: 189.7 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.9173, allocations: 4 kB / 1.055 GB, free: 189.7 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.9173, allocations: 0 / 1.055 GB, free: 189.7 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001434/0.9175, allocations: 185.2 kB / 1.055 GB, free: 189.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.9175, allocations: 4 kB / 1.055 GB, free: 189.5 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001059/0.9176, allocations: 35.61 kB / 1.055 GB, free: 189.5 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.325e-06/0.9176, allocations: 0 / 1.055 GB, free: 189.5 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.508e-06/0.9176, allocations: 3.984 kB / 1.055 GB, free: 189.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.9176, allocations: 0 / 1.055 GB, free: 189.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.9177, allocations: 4 kB / 1.055 GB, free: 189.4 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003577/0.918, allocations: 230.3 kB / 1.055 GB, free: 189.2 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.568e-05/0.9181, allocations: 116 kB / 1.055 GB, free: 189.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.404e-05/0.9181, allocations: 7.984 kB / 1.055 GB, free: 189.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001754/0.9183, allocations: 12 kB / 1.055 GB, free: 189.1 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.185e-05/0.9183, allocations: 7.984 kB / 1.055 GB, free: 189.1 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.53e-05/0.9183, allocations: 11.61 kB / 1.055 GB, free: 189.1 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.697e-05/0.9184, allocations: 105.1 kB / 1.055 GB, free: 189 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.000329/0.9187, allocations: 79.62 kB / 1.055 GB, free: 188.9 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 (15): * Single equations (assignments): 14 * Array equations: 1 * 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.0002621/0.919, allocations: 226.7 kB / 1.056 GB, free: 188.7 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0001752/0.9192, allocations: 103.8 kB / 1.056 GB, free: 188.6 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.9192, allocations: 8.125 kB / 1.056 GB, free: 188.6 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 5.64e-05/0.9192, allocations: 42.98 kB / 1.056 GB, free: 188.5 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002516/0.9195, allocations: 31.19 kB / 1.056 GB, free: 188.5 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003855/0.9199, allocations: 159.8 kB / 1.056 GB, free: 188.3 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001512/0.9201, allocations: 0.7508 MB / 1.057 GB, free: 187.6 MB / 0.6823 GB Notification: Performance of SimCode: time 2.6e-07/0.9201, allocations: 0 / 1.057 GB, free: 187.6 MB / 0.6823 GB Notification: Performance of Templates: time 0.00504/0.9251, allocations: 3.301 MB / 1.06 GB, free: 184.3 MB / 0.6823 GB make -j1 -f IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterProperties.makefile (rm -f IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterProperties.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterProperties.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterProperties.pipe >> ../files/IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterProperties.sim & ./IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterProperties.pipe 2>&1)