Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Examples.Performance.Example3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.Examples.Performance.Example3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Examples.Performance.Example3") translateModel(Buildings.Fluid.Examples.Performance.Example3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Examples.Performance.Example3") [: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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.561/1.561, allocations: 289.8 MB / 297.1 MB, free: 6.578 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001265/0.001266, allocations: 188 kB / 366.3 MB, free: 1.938 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.535/1.535, allocations: 205.1 MB / 0.6256 GB, free: 5.797 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000922/0.0009219, allocations: 84.44 kB / 0.7395 GB, free: 39.63 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.907e-06/8.937e-06, allocations: 0 / 0.859 GB, free: 13.33 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7361/0.7361, allocations: 116.3 MB / 0.9726 GB, free: 68.06 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.015/1.751, allocations: 404.5 MB / 1.368 GB, free: 83.53 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002576/1.751, allocations: 92.05 kB / 1.368 GB, free: 83.49 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.681/4.432, allocations: 0.6863 GB / 2.054 GB, free: 229.1 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.0002237/4.432, allocations: 46.02 kB / 2.054 GB, free: 229.1 MB / 0.9636 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 235 * Number of variables: 235 Notification: Performance of Generate backend data structure: time 0.004836/4.437, allocations: 1.848 MB / 2.056 GB, free: 228.1 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 5.701e-05/4.437, allocations: 7.031 kB / 2.056 GB, free: 228.1 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001425/4.439, allocations: 295.8 kB / 2.056 GB, free: 228 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00593/4.445, allocations: 2.542 MB / 2.059 GB, free: 226.9 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.437e-05/4.445, allocations: 33.12 kB / 2.059 GB, free: 226.9 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001423/4.445, allocations: 63.62 kB / 2.059 GB, free: 226.9 MB / 0.9636 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001483/4.446, allocations: 0.8573 MB / 2.059 GB, free: 226.6 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001534/4.448, allocations: 1.076 MB / 2.061 GB, free: 226.1 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.522e-05/4.448, allocations: 7.734 kB / 2.061 GB, free: 226.1 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.489e-05/4.448, allocations: 6.438 kB / 2.061 GB, free: 226.1 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.46e-05/4.448, allocations: 29.06 kB / 2.061 GB, free: 226.1 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007512/4.456, allocations: 6.57 MB / 2.067 GB, free: 221.2 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008537/4.457, allocations: 0.5691 MB / 2.068 GB, free: 221 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004567/4.457, allocations: 371.8 kB / 2.068 GB, free: 220.9 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002738/4.46, allocations: 1.661 MB / 2.07 GB, free: 219.7 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004398/4.46, allocations: 322 kB / 2.07 GB, free: 219.5 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=47): time 4.669e-06/4.46, allocations: 3.344 kB / 2.07 GB, free: 219.5 MB / 0.9636 GB Notification: Performance of matching and sorting (n=47): time 0.001981/4.462, allocations: 0.8273 MB / 2.071 GB, free: 219.2 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.808e-05/4.462, allocations: 55.59 kB / 2.071 GB, free: 219.2 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001722/4.464, allocations: 1.384 MB / 2.072 GB, free: 218.7 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 6.642e-05/4.464, allocations: 32.69 kB / 2.072 GB, free: 218.6 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005169/4.465, allocations: 0.54 MB / 2.073 GB, free: 218.3 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001665/4.465, allocations: 156.8 kB / 2.073 GB, free: 218.1 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.978e-05/4.465, allocations: 3.938 kB / 2.073 GB, free: 218.1 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001081/4.465, allocations: 340.3 kB / 2.073 GB, free: 217.8 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003468/4.465, allocations: 257 kB / 2.073 GB, free: 217.7 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000656/4.466, allocations: 0.693 MB / 2.074 GB, free: 217.1 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00103/4.467, allocations: 430 kB / 2.074 GB, free: 216.9 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.562e-06/4.467, allocations: 3.875 kB / 2.074 GB, free: 216.9 MB / 0.9636 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002154/4.469, allocations: 1.132 MB / 2.076 GB, free: 216.5 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.001226/4.47, allocations: 4.072 MB / 2.079 GB, free: 212.2 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.227e-05/4.471, allocations: 11.22 kB / 2.08 GB, free: 212.2 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003414/4.471, allocations: 120 kB / 2.08 GB, free: 212.2 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007026/4.472, allocations: 178.5 kB / 2.08 GB, free: 212.1 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006522/4.472, allocations: 0.8097 MB / 2.081 GB, free: 211.5 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001397/4.474, allocations: 126 kB / 2.081 GB, free: 211.5 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001295/4.474, allocations: 44.67 kB / 2.081 GB, free: 211.5 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.545e-05/4.474, allocations: 5.438 kB / 2.081 GB, free: 211.5 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001869/4.476, allocations: 0.9413 MB / 2.082 GB, free: 211.1 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.208e-05/4.476, allocations: 9.938 kB / 2.082 GB, free: 211.1 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002197/4.476, allocations: 115.5 kB / 2.082 GB, free: 211.1 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006095/4.477, allocations: 171.1 kB / 2.082 GB, free: 211.1 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001959/4.479, allocations: 1.981 MB / 2.084 GB, free: 209.5 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001379/4.48, allocations: 108.6 kB / 2.084 GB, free: 209.5 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.258e-05/4.48, allocations: 50.91 kB / 2.084 GB, free: 209.5 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,from_dp.y,mergeDp.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (85): * Single equations (assignments): 82 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 12} Notification: Performance of prepare postOptimizeDAE: time 0.0002934/4.48, allocations: 138 kB / 2.084 GB, free: 209.4 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002628/4.481, allocations: 164.1 kB / 2.084 GB, free: 209.3 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002502/4.483, allocations: 0.9919 MB / 2.085 GB, free: 208.9 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.348e-05/4.483, allocations: 11.38 kB / 2.085 GB, free: 208.9 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.084e-06/4.483, allocations: 0 / 2.085 GB, free: 208.9 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001242/4.484, allocations: 0.8903 MB / 2.086 GB, free: 208.4 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003788/4.488, allocations: 1.945 MB / 2.088 GB, free: 207.6 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.861e-06/4.488, allocations: 0 / 2.088 GB, free: 207.6 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005089/4.489, allocations: 99.23 kB / 2.088 GB, free: 207.5 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002229/4.489, allocations: 95.14 kB / 2.088 GB, free: 207.5 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.791e-05/4.489, allocations: 23.11 kB / 2.088 GB, free: 207.5 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004922/4.49, allocations: 0.7525 MB / 2.089 GB, free: 206.9 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/4.49, allocations: 0 / 2.089 GB, free: 206.9 MB / 0.9636 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002333/4.492, allocations: 1.306 MB / 2.09 GB, free: 206.3 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008202/4.493, allocations: 313.3 kB / 2.091 GB, free: 206.1 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002058/4.493, allocations: 2.312 kB / 2.091 GB, free: 206.1 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009107/4.494, allocations: 65 kB / 2.091 GB, free: 206.1 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001365/4.494, allocations: 36.66 kB / 2.091 GB, free: 206.1 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.155e-05/4.494, allocations: 26.89 kB / 2.091 GB, free: 206.1 MB / 0.9636 GB Notification: Performance of sort global known variables: time 0.002341/4.496, allocations: 1.068 MB / 2.092 GB, free: 205.7 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.003397/4.5, allocations: 0.8399 MB / 2.093 GB, free: 205.5 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (pump.vol.dynBal.U) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.00178/4.502, allocations: 0.7702 MB / 2.093 GB, free: 205.3 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.002615/4.504, allocations: 1.302 MB / 2.095 GB, free: 204.7 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 5.32e-06/4.504, allocations: 0 / 2.095 GB, free: 204.7 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0007674/4.505, allocations: 307.4 kB / 2.095 GB, free: 204.6 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003202/4.508, allocations: 0.6003 MB / 2.095 GB, free: 204.5 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00551/4.514, allocations: 2.283 MB / 2.098 GB, free: 203.7 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001559/4.515, allocations: 1.67 MB / 2.099 GB, free: 202.9 MB / 0.9636 GB Notification: Performance of SimCode: time 1.583e-06/4.515, allocations: 0 / 2.099 GB, free: 202.9 MB / 0.9636 GB Notification: Performance of Templates: time 0.07292/4.588, allocations: 33.22 MB / 2.132 GB, free: 189.9 MB / 0.9636 GB make -j1 -f Buildings_8_Buildings.Fluid.Examples.Performance.Example3.makefile (rm -f Buildings_8_Buildings.Fluid.Examples.Performance.Example3.pipe ; mkfifo Buildings_8_Buildings.Fluid.Examples.Performance.Example3.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Examples.Performance.Example3.pipe >> ../files/Buildings_8_Buildings.Fluid.Examples.Performance.Example3.sim & ./Buildings_8_Buildings.Fluid.Examples.Performance.Example3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Examples.Performance.Example3.pipe 2>&1)