Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified2.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.Examples.FlowSystem.Simplified2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified2") [: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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.315/2.315, allocations: 253.1 MB / 260.4 MB, free: 7.512 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001684/0.001684, allocations: 192.9 kB / 319.6 MB, free: 3.312 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.818/1.818, allocations: 205.4 MB / 0.5704 GB, free: 15.04 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001301/0.001301, allocations: 88.77 kB / 0.6746 GB, free: 4.406 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.18e-05/1.199e-05, allocations: 4 kB / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2135/0.2135, allocations: 106.2 MB / 0.888 GB, free: 12.18 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.53/1.744, allocations: 456.6 MB / 1.334 GB, free: 247 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003075/1.744, allocations: 95.92 kB / 1.334 GB, free: 247 MB / 0.8698 GB Notification: Performance of FrontEnd: time 44.32/46.06, allocations: 8.464 GB / 9.798 GB, free: 82.34 MB / 1.135 GB Notification: Performance of Transformations before backend: time 0.005695/46.07, allocations: 0.5141 MB / 9.798 GB, free: 82.18 MB / 1.135 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2061 * Number of variables: 2061 Notification: Performance of Generate backend data structure: time 0.09729/46.16, allocations: 15.04 MB / 9.813 GB, free: 75.75 MB / 1.135 GB Notification: Performance of prepare preOptimizeDAE: time 4.869e-05/46.16, allocations: 11.34 kB / 9.813 GB, free: 75.75 MB / 1.135 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02173/46.19, allocations: 2.35 MB / 9.815 GB, free: 74.71 MB / 1.135 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1428/46.33, allocations: 26.91 MB / 9.841 GB, free: 68.7 MB / 1.135 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001367/46.33, allocations: 258.5 kB / 9.842 GB, free: 68.7 MB / 1.135 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01791/46.35, allocations: 0.5811 MB / 9.842 GB, free: 68.7 MB / 1.135 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.08182/46.43, allocations: 19.96 MB / 9.862 GB, free: 51.76 MB / 1.135 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05889/46.49, allocations: 15.55 MB / 9.877 GB, free: 38.93 MB / 1.135 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005583/46.49, allocations: 19.78 kB / 9.877 GB, free: 38.91 MB / 1.135 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004726/46.49, allocations: 16 kB / 9.877 GB, free: 38.89 MB / 1.135 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002449/46.49, allocations: 218.2 kB / 9.877 GB, free: 38.68 MB / 1.135 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.9844/47.48, allocations: 83.09 MB / 9.958 GB, free: 135.1 MB / 1.135 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02523/47.5, allocations: 10.23 MB / 9.968 GB, free: 134.9 MB / 1.135 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02239/47.53, allocations: 9.384 MB / 9.978 GB, free: 134.9 MB / 1.135 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1164/47.64, allocations: 35.34 MB / 10.01 GB, free: 126.7 MB / 1.135 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02482/47.67, allocations: 9.055 MB / 10.02 GB, free: 126.5 MB / 1.135 GB Notification: Performance of pre-optimization done (n=584): time 1.102e-05/47.67, allocations: 2.219 kB / 10.02 GB, free: 126.5 MB / 1.135 GB Notification: Performance of matching and sorting (n=586): time 1.573/49.24, allocations: 149.8 MB / 10.17 GB, free: 116.6 MB / 1.135 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000792/49.24, allocations: 2.509 MB / 10.17 GB, free: 113.6 MB / 1.135 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04944/49.29, allocations: 14.18 MB / 10.18 GB, free: 112.8 MB / 1.135 GB Notification: Performance of collectPreVariables (initialization): time 0.004608/49.3, allocations: 42.98 kB / 10.18 GB, free: 112.8 MB / 1.135 GB Notification: Performance of collectInitialEqns (initialization): time 0.01045/49.31, allocations: 4.075 MB / 10.19 GB, free: 111.4 MB / 1.135 GB Notification: Performance of collectInitialBindings (initialization): time 0.00841/49.32, allocations: 2 MB / 10.19 GB, free: 110.3 MB / 1.135 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004338/49.32, allocations: 0.75 kB / 10.19 GB, free: 110.3 MB / 1.135 GB Notification: Performance of setup shared object (initialization): time 0.001269/49.32, allocations: 0.6768 MB / 10.19 GB, free: 110 MB / 1.135 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02526/49.35, allocations: 8.668 MB / 10.2 GB, free: 110 MB / 1.135 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03084/49.38, allocations: 12.15 MB / 10.21 GB, free: 106 MB / 1.135 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03488/49.41, allocations: 10.19 MB / 10.22 GB, free: 105.8 MB / 1.135 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001389/49.41, allocations: 14.69 kB / 10.22 GB, free: 105.8 MB / 1.135 GB Notification: Performance of matching and sorting (n=1198) (initialization): time 1.583/51, allocations: 134.8 MB / 10.35 GB, free: 58.31 MB / 1.135 GB Notification: Performance of prepare postOptimizeDAE: time 0.00802/51, allocations: 36.48 MB / 10.39 GB, free: 20.8 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0007474/51, allocations: 117.1 kB / 10.39 GB, free: 20.68 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.239/53.24, allocations: 161.2 MB / 10.55 GB, free: 129 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03413/53.28, allocations: 2.081 MB / 10.55 GB, free: 129 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3327/53.61, allocations: 67.36 MB / 10.61 GB, free: 121.9 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03425/53.65, allocations: 0.8697 MB / 10.61 GB, free: 121.9 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005705/53.65, allocations: 0.8407 MB / 10.61 GB, free: 121.9 MB / 1.135 GB Notification: Performance of prepare postOptimizeDAE: time 1.318e-05/53.65, allocations: 6.625 kB / 10.61 GB, free: 121.9 MB / 1.135 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 1.437/55.09, allocations: 132.1 MB / 10.74 GB, free: 106.6 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001008/55.09, allocations: 120.5 kB / 10.74 GB, free: 106.5 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.284/57.37, allocations: 161.2 MB / 10.9 GB, free: 132.6 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01957/57.39, allocations: 2.054 MB / 10.9 GB, free: 132.6 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3354/57.73, allocations: 68.38 MB / 10.97 GB, free: 128.8 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03148/57.76, allocations: 0.842 MB / 10.97 GB, free: 128.8 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005075/57.76, allocations: 0.7955 MB / 10.97 GB, free: 128.8 MB / 1.135 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 231 * 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 (939): * Single equations (assignments): 861 * Array equations: 36 * Algorithm blocks: 1 * Record equations: 32 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 7 * 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: 7 {1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(28,89.3%) 28} * Non-linear torn systems: 1 {14 90} Notification: Performance of prepare postOptimizeDAE: time 0.008278/57.77, allocations: 350.4 kB / 10.97 GB, free: 128.7 MB / 1.135 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.008585/57.78, allocations: 1.473 MB / 10.97 GB, free: 128.7 MB / 1.135 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.4003/58.18, allocations: 57.72 MB / 11.03 GB, free: 121.2 MB / 1.135 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001801/58.18, allocations: 70.19 kB / 11.03 GB, free: 121.2 MB / 1.135 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.374e-05/58.18, allocations: 32.58 kB / 11.03 GB, free: 121.2 MB / 1.135 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.4358/58.62, allocations: 51.61 MB / 11.08 GB, free: 114 MB / 1.135 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4938/59.11, allocations: 71 MB / 11.15 GB, free: 98.02 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001187/59.11, allocations: 8.031 kB / 11.15 GB, free: 98.01 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01816/59.13, allocations: 1.112 MB / 11.15 GB, free: 97.17 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.225/60.36, allocations: 67.8 MB / 11.22 GB, free: 137 MB / 1.135 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0027/60.36, allocations: 167.6 kB / 11.22 GB, free: 137 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1296/60.49, allocations: 26.32 MB / 11.24 GB, free: 131.2 MB / 1.135 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.157e-06/60.49, allocations: 3.25 kB / 11.24 GB, free: 131.2 MB / 1.135 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.3871/60.87, allocations: 62.38 MB / 11.3 GB, free: 127.1 MB / 1.135 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01617/60.89, allocations: 3.16 MB / 11.31 GB, free: 127.1 MB / 1.135 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.009067/60.9, allocations: 87.97 kB / 11.31 GB, free: 127.1 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0253/60.93, allocations: 0.7467 MB / 11.31 GB, free: 127 MB / 1.135 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003059/60.93, allocations: 365.5 kB / 11.31 GB, free: 127 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002637/60.93, allocations: 254.8 kB / 11.31 GB, free: 127 MB / 1.135 GB Notification: Performance of sort global known variables: time 0.03307/60.96, allocations: 10.65 MB / 11.32 GB, free: 126.5 MB / 1.135 GB Notification: Performance of remove unused functions: time 0.06475/61.03, allocations: 7.662 MB / 11.33 GB, free: 126.5 MB / 1.135 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 74 (pmpSouth.vol.dynBal.U,pmpSouth.filter.x[1],pmpSouth.filter.x[2],pmpNorth.vol.dynBal.U,pmpNorth.filter.x[1],pmpNorth.filter.x[2],valSouth1[1].filter.x[1],valSouth1[1].filter.x[2],valSouth1[2].filter.x[1],valSouth1[2].filter.x[2],valSouth1[3].filter.x[1],valSouth1[3].filter.x[2],valSouth1[4].filter.x[1],valSouth1[4].filter.x[2],valSouth2[1].filter.x[1],valSouth2[1].filter.x[2],valSouth2[2].filter.x[1],valSouth2[2].filter.x[2],valSouth2[3].filter.x[1],valSouth2[3].filter.x[2],valSouth2[4].filter.x[1],valSouth2[4].filter.x[2],valSouth2[5].filter.x[1],valSouth2[5].filter.x[2],valSouth2[6].filter.x[1],valSouth2[6].filter.x[2],valSouth2[7].filter.x[1],valSouth2[7].filter.x[2],valSouth2[8].filter.x[1],valSouth2[8].filter.x[2],valNorth1[1].filter.x[1],valNorth1[1].filter.x[2],valNorth1[2].filter.x[1],valNorth1[2].filter.x[2],valNorth1[3].filter.x[1],valNorth1[3].filter.x[2],valNorth1[4].filter.x[1],valNorth1[4].filter.x[2],valNorth2[1].filter.x[1],valNorth2[1].filter.x[2],valNorth2[2].filter.x[1],valNorth2[2].filter.x[2],valNorth2[3].filter.x[1],valNorth2[3].filter.x[2],valNorth2[4].filter.x[1],valNorth2[4].filter.x[2],valNorth2[5].filter.x[1],valNorth2[5].filter.x[2],valNorth2[6].filter.x[1],valNorth2[6].filter.x[2],valNorth2[7].filter.x[1],valNorth2[7].filter.x[2],valNorth2[8].filter.x[1],valNorth2[8].filter.x[2],valSouth.vol.dynBal.U,valSouth.filter.x[1],valSouth.filter.x[2],valNorth.vol.dynBal.U,valNorth.filter.x[1],valNorth.filter.x[2],spl.vol.dynBal.U,spl1.vol.dynBal.U,pumpHea.vol.dynBal.U,pumpHea.filter.x[1],pumpHea.filter.x[2],valHea.filter.x[1],valHea.filter.x[2],valCoo.filter.x[1],valCoo.filter.x[2],spl2.vol.dynBal.U,spl3.vol.dynBal.U,pumpCoo.vol.dynBal.U,pumpCoo.filter.x[1],pumpCoo.filter.x[2]) * 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 (530): * Single equations (assignments): 508 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 7 * 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: 7 {1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(28,89.3%) 28} * Non-linear torn systems: 1 {14 90} Notification: Performance of Backend phase and start with SimCode phase: time 0.01403/61.04, allocations: 5.29 MB / 11.33 GB, free: 124.3 MB / 1.135 GB Notification: Performance of simCode: created initialization part: time 0.147/61.19, allocations: 35.53 MB / 11.37 GB, free: 121.3 MB / 1.135 GB Notification: Performance of simCode: created event and clocks part: time 1.89e-05/61.19, allocations: 11.06 kB / 11.37 GB, free: 121.3 MB / 1.135 GB Notification: Performance of simCode: created simulation system equations: time 0.03018/61.22, allocations: 8.654 MB / 11.37 GB, free: 121 MB / 1.135 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.06968/61.29, allocations: 7.273 MB / 11.38 GB, free: 120.6 MB / 1.135 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1188/61.41, allocations: 27.33 MB / 11.41 GB, free: 115.1 MB / 1.135 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.03298/61.44, allocations: 10.1 MB / 11.42 GB, free: 113.8 MB / 1.135 GB Notification: Performance of SimCode: time 2.084e-06/61.44, allocations: 0 / 11.42 GB, free: 113.8 MB / 1.135 GB Notification: Performance of Templates: time 2.703/64.15, allocations: 473.6 MB / 11.88 GB, free: 130 MB / 1.136 GB