Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Media.Antifreeze.Validation.PropyleneGlycolWater.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.Antifreeze.Validation.PropyleneGlycolWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Antifreeze.Validation.PropyleneGlycolWater") translateModel(IDEAS.Media.Antifreeze.Validation.PropyleneGlycolWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Antifreeze.Validation.PropyleneGlycolWater") [: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.003569/0.003569, allocations: 180.8 kB / 7.456 MB, free: 2.508 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6762/0.6762, allocations: 130.6 MB / 138.5 MB, free: 2.23 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.603/1.603, allocations: 221.3 MB / 391.4 MB, free: 13.09 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.0009799/0.00098, allocations: 98.19 kB / 473.5 MB, free: 14.43 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 8.085e-06/8.115e-06, allocations: 1.781 kB / 0.5479 GB, free: 89.08 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.196/0.196, allocations: 81.59 MB / 0.6276 GB, free: 18.25 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.285/1.482, allocations: 402.9 MB / 1.021 GB, free: 210.4 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003137/1.482, allocations: 77.27 kB / 1.021 GB, free: 210.3 MB / 0.6667 GB Notification: Performance of FrontEnd: time 0.0278/1.51, allocations: 13.34 MB / 1.034 GB, free: 196.9 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 1.697e-05/1.51, allocations: 8 kB / 1.034 GB, free: 196.9 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: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0009128/1.511, allocations: 0.5174 MB / 1.035 GB, free: 196.4 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 6.789e-05/1.511, allocations: 16.03 kB / 1.035 GB, free: 196.3 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001757/1.511, allocations: 19.8 kB / 1.035 GB, free: 196.3 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003653/1.511, allocations: 234.8 kB / 1.035 GB, free: 196.1 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.177e-05/1.511, allocations: 19.98 kB / 1.035 GB, free: 196 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.023e-05/1.512, allocations: 8 kB / 1.035 GB, free: 196 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008883/1.512, allocations: 0.6203 MB / 1.036 GB, free: 195.4 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003391/1.513, allocations: 216.9 kB / 1.036 GB, free: 195.2 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.462e-05/1.513, allocations: 0 / 1.036 GB, free: 195.2 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.977e-05/1.513, allocations: 0 / 1.036 GB, free: 195.2 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.114e-05/1.513, allocations: 4 kB / 1.036 GB, free: 195.2 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004145/1.513, allocations: 277.8 kB / 1.036 GB, free: 194.9 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005032/1.514, allocations: 414.8 kB / 1.036 GB, free: 194.5 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002175/1.514, allocations: 168.7 kB / 1.037 GB, free: 194.3 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000426/1.514, allocations: 384.4 kB / 1.037 GB, free: 193.8 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.491e-05/1.514, allocations: 38.56 kB / 1.037 GB, free: 193.8 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=37): time 1.683e-06/1.514, allocations: 0 / 1.037 GB, free: 193.8 MB / 0.6667 GB Notification: Performance of matching and sorting (n=37): time 0.00289/1.517, allocations: 0.6967 MB / 1.038 GB, free: 193.1 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.056e-05/1.517, allocations: 59.16 kB / 1.038 GB, free: 193 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.673e-05/1.518, allocations: 114.5 kB / 1.038 GB, free: 192.9 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 2.287e-05/1.518, allocations: 25.7 kB / 1.038 GB, free: 192.9 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 2.336e-05/1.518, allocations: 84.8 kB / 1.038 GB, free: 192.8 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 9.314e-05/1.518, allocations: 118.2 kB / 1.038 GB, free: 192.7 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.647e-05/1.518, allocations: 0 / 1.038 GB, free: 192.7 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 9.226e-05/1.518, allocations: 330.7 kB / 1.038 GB, free: 192.3 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001609/1.518, allocations: 135.9 kB / 1.039 GB, free: 192.2 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001566/1.518, allocations: 140.2 kB / 1.039 GB, free: 192.1 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00238/1.521, allocations: 493 kB / 1.039 GB, free: 191.6 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-06/1.521, allocations: 3.938 kB / 1.039 GB, free: 191.6 MB / 0.6667 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.002656/1.523, allocations: 0.6955 MB / 1.04 GB, free: 190.9 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.717e-05/1.523, allocations: 8 kB / 1.04 GB, free: 190.9 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.516e-06/1.523, allocations: 0 / 1.04 GB, free: 190.9 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.225e-05/1.523, allocations: 3.984 kB / 1.04 GB, free: 190.9 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004066/1.524, allocations: 123.8 kB / 1.04 GB, free: 190.8 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.021e-06/1.524, allocations: 0 / 1.04 GB, free: 190.8 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002044/1.524, allocations: 67.7 kB / 1.04 GB, free: 190.7 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.04e-05/1.524, allocations: 19.92 kB / 1.04 GB, free: 190.7 MB / 0.6667 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 (37): * Single equations (assignments): 37 * 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 7.784e-05/1.524, allocations: 104.9 kB / 1.04 GB, free: 190.6 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.05e-05/1.524, allocations: 19.81 kB / 1.04 GB, free: 190.5 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002793/1.527, allocations: 0.7558 MB / 1.041 GB, free: 189.8 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.851e-06/1.527, allocations: 4 kB / 1.041 GB, free: 189.8 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.204e-06/1.527, allocations: 3.984 kB / 1.041 GB, free: 189.8 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/1.527, allocations: 0 / 1.041 GB, free: 189.8 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002736/1.527, allocations: 281.8 kB / 1.041 GB, free: 189.5 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/1.527, allocations: 4 kB / 1.041 GB, free: 189.4 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000355/1.528, allocations: 123.8 kB / 1.041 GB, free: 189.3 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/1.528, allocations: 0 / 1.041 GB, free: 189.3 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.505e-05/1.528, allocations: 4 kB / 1.041 GB, free: 189.3 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.835e-06/1.528, allocations: 3.984 kB / 1.041 GB, free: 189.3 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/1.528, allocations: 0 / 1.041 GB, free: 189.3 MB / 0.6667 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002699/1.53, allocations: 0.734 MB / 1.042 GB, free: 188.6 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 4.774e-05/1.53, allocations: 100.9 kB / 1.042 GB, free: 188.4 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.586e-05/1.53, allocations: 3.906 kB / 1.042 GB, free: 188.4 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001881/1.531, allocations: 55.95 kB / 1.042 GB, free: 188.4 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002048/1.531, allocations: 79.86 kB / 1.042 GB, free: 188.3 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.636e-05/1.531, allocations: 15.98 kB / 1.042 GB, free: 188.3 MB / 0.6667 GB Notification: Performance of sort global known variables: time 5.508e-05/1.531, allocations: 101 kB / 1.042 GB, free: 188.2 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0003856/1.531, allocations: 103.9 kB / 1.042 GB, free: 188.1 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 (37): * Single equations (assignments): 37 * 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.000509/1.532, allocations: 250.9 kB / 1.043 GB, free: 187.8 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0004371/1.532, allocations: 347.9 kB / 1.043 GB, free: 187.5 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/1.532, allocations: 0 / 1.043 GB, free: 187.5 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0002117/1.533, allocations: 199.8 kB / 1.043 GB, free: 187.3 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003663/1.533, allocations: 59.92 kB / 1.043 GB, free: 187.2 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005931/1.534, allocations: 308.4 kB / 1.044 GB, free: 186.9 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003232/1.534, allocations: 0.7791 MB / 1.044 GB, free: 186.1 MB / 0.6667 GB Notification: Performance of SimCode: time 1.142e-06/1.534, allocations: 4 kB / 1.044 GB, free: 186.1 MB / 0.6667 GB Notification: Performance of Templates: time 0.009158/1.543, allocations: 6.084 MB / 1.05 GB, free: 180.1 MB / 0.6667 GB make -j1 -f IDEAS_IDEAS.Media.Antifreeze.Validation.PropyleneGlycolWater.makefile (rm -f IDEAS_IDEAS.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe ; mkfifo IDEAS_IDEAS.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe >> ../files/IDEAS_IDEAS.Media.Antifreeze.Validation.PropyleneGlycolWater.sim & ./IDEAS_IDEAS.Media.Antifreeze.Validation.PropyleneGlycolWater -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe 2>&1)