Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified1.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Examples.FlowSystem.Simplified1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified1") translateModel(Buildings.Fluid.Examples.FlowSystem.Simplified1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified1") [: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 8.0.0/package.mo): time 2.252/2.252, allocations: 284.9 MB / 292.2 MB, free: 10.72 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00161/0.001609, allocations: 189.2 kB / 360.4 MB, free: 7.5 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.801/1.801, allocations: 205.1 MB / 0.6188 GB, free: 12.44 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001287/0.001286, allocations: 92.8 kB / 0.7318 GB, free: 44.98 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.104e-05/1.119e-05, allocations: 4 kB / 0.8502 GB, free: 3.863 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6331/0.6331, allocations: 115.2 MB / 0.9628 GB, free: 78.08 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.071/1.704, allocations: 463.1 MB / 1.415 GB, free: 106 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002769/1.704, allocations: 89.14 kB / 1.415 GB, free: 105.9 MB / 0.8542 GB Notification: Performance of FrontEnd: time 43.42/45.12, allocations: 8.701 GB / 10.12 GB, free: 80 MB / 1.229 GB Notification: Performance of Transformations before backend: time 0.005132/45.13, allocations: 0.5218 MB / 10.12 GB, free: 79.86 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: 2061 * Number of variables: 2061 Notification: Performance of Generate backend data structure: time 0.08448/45.21, allocations: 15.05 MB / 10.13 GB, free: 73.42 MB / 1.229 GB Notification: Performance of prepare preOptimizeDAE: time 5.401e-05/45.21, allocations: 7.438 kB / 10.13 GB, free: 73.42 MB / 1.229 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02675/45.24, allocations: 2.352 MB / 10.13 GB, free: 72.38 MB / 1.229 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1647/45.4, allocations: 26.93 MB / 10.16 GB, free: 68.84 MB / 1.229 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001088/45.4, allocations: 260 kB / 10.16 GB, free: 68.84 MB / 1.229 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008766/45.41, allocations: 0.578 MB / 10.16 GB, free: 68.84 MB / 1.229 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0656/45.48, allocations: 20.04 MB / 10.18 GB, free: 66.95 MB / 1.229 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05735/45.53, allocations: 15.62 MB / 10.2 GB, free: 55.56 MB / 1.229 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008671/45.54, allocations: 11.94 kB / 10.2 GB, free: 55.55 MB / 1.229 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006299/45.54, allocations: 19.94 kB / 10.2 GB, free: 55.53 MB / 1.229 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003419/45.54, allocations: 218.5 kB / 10.2 GB, free: 55.32 MB / 1.229 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 1.011/46.55, allocations: 83.25 MB / 10.28 GB, free: 166.3 MB / 1.229 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0321/46.59, allocations: 10.3 MB / 10.29 GB, free: 166.1 MB / 1.229 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0282/46.61, allocations: 9.408 MB / 10.3 GB, free: 166.1 MB / 1.229 GB Notification: Performance of preOpt evalFunc (simulation): time 0.117/46.73, allocations: 35.45 MB / 10.33 GB, free: 158 MB / 1.229 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02514/46.76, allocations: 9.128 MB / 10.34 GB, free: 157.8 MB / 1.229 GB Notification: Performance of pre-optimization done (n=584): time 1.158e-05/46.76, allocations: 2.719 kB / 10.34 GB, free: 157.8 MB / 1.229 GB Notification: Performance of matching and sorting (n=586): time 1.565/48.32, allocations: 150 MB / 10.49 GB, free: 149.4 MB / 1.229 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001054/48.32, allocations: 2.506 MB / 10.49 GB, free: 146.4 MB / 1.229 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04905/48.37, allocations: 14.17 MB / 10.5 GB, free: 145.6 MB / 1.229 GB Notification: Performance of collectPreVariables (initialization): time 0.004675/48.38, allocations: 44.36 kB / 10.5 GB, free: 145.6 MB / 1.229 GB Notification: Performance of collectInitialEqns (initialization): time 0.01014/48.39, allocations: 4.08 MB / 10.51 GB, free: 144.2 MB / 1.229 GB Notification: Performance of collectInitialBindings (initialization): time 0.0084/48.39, allocations: 1.997 MB / 10.51 GB, free: 143.1 MB / 1.229 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004266/48.4, allocations: 0 / 10.51 GB, free: 143.1 MB / 1.229 GB Notification: Performance of setup shared object (initialization): time 0.001275/48.4, allocations: 0.6793 MB / 10.51 GB, free: 142.8 MB / 1.229 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02439/48.42, allocations: 8.71 MB / 10.52 GB, free: 142.8 MB / 1.229 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02859/48.45, allocations: 12.17 MB / 10.53 GB, free: 138.8 MB / 1.229 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03302/48.49, allocations: 10.22 MB / 10.54 GB, free: 138.6 MB / 1.229 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001325/48.49, allocations: 13.5 kB / 10.54 GB, free: 138.6 MB / 1.229 GB Notification: Performance of matching and sorting (n=1198) (initialization): time 1.507/49.99, allocations: 134.9 MB / 10.67 GB, free: 110 MB / 1.229 GB Notification: Performance of prepare postOptimizeDAE: time 0.007053/50, allocations: 36.49 MB / 10.71 GB, free: 72.5 MB / 1.229 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006626/50, allocations: 121.8 kB / 10.71 GB, free: 72.42 MB / 1.229 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.253/52.25, allocations: 161.4 MB / 10.86 GB, free: 163.9 MB / 1.229 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02383/52.28, allocations: 2.088 MB / 10.87 GB, free: 163.9 MB / 1.229 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2967/52.58, allocations: 67.58 MB / 10.93 GB, free: 156.9 MB / 1.229 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03457/52.61, allocations: 0.8639 MB / 10.93 GB, free: 156.8 MB / 1.229 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005684/52.62, allocations: 0.8399 MB / 10.93 GB, free: 156.8 MB / 1.229 GB Notification: Performance of prepare postOptimizeDAE: time 1.768e-05/52.62, allocations: 10.39 kB / 10.93 GB, free: 156.8 MB / 1.229 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 1.532/54.15, allocations: 132.2 MB / 11.06 GB, free: 147.6 MB / 1.229 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006443/54.15, allocations: 113.2 kB / 11.06 GB, free: 147.6 MB / 1.229 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.611/55.76, allocations: 161.2 MB / 11.22 GB, free: 67.83 MB / 1.229 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01933/55.78, allocations: 2.05 MB / 11.22 GB, free: 65.94 MB / 1.229 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.156/56.93, allocations: 68.51 MB / 11.29 GB, free: 161.7 MB / 1.229 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03162/56.97, allocations: 0.8449 MB / 11.29 GB, free: 161.7 MB / 1.229 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005108/56.97, allocations: 0.8 MB / 11.29 GB, free: 161.7 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 {39 65} Notification: Performance of prepare postOptimizeDAE: time 0.007559/56.98, allocations: 350.4 kB / 11.29 GB, free: 161.6 MB / 1.229 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.008068/56.99, allocations: 1.479 MB / 11.29 GB, free: 161.6 MB / 1.229 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.4656/57.45, allocations: 57.8 MB / 11.35 GB, free: 157.6 MB / 1.229 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000169/57.45, allocations: 69.56 kB / 11.35 GB, free: 157.6 MB / 1.229 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.319e-05/57.45, allocations: 30 kB / 11.35 GB, free: 157.6 MB / 1.229 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.3975/57.85, allocations: 51.7 MB / 11.4 GB, free: 150.5 MB / 1.229 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.465/58.32, allocations: 71.15 MB / 11.47 GB, free: 140.4 MB / 1.229 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.593e-05/58.32, allocations: 128 / 11.47 GB, free: 140.4 MB / 1.229 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01395/58.33, allocations: 1.111 MB / 11.47 GB, free: 140.4 MB / 1.229 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.5231/58.85, allocations: 67.01 MB / 11.54 GB, free: 127.1 MB / 1.229 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002631/58.86, allocations: 163.6 kB / 11.54 GB, free: 127.1 MB / 1.229 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1106/58.97, allocations: 26.45 MB / 11.56 GB, free: 120.5 MB / 1.229 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.03e-05/58.97, allocations: 2.906 kB / 11.56 GB, free: 120.5 MB / 1.229 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.4308/59.4, allocations: 62.52 MB / 11.62 GB, free: 93.5 MB / 1.229 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01609/59.41, allocations: 3.179 MB / 11.63 GB, free: 91.54 MB / 1.229 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.009146/59.42, allocations: 88.3 kB / 11.63 GB, free: 91.49 MB / 1.229 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0253/59.45, allocations: 0.7392 MB / 11.63 GB, free: 90.99 MB / 1.229 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003179/59.45, allocations: 373.4 kB / 11.63 GB, free: 90.82 MB / 1.229 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002721/59.45, allocations: 264.7 kB / 11.63 GB, free: 90.65 MB / 1.229 GB Notification: Performance of sort global known variables: time 0.03215/59.49, allocations: 10.65 MB / 11.64 GB, free: 84.85 MB / 1.229 GB Notification: Performance of remove unused functions: time 0.06656/59.55, allocations: 7.674 MB / 11.65 GB, free: 77.74 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 {39 65} Notification: Performance of Backend phase and start with SimCode phase: time 0.01434/59.57, allocations: 5.296 MB / 11.65 GB, free: 73.22 MB / 1.229 GB Notification: Performance of simCode: created initialization part: time 0.1307/59.7, allocations: 36.08 MB / 11.69 GB, free: 52.52 MB / 1.229 GB Notification: Performance of simCode: created event and clocks part: time 2.501e-05/59.7, allocations: 10.31 kB / 11.69 GB, free: 52.51 MB / 1.229 GB Notification: Performance of simCode: created simulation system equations: time 0.03122/59.73, allocations: 8.892 MB / 11.69 GB, free: 47.68 MB / 1.229 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0714/59.8, allocations: 7.269 MB / 11.7 GB, free: 43.58 MB / 1.229 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.654/61.45, allocations: 28.41 MB / 11.73 GB, free: 150.5 MB / 1.229 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.03046/61.49, allocations: 10.11 MB / 11.74 GB, free: 149.4 MB / 1.229 GB Notification: Performance of SimCode: time 2.244e-06/61.49, allocations: 0 / 11.74 GB, free: 149.4 MB / 1.229 GB Notification: Performance of Templates: time 1.99/63.47, allocations: 473.9 MB / 12.2 GB, free: 139.2 MB / 1.229 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified1.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified1.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified1.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified1.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified1.sim & ./Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified1.pipe 2>&1)