Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified2.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.Simplified2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified2") translateModel(Buildings.Fluid.Examples.FlowSystem.Simplified2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.603/1.603, allocations: 289.8 MB / 297.1 MB, free: 6.711 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.001312/0.001312, allocations: 185.2 kB / 366.3 MB, free: 1.984 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.7/1.7, allocations: 205.1 MB / 0.6256 GB, free: 5.828 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.0009951/0.0009951, allocations: 93.55 kB / 0.7395 GB, free: 39.68 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.534e-06/7.554e-06, allocations: 0 / 0.859 GB, free: 13.38 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7148/0.7148, allocations: 116.3 MB / 0.9726 GB, free: 68.19 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9949/1.71, allocations: 464.4 MB / 1.426 GB, free: 21.59 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002328/1.71, allocations: 101.1 kB / 1.426 GB, free: 21.54 MB / 0.823 GB Notification: Performance of FrontEnd: time 34.56/36.27, allocations: 8.702 GB / 10.13 GB, free: 101.9 MB / 1.214 GB Notification: Performance of Transformations before backend: time 0.004294/36.28, allocations: 0.5124 MB / 10.13 GB, free: 101.8 MB / 1.214 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.06728/36.34, allocations: 15.05 MB / 10.14 GB, free: 95.95 MB / 1.214 GB Notification: Performance of prepare preOptimizeDAE: time 5.236e-05/36.34, allocations: 9.438 kB / 10.14 GB, free: 95.95 MB / 1.214 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01885/36.36, allocations: 2.351 MB / 10.15 GB, free: 94.94 MB / 1.214 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.09001/36.45, allocations: 26.95 MB / 10.17 GB, free: 92.35 MB / 1.214 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008342/36.45, allocations: 258.2 kB / 10.17 GB, free: 92.35 MB / 1.214 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006733/36.46, allocations: 0.5836 MB / 10.17 GB, free: 92.35 MB / 1.214 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.04041/36.5, allocations: 20.04 MB / 10.19 GB, free: 92.31 MB / 1.214 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04468/36.55, allocations: 15.62 MB / 10.21 GB, free: 90.49 MB / 1.214 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004546/36.55, allocations: 14.03 kB / 10.21 GB, free: 90.49 MB / 1.214 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004187/36.55, allocations: 18.62 kB / 10.21 GB, free: 90.49 MB / 1.214 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001995/36.55, allocations: 215.7 kB / 10.21 GB, free: 90.49 MB / 1.214 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1682/36.72, allocations: 83.24 MB / 10.29 GB, free: 55.58 MB / 1.214 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01741/36.74, allocations: 10.3 MB / 10.3 GB, free: 55.43 MB / 1.214 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01415/36.75, allocations: 9.411 MB / 10.31 GB, free: 55.36 MB / 1.214 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08935/36.84, allocations: 35.48 MB / 10.34 GB, free: 46.11 MB / 1.214 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01901/36.86, allocations: 9.128 MB / 10.35 GB, free: 45.95 MB / 1.214 GB Notification: Performance of pre-optimization done (n=584): time 1.003e-05/36.86, allocations: 0 / 10.35 GB, free: 45.95 MB / 1.214 GB Notification: Performance of matching and sorting (n=586): time 0.708/37.57, allocations: 150 MB / 10.5 GB, free: 8.352 MB / 1.214 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0006744/37.57, allocations: 2.502 MB / 10.5 GB, free: 5.277 MB / 1.214 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.05301/37.62, allocations: 15.06 MB / 10.52 GB, free: 12.4 MB / 1.229 GB Notification: Performance of collectPreVariables (initialization): time 0.004789/37.63, allocations: 41.7 kB / 10.52 GB, free: 12.35 MB / 1.229 GB Notification: Performance of collectInitialEqns (initialization): time 0.01073/37.64, allocations: 4.078 MB / 10.52 GB, free: 8.918 MB / 1.229 GB Notification: Performance of collectInitialBindings (initialization): time 0.007579/37.64, allocations: 2.001 MB / 10.52 GB, free: 7.066 MB / 1.229 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003699/37.65, allocations: 0 / 10.52 GB, free: 7.066 MB / 1.229 GB Notification: Performance of setup shared object (initialization): time 0.001183/37.65, allocations: 0.6736 MB / 10.52 GB, free: 6.496 MB / 1.229 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0223/37.67, allocations: 9.127 MB / 10.53 GB, free: 0 / 1.229 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.8989/38.57, allocations: 12.18 MB / 10.54 GB, free: 182.9 MB / 1.229 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02071/38.59, allocations: 10.22 MB / 10.55 GB, free: 182.8 MB / 1.229 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001271/38.59, allocations: 14.72 kB / 10.55 GB, free: 182.8 MB / 1.229 GB Notification: Performance of matching and sorting (n=1198) (initialization): time 0.6436/39.23, allocations: 134.9 MB / 10.68 GB, free: 176.8 MB / 1.229 GB Notification: Performance of prepare postOptimizeDAE: time 0.008077/39.24, allocations: 36.49 MB / 10.72 GB, free: 139.5 MB / 1.229 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000621/39.24, allocations: 116.7 kB / 10.72 GB, free: 139.5 MB / 1.229 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.7119/39.96, allocations: 161.2 MB / 10.88 GB, free: 124.1 MB / 1.229 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01414/39.97, allocations: 2.09 MB / 10.88 GB, free: 124 MB / 1.229 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1433/40.11, allocations: 67.35 MB / 10.95 GB, free: 88.48 MB / 1.229 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02356/40.14, allocations: 0.8704 MB / 10.95 GB, free: 87.93 MB / 1.229 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00536/40.14, allocations: 0.8407 MB / 10.95 GB, free: 87.42 MB / 1.229 GB Notification: Performance of prepare postOptimizeDAE: time 1.18e-05/40.14, allocations: 4 kB / 10.95 GB, free: 87.41 MB / 1.229 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 1.479/41.62, allocations: 132.1 MB / 11.08 GB, free: 164.8 MB / 1.229 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005714/41.62, allocations: 115.9 kB / 11.08 GB, free: 164.8 MB / 1.229 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6725/42.29, allocations: 161.2 MB / 11.23 GB, free: 151.8 MB / 1.229 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01118/42.3, allocations: 2.057 MB / 11.24 GB, free: 151.7 MB / 1.229 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1547/42.46, allocations: 68.39 MB / 11.3 GB, free: 147.9 MB / 1.229 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02112/42.48, allocations: 0.8473 MB / 11.3 GB, free: 147.9 MB / 1.229 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004563/42.49, allocations: 0.7912 MB / 11.3 GB, free: 147.9 MB / 1.229 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.005207/42.49, allocations: 349.9 kB / 11.3 GB, free: 147.8 MB / 1.229 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005159/42.5, allocations: 1.48 MB / 11.31 GB, free: 147.8 MB / 1.229 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2098/42.71, allocations: 57.79 MB / 11.36 GB, free: 140.2 MB / 1.229 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002561/42.71, allocations: 71.81 kB / 11.36 GB, free: 140.2 MB / 1.229 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001588/42.71, allocations: 29.62 kB / 11.36 GB, free: 140.2 MB / 1.229 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1848/42.89, allocations: 51.68 MB / 11.41 GB, free: 115.2 MB / 1.229 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2273/43.12, allocations: 71.16 MB / 11.48 GB, free: 71.21 MB / 1.229 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.346e-05/43.12, allocations: 4 kB / 11.48 GB, free: 71.21 MB / 1.229 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00799/43.13, allocations: 1.106 MB / 11.48 GB, free: 70.37 MB / 1.229 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.017/44.14, allocations: 66.76 MB / 11.55 GB, free: 167.8 MB / 1.229 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003063/44.15, allocations: 163 kB / 11.55 GB, free: 167.8 MB / 1.229 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05785/44.2, allocations: 26.33 MB / 11.57 GB, free: 161.2 MB / 1.229 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.646e-06/44.2, allocations: 3.375 kB / 11.57 GB, free: 161.2 MB / 1.229 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.2038/44.41, allocations: 62.52 MB / 11.64 GB, free: 153.6 MB / 1.229 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01174/44.42, allocations: 3.181 MB / 11.64 GB, free: 153.5 MB / 1.229 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007192/44.43, allocations: 86.73 kB / 11.64 GB, free: 153.5 MB / 1.229 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01594/44.44, allocations: 0.749 MB / 11.64 GB, free: 153.4 MB / 1.229 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002308/44.45, allocations: 369.9 kB / 11.64 GB, free: 153.4 MB / 1.229 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001379/44.45, allocations: 260.1 kB / 11.64 GB, free: 153.4 MB / 1.229 GB Notification: Performance of sort global known variables: time 0.02502/44.47, allocations: 10.65 MB / 11.65 GB, free: 153 MB / 1.229 GB Notification: Performance of remove unused functions: time 0.05451/44.53, allocations: 7.67 MB / 11.66 GB, free: 153 MB / 1.229 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.01135/44.54, allocations: 5.289 MB / 11.66 GB, free: 150.7 MB / 1.229 GB Notification: Performance of simCode: created initialization part: time 0.07535/44.61, allocations: 35.63 MB / 11.7 GB, free: 147.7 MB / 1.229 GB Notification: Performance of simCode: created event and clocks part: time 1.794e-05/44.61, allocations: 11.94 kB / 11.7 GB, free: 147.7 MB / 1.229 GB Notification: Performance of simCode: created simulation system equations: time 0.01852/44.63, allocations: 8.696 MB / 11.71 GB, free: 147.5 MB / 1.229 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04676/44.68, allocations: 7.269 MB / 11.71 GB, free: 147.1 MB / 1.229 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08798/44.77, allocations: 27.36 MB / 11.74 GB, free: 141.6 MB / 1.229 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02032/44.79, allocations: 10.1 MB / 11.75 GB, free: 140.3 MB / 1.229 GB Notification: Performance of SimCode: time 1.172e-06/44.79, allocations: 0 / 11.75 GB, free: 140.3 MB / 1.229 GB Notification: Performance of Templates: time 2.218/47.01, allocations: 474.9 MB / 12.21 GB, free: 169.5 MB / 1.229 GB make -j1 -f Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified2.makefile (rm -f Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified2.pipe ; mkfifo Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified2.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified2.pipe >> ../files/Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified2.sim & ./Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified2.pipe 2>&1)