Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-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.Antifreeze.Validation.PropyleneGlycolWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Antifreeze.Validation.PropyleneGlycolWater") translateModel(IDEAS.Media.Antifreeze.Validation.PropyleneGlycolWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001902/0.001902, allocations: 173.3 kB / 7.458 MB, free: 2.488 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.6118/0.6118, allocations: 133.5 MB / 141.4 MB, free: 15.69 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.125/1.125, allocations: 221.3 MB / 395 MB, free: 10.2 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.0008272/0.0008275, allocations: 95.03 kB / 477.8 MB, free: 10.81 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 5.571e-06/5.601e-06, allocations: 0 / 0.5528 GB, free: 89.31 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.113/0.1131, allocations: 82.3 MB / 0.6332 GB, free: 14.1 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7788/0.8919, allocations: 403.2 MB / 1.027 GB, free: 201 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002488/0.8922, allocations: 75.48 kB / 1.027 GB, free: 201 MB / 0.6823 GB Notification: Performance of FrontEnd: time 0.02636/0.9186, allocations: 13.34 MB / 1.04 GB, free: 195.1 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 9.949e-06/0.9187, allocations: 11.94 kB / 1.04 GB, free: 195.1 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: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0005741/0.9192, allocations: 0.5121 MB / 1.041 GB, free: 194.5 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.367e-05/0.9193, allocations: 12.03 kB / 1.041 GB, free: 194.5 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.694e-05/0.9194, allocations: 19.81 kB / 1.041 GB, free: 194.5 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002171/0.9196, allocations: 239.5 kB / 1.041 GB, free: 194.2 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.957e-05/0.9197, allocations: 19.98 kB / 1.041 GB, free: 194.2 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.497e-05/0.9197, allocations: 8 kB / 1.041 GB, free: 194.2 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000655/0.9203, allocations: 0.6109 MB / 1.041 GB, free: 193.7 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002537/0.9206, allocations: 221.2 kB / 1.042 GB, free: 193.5 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.9206, allocations: 0 / 1.042 GB, free: 193.5 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.06e-05/0.9206, allocations: 3.938 kB / 1.042 GB, free: 193.5 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.642e-06/0.9207, allocations: 7.984 kB / 1.042 GB, free: 193.4 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002536/0.9209, allocations: 287.1 kB / 1.042 GB, free: 193.2 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003825/0.9213, allocations: 411.8 kB / 1.042 GB, free: 192.8 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000167/0.9215, allocations: 164.3 kB / 1.042 GB, free: 192.7 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002658/0.9218, allocations: 387.2 kB / 1.043 GB, free: 192.2 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.227e-05/0.9218, allocations: 38.31 kB / 1.043 GB, free: 192.2 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=37): time 1.292e-06/0.9218, allocations: 0 / 1.043 GB, free: 192.2 MB / 0.6823 GB Notification: Performance of matching and sorting (n=37): time 0.002635/0.9244, allocations: 0.693 MB / 1.044 GB, free: 191.5 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.596e-05/0.9244, allocations: 63.34 kB / 1.044 GB, free: 191.5 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.897e-05/0.9245, allocations: 112.2 kB / 1.044 GB, free: 191.4 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.264e-05/0.9246, allocations: 25.7 kB / 1.044 GB, free: 191.3 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 1.284e-05/0.9246, allocations: 80.8 kB / 1.044 GB, free: 191.2 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 6.683e-05/0.9247, allocations: 119.9 kB / 1.044 GB, free: 191.1 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.535e-05/0.9247, allocations: 0 / 1.044 GB, free: 191.1 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 4.425e-05/0.9247, allocations: 332.7 kB / 1.044 GB, free: 190.8 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001439/0.9249, allocations: 135.8 kB / 1.044 GB, free: 190.7 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001383/0.925, allocations: 135.5 kB / 1.045 GB, free: 190.6 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002316/0.9273, allocations: 0.4906 MB / 1.045 GB, free: 190.1 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.9273, allocations: 0 / 1.045 GB, free: 190.1 MB / 0.6823 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.002571/0.9299, allocations: 0.6932 MB / 1.046 GB, free: 189.5 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.067e-05/0.9299, allocations: 8 kB / 1.046 GB, free: 189.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.698e-06/0.9299, allocations: 0 / 1.046 GB, free: 189.5 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.592e-05/0.93, allocations: 0 / 1.046 GB, free: 189.5 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003673/0.9303, allocations: 119.8 kB / 1.046 GB, free: 189.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.078e-06/0.9304, allocations: 0 / 1.046 GB, free: 189.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001805/0.9305, allocations: 63.72 kB / 1.046 GB, free: 189.3 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.788e-05/0.9306, allocations: 15.67 kB / 1.046 GB, free: 189.3 MB / 0.6823 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 6.42e-05/0.9306, allocations: 107 kB / 1.046 GB, free: 189.2 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.89e-05/0.9307, allocations: 15.81 kB / 1.046 GB, free: 189.1 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002677/0.9334, allocations: 0.7694 MB / 1.047 GB, free: 188.4 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.9334, allocations: 11.88 kB / 1.047 GB, free: 188.4 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.9334, allocations: 0 / 1.047 GB, free: 188.4 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.247e-06/0.9334, allocations: 0 / 1.047 GB, free: 188.4 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002041/0.9336, allocations: 286.8 kB / 1.047 GB, free: 188.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.9336, allocations: 0 / 1.047 GB, free: 188.1 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003245/0.9339, allocations: 111.9 kB / 1.047 GB, free: 188 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.9339, allocations: 8 kB / 1.047 GB, free: 188 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.376e-05/0.934, allocations: 11.48 kB / 1.047 GB, free: 188 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.934, allocations: 0 / 1.047 GB, free: 188 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.934, allocations: 4 kB / 1.047 GB, free: 188 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002586/0.9366, allocations: 0.7293 MB / 1.048 GB, free: 187.3 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 3.624e-05/0.9366, allocations: 104.3 kB / 1.048 GB, free: 187.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.112e-05/0.9367, allocations: 3.906 kB / 1.048 GB, free: 187.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001833/0.9369, allocations: 47.97 kB / 1.048 GB, free: 187.1 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001558/0.937, allocations: 79.17 kB / 1.048 GB, free: 187.1 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.547e-05/0.937, allocations: 19.55 kB / 1.048 GB, free: 187 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.299e-05/0.9371, allocations: 98.08 kB / 1.048 GB, free: 187 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0003093/0.9374, allocations: 111.1 kB / 1.048 GB, free: 186.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 (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.0003826/0.9378, allocations: 254.4 kB / 1.049 GB, free: 186.6 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0003701/0.9382, allocations: 348.9 kB / 1.049 GB, free: 186.3 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.9382, allocations: 0 / 1.049 GB, free: 186.3 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001891/0.9384, allocations: 202.6 kB / 1.049 GB, free: 186.2 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002959/0.9387, allocations: 57.66 kB / 1.049 GB, free: 186.1 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004758/0.9392, allocations: 306.4 kB / 1.049 GB, free: 185.8 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002409/0.9394, allocations: 0.7858 MB / 1.05 GB, free: 185 MB / 0.6823 GB Notification: Performance of SimCode: time 2.4e-07/0.9394, allocations: 0 / 1.05 GB, free: 185 MB / 0.6823 GB Notification: Performance of Templates: time 0.007222/0.9466, allocations: 6.077 MB / 1.056 GB, free: 179 MB / 0.6823 GB make -j1 -f IDEAS_dev_IDEAS.Media.Antifreeze.Validation.PropyleneGlycolWater.makefile (rm -f IDEAS_dev_IDEAS.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe >> ../files/IDEAS_dev_IDEAS.Media.Antifreeze.Validation.PropyleneGlycolWater.sim & ./IDEAS_dev_IDEAS.Media.Antifreeze.Validation.PropyleneGlycolWater -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe 2>&1)