Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck.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.PropyleneGlycolWaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck") translateModel(IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck") [: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.001845/0.001845, allocations: 175.4 kB / 7.46 MB, free: 2.492 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.5986/0.5986, allocations: 133.5 MB / 141.4 MB, free: 15.71 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.136/1.136, 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.0008815/0.0008815, allocations: 94.31 kB / 477.8 MB, free: 10.86 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 6.322e-06/6.412e-06, allocations: 2.906 kB / 0.5528 GB, free: 89.09 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1121/0.1121, allocations: 82.3 MB / 0.6332 GB, free: 14.12 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7385/0.8506, allocations: 379.7 MB / 1.004 GB, free: 228.3 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002059/0.8509, allocations: 67.89 kB / 1.004 GB, free: 228.3 MB / 0.6823 GB Notification: Performance of FrontEnd: time 0.03596/0.8869, allocations: 18.72 MB / 1.022 GB, free: 222.6 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 5.54e-06/0.8869, allocations: 0 / 1.022 GB, free: 222.6 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0002491/0.8872, allocations: 369 kB / 1.023 GB, free: 222.2 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 2.97e-05/0.8872, allocations: 8.031 kB / 1.023 GB, free: 222.1 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.255e-05/0.8872, allocations: 11.94 kB / 1.023 GB, free: 222.1 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.24e-05/0.8873, allocations: 159.1 kB / 1.023 GB, free: 221.9 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.067e-05/0.8873, allocations: 4 kB / 1.023 GB, free: 221.9 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.081e-05/0.8873, allocations: 7.906 kB / 1.023 GB, free: 221.9 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.911e-05/0.8874, allocations: 19.3 kB / 1.023 GB, free: 221.9 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.64e-05/0.8875, allocations: 53.11 kB / 1.023 GB, free: 221.9 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.125e-06/0.8875, allocations: 3.984 kB / 1.023 GB, free: 221.9 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.397e-06/0.8875, allocations: 0 / 1.023 GB, free: 221.9 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.967e-06/0.8875, allocations: 0 / 1.023 GB, free: 221.9 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001024/0.8876, allocations: 141.8 kB / 1.023 GB, free: 221.7 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 5.404e-05/0.8877, allocations: 33.39 kB / 1.023 GB, free: 221.6 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.992e-05/0.8877, allocations: 20.05 kB / 1.023 GB, free: 221.6 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004703/0.8882, allocations: 0.6047 MB / 1.024 GB, free: 220.9 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.2e-05/0.8882, allocations: 34.56 kB / 1.024 GB, free: 220.9 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=5): time 1.543e-06/0.8882, allocations: 7.922 kB / 1.024 GB, free: 220.9 MB / 0.6823 GB Notification: Performance of matching and sorting (n=7): time 0.0003899/0.8886, allocations: 272.9 kB / 1.024 GB, free: 220.6 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.588e-05/0.8886, allocations: 55.41 kB / 1.024 GB, free: 220.5 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.314e-05/0.8887, allocations: 92.89 kB / 1.024 GB, free: 220.4 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 9.087e-06/0.8887, allocations: 29.7 kB / 1.024 GB, free: 220.4 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 1.951e-05/0.8887, allocations: 87.58 kB / 1.024 GB, free: 220.3 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 1.035e-05/0.8887, allocations: 27 kB / 1.024 GB, free: 220.3 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.026e-06/0.8887, allocations: 0 / 1.024 GB, free: 220.3 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 3.313e-05/0.8888, allocations: 314.8 kB / 1.025 GB, free: 219.9 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.014e-05/0.8888, allocations: 15.44 kB / 1.025 GB, free: 219.9 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.939e-05/0.8888, allocations: 44.47 kB / 1.025 GB, free: 219.9 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.88e-05/0.8889, allocations: 23.73 kB / 1.025 GB, free: 219.9 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.72e-07/0.8889, allocations: 0 / 1.025 GB, free: 219.9 MB / 0.6823 GB Notification: Performance of matching and sorting (n=12) (initialization): time 9.514e-05/0.889, allocations: 88.83 kB / 1.025 GB, free: 219.8 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 8.947e-06/0.889, allocations: 4 kB / 1.025 GB, free: 219.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.727e-06/0.889, allocations: 0 / 1.025 GB, free: 219.8 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.078e-05/0.889, allocations: 4 kB / 1.025 GB, free: 219.8 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.109e-05/0.8891, allocations: 19.94 kB / 1.025 GB, free: 219.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.15e-06/0.8891, allocations: 7.984 kB / 1.025 GB, free: 219.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.578e-05/0.8891, allocations: 3.938 kB / 1.025 GB, free: 219.7 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.821e-06/0.8892, allocations: 4 kB / 1.025 GB, free: 219.7 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * 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 4.005e-05/0.8892, allocations: 113 kB / 1.025 GB, free: 219.6 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.589e-05/0.8892, allocations: 0 / 1.025 GB, free: 219.6 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.476e-05/0.8893, allocations: 7.625 kB / 1.025 GB, free: 219.6 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.8893, allocations: 4 kB / 1.025 GB, free: 219.6 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.8893, allocations: 0 / 1.025 GB, free: 219.6 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.8893, allocations: 3.906 kB / 1.025 GB, free: 219.6 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001656/0.8895, allocations: 145.9 kB / 1.025 GB, free: 219.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.8895, allocations: 4.25 kB / 1.025 GB, free: 219.4 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.46e-05/0.8895, allocations: 19.98 kB / 1.025 GB, free: 219.4 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.8896, allocations: 0 / 1.025 GB, free: 219.4 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.133e-06/0.8896, allocations: 4 kB / 1.025 GB, free: 219.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.8896, allocations: 0 / 1.025 GB, free: 219.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.8896, allocations: 3.938 kB / 1.025 GB, free: 219.4 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001032/0.8897, allocations: 166.2 kB / 1.025 GB, free: 219.2 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 2.932e-05/0.8897, allocations: 89 kB / 1.025 GB, free: 219.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.274e-05/0.8897, allocations: 0 / 1.025 GB, free: 219.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.933e-05/0.8898, allocations: 4 kB / 1.025 GB, free: 219.1 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.058e-05/0.8899, allocations: 0 / 1.025 GB, free: 219.1 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.705e-06/0.8899, allocations: 15.67 kB / 1.025 GB, free: 219.1 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.409e-05/0.8899, allocations: 75.66 kB / 1.025 GB, free: 219 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002232/0.8901, allocations: 12 kB / 1.025 GB, free: 219 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hLiqSym,cpSym,cvSym) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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.0001497/0.8903, allocations: 154.3 kB / 1.026 GB, free: 218.9 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 7.52e-05/0.8904, allocations: 43.3 kB / 1.026 GB, free: 218.8 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.8904, allocations: 0 / 1.026 GB, free: 218.8 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 1.455e-05/0.8904, allocations: 15.94 kB / 1.026 GB, free: 218.8 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001364/0.8905, allocations: 11.84 kB / 1.026 GB, free: 218.8 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003786/0.8909, allocations: 261.7 kB / 1.026 GB, free: 218.5 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001059/0.891, allocations: 0.7035 MB / 1.027 GB, free: 217.8 MB / 0.6823 GB Notification: Performance of SimCode: time 2.2e-07/0.891, allocations: 0 / 1.027 GB, free: 217.8 MB / 0.6823 GB Notification: Performance of Templates: time 0.002321/0.8934, allocations: 0.9399 MB / 1.028 GB, free: 216.9 MB / 0.6823 GB make -j1 -f IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck.makefile (rm -f IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe >> ../files/IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck.sim & ./IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe 2>&1)