Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified4.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.FlowSystem.Simplified4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified4") translateModel(Buildings.Fluid.Examples.FlowSystem.Simplified4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified4") [: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.62/1.62, allocations: 289.8 MB / 297.1 MB, free: 6.652 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.001247/0.001247, allocations: 185.2 kB / 366.3 MB, free: 1.941 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.847/1.847, allocations: 205.2 MB / 0.6256 GB, free: 5.863 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.0009113/0.0009113, allocations: 90.27 kB / 0.7396 GB, free: 39.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.053e-05/1.055e-05, allocations: 4 kB / 0.859 GB, free: 13.34 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7493/0.7493, allocations: 116.3 MB / 0.9726 GB, free: 68.28 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.001/1.75, allocations: 465.1 MB / 1.427 GB, free: 20.79 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002629/1.751, allocations: 97.19 kB / 1.427 GB, free: 20.74 MB / 0.823 GB Notification: Performance of FrontEnd: time 39.83/41.58, allocations: 10.33 GB / 11.76 GB, free: 21.7 MB / 1.229 GB Notification: Performance of Transformations before backend: time 0.003628/41.58, allocations: 387.6 kB / 11.76 GB, free: 21.32 MB / 1.229 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1775 * Number of variables: 1775 Notification: Performance of Generate backend data structure: time 0.05222/41.64, allocations: 13.09 MB / 11.77 GB, free: 8.113 MB / 1.229 GB Notification: Performance of prepare preOptimizeDAE: time 5.269e-05/41.64, allocations: 10.98 kB / 11.77 GB, free: 8.105 MB / 1.229 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01669/41.65, allocations: 2.253 MB / 11.78 GB, free: 5.832 MB / 1.229 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.9607/42.61, allocations: 23.69 MB / 11.8 GB, free: 137.4 MB / 1.229 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005213/42.61, allocations: 226.9 kB / 11.8 GB, free: 137.4 MB / 1.229 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004983/42.62, allocations: 495.2 kB / 11.8 GB, free: 137.4 MB / 1.229 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03098/42.65, allocations: 18.59 MB / 11.82 GB, free: 137.4 MB / 1.229 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03061/42.68, allocations: 13.1 MB / 11.83 GB, free: 136.6 MB / 1.229 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002404/42.68, allocations: 13.16 kB / 11.83 GB, free: 136.6 MB / 1.229 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001732/42.68, allocations: 11.02 kB / 11.83 GB, free: 136.6 MB / 1.229 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001464/42.68, allocations: 189.5 kB / 11.83 GB, free: 136.6 MB / 1.229 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1234/42.81, allocations: 78.41 MB / 11.91 GB, free: 102.6 MB / 1.229 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01229/42.82, allocations: 8.385 MB / 11.92 GB, free: 102.5 MB / 1.229 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01247/42.83, allocations: 8.908 MB / 11.93 GB, free: 102.4 MB / 1.229 GB Notification: Performance of preOpt evalFunc (simulation): time 0.06979/42.9, allocations: 32.67 MB / 11.96 GB, free: 94.01 MB / 1.229 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01406/42.91, allocations: 8.068 MB / 11.96 GB, free: 93.9 MB / 1.229 GB Notification: Performance of pre-optimization done (n=427): time 1.117e-05/42.91, allocations: 2.766 kB / 11.96 GB, free: 93.9 MB / 1.229 GB Notification: Performance of matching and sorting (n=429): time 0.1084/43.02, allocations: 38.32 MB / 12 GB, free: 90.81 MB / 1.229 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.26e-05/43.02, allocations: 97.44 kB / 12 GB, free: 90.75 MB / 1.229 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03267/43.06, allocations: 12.11 MB / 12.01 GB, free: 90.02 MB / 1.229 GB Notification: Performance of collectPreVariables (initialization): time 0.003362/43.06, allocations: 36.39 kB / 12.01 GB, free: 89.99 MB / 1.229 GB Notification: Performance of collectInitialEqns (initialization): time 0.006753/43.07, allocations: 3.457 MB / 12.02 GB, free: 88.44 MB / 1.229 GB Notification: Performance of collectInitialBindings (initialization): time 0.005072/43.07, allocations: 1.413 MB / 12.02 GB, free: 87.49 MB / 1.229 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001815/43.07, allocations: 2.719 kB / 12.02 GB, free: 87.49 MB / 1.229 GB Notification: Performance of setup shared object (initialization): time 0.00049/43.07, allocations: 0.5558 MB / 12.02 GB, free: 87.18 MB / 1.229 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0106/43.08, allocations: 7.157 MB / 12.03 GB, free: 87.16 MB / 1.229 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01363/43.1, allocations: 9.767 MB / 12.04 GB, free: 84.06 MB / 1.229 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0152/43.11, allocations: 8.316 MB / 12.04 GB, free: 83.95 MB / 1.229 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.159e-05/43.11, allocations: 17.06 kB / 12.04 GB, free: 83.95 MB / 1.229 GB Notification: Performance of matching and sorting (n=851) (initialization): time 0.05072/43.16, allocations: 23.61 MB / 12.07 GB, free: 83.03 MB / 1.229 GB Notification: Performance of prepare postOptimizeDAE: time 0.006517/43.17, allocations: 34.57 MB / 12.1 GB, free: 47.02 MB / 1.229 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001659/43.17, allocations: 59 kB / 12.1 GB, free: 47.02 MB / 1.229 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6764/43.85, allocations: 161.3 MB / 12.26 GB, free: 23.34 MB / 1.229 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00911/43.86, allocations: 1.473 MB / 12.26 GB, free: 22.27 MB / 1.229 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03974/43.9, allocations: 24.84 MB / 12.28 GB, free: 7.531 MB / 1.229 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0189/43.91, allocations: 0.8191 MB / 12.29 GB, free: 6.934 MB / 1.229 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003526/43.92, allocations: 0.7426 MB / 12.29 GB, free: 6.492 MB / 1.229 GB Notification: Performance of prepare postOptimizeDAE: time 1.398e-05/43.92, allocations: 5.969 kB / 12.29 GB, free: 6.488 MB / 1.229 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 1.34/45.26, allocations: 113.3 MB / 12.4 GB, free: 122.8 MB / 1.229 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000313/45.26, allocations: 51.81 kB / 12.4 GB, free: 122.8 MB / 1.229 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6711/45.93, allocations: 161.3 MB / 12.55 GB, free: 107.3 MB / 1.229 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007958/45.94, allocations: 1.46 MB / 12.56 GB, free: 107.3 MB / 1.229 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04993/45.99, allocations: 26.45 MB / 12.58 GB, free: 105.2 MB / 1.229 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01879/46.01, allocations: 0.791 MB / 12.58 GB, free: 105.2 MB / 1.229 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003558/46.01, allocations: 0.7065 MB / 12.58 GB, free: 105.2 MB / 1.229 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pmpSouth.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real pmpNorth.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 237 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,$whenCondition2,booleanToInteger.u,booleanToInteger.y,$PRE.stepPump.pulseStart,stepPump.pulseStart,$PRE.stepValve.T_start,stepValve.T_start,$PRE.stepValve.count,stepValve.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (661): * Single equations (assignments): 649 * Array equations: 4 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 5 {1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {32 38,5 80} Notification: Performance of prepare postOptimizeDAE: time 0.004697/46.01, allocations: 304 kB / 12.58 GB, free: 105.1 MB / 1.229 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005034/46.02, allocations: 1.22 MB / 12.58 GB, free: 105.1 MB / 1.229 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04348/46.06, allocations: 18.32 MB / 12.6 GB, free: 104.2 MB / 1.229 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.603e-05/46.06, allocations: 53.2 kB / 12.6 GB, free: 104.2 MB / 1.229 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.298e-05/46.06, allocations: 0 / 12.6 GB, free: 104.2 MB / 1.229 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0217/46.09, allocations: 12.51 MB / 12.61 GB, free: 103.9 MB / 1.229 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2257/46.31, allocations: 65.78 MB / 12.68 GB, free: 87.8 MB / 1.229 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.964e-05/46.31, allocations: 0 / 12.68 GB, free: 87.8 MB / 1.229 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005383/46.32, allocations: 0.8053 MB / 12.68 GB, free: 87.2 MB / 1.229 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.049/47.37, allocations: 71.07 MB / 12.75 GB, free: 127.3 MB / 1.229 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001866/47.37, allocations: 81.67 kB / 12.75 GB, free: 127.3 MB / 1.229 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01962/47.39, allocations: 12.75 MB / 12.76 GB, free: 123.1 MB / 1.229 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.367e-05/47.39, allocations: 0 / 12.76 GB, free: 123.1 MB / 1.229 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.1893/47.58, allocations: 58.42 MB / 12.82 GB, free: 115.6 MB / 1.229 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01148/47.59, allocations: 2.699 MB / 12.82 GB, free: 115.5 MB / 1.229 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006911/47.6, allocations: 6.5 kB / 12.82 GB, free: 115.5 MB / 1.229 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01485/47.61, allocations: 0.6427 MB / 12.82 GB, free: 115.4 MB / 1.229 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002137/47.61, allocations: 288.1 kB / 12.82 GB, free: 115.4 MB / 1.229 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001063/47.61, allocations: 221.9 kB / 12.82 GB, free: 115.4 MB / 1.229 GB Notification: Performance of sort global known variables: time 0.02054/47.63, allocations: 9.062 MB / 12.83 GB, free: 115.1 MB / 1.229 GB Notification: Performance of remove unused functions: time 0.04652/47.68, allocations: 6.13 MB / 12.84 GB, free: 115.1 MB / 1.229 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 8 (valSouth.vol.dynBal.U,valNorth.vol.dynBal.U,spl.vol.dynBal.U,spl1.vol.dynBal.U,pumpHea.vol.dynBal.U,spl2.vol.dynBal.U,spl3.vol.dynBal.U,pumpCoo.vol.dynBal.U) * Number of discrete variables: 7 ($whenCondition2,$whenCondition1,booleanToInteger.u,booleanToInteger.y,stepPump.pulseStart,stepValve.T_start,stepValve.count) * Number of discrete states: 1 (stepValve.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (372): * Single equations (assignments): 352 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 5 {1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {32 38,5 80} Notification: Performance of Backend phase and start with SimCode phase: time 0.01033/47.69, allocations: 5.252 MB / 12.84 GB, free: 112.8 MB / 1.229 GB Notification: Performance of simCode: created initialization part: time 0.06338/47.75, allocations: 28.24 MB / 12.87 GB, free: 112.1 MB / 1.229 GB Notification: Performance of simCode: created event and clocks part: time 1.618e-05/47.75, allocations: 5.594 kB / 12.87 GB, free: 112.1 MB / 1.229 GB Notification: Performance of simCode: created simulation system equations: time 0.01662/47.77, allocations: 7.407 MB / 12.88 GB, free: 111.9 MB / 1.229 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03963/47.81, allocations: 6.377 MB / 12.88 GB, free: 111.6 MB / 1.229 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07202/47.88, allocations: 20.83 MB / 12.9 GB, free: 107.3 MB / 1.229 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01757/47.9, allocations: 8.373 MB / 12.91 GB, free: 106.2 MB / 1.229 GB Notification: Performance of SimCode: time 1.383e-06/47.9, allocations: 3.781 kB / 12.91 GB, free: 106.2 MB / 1.229 GB Notification: Performance of Templates: time 2.075/49.98, allocations: 427 MB / 13.33 GB, free: 113.8 MB / 1.229 GB make -j1 -f Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified4.makefile (rm -f Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified4.pipe ; mkfifo Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified4.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified4.pipe >> ../files/Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified4.sim & ./Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified4 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified4.pipe 2>&1)