Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Examples.FlowSystem.Simplified1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified1") translateModel(Buildings.Fluid.Examples.FlowSystem.Simplified1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.59/1.59, allocations: 285.5 MB / 292.8 MB, free: 10.44 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.00146/0.00146, allocations: 169.3 kB / 361.1 MB, free: 7.109 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.603/1.603, allocations: 205.1 MB / 0.6195 GB, free: 10.29 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.001136/0.001136, allocations: 93.42 kB / 0.7326 GB, free: 44.21 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.097e-05/1.123e-05, allocations: 4 kB / 0.8511 GB, free: 2.969 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7116/0.7116, allocations: 115.3 MB / 0.9637 GB, free: 78.39 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.045/1.757, allocations: 463.3 MB / 1.416 GB, free: 100.1 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002635/1.757, allocations: 96.31 kB / 1.416 GB, free: 100.1 MB / 0.8542 GB Notification: Performance of FrontEnd: time 35.06/36.82, allocations: 8.701 GB / 10.12 GB, free: 95.34 MB / 1.198 GB Notification: Performance of Transformations before backend: time 0.005346/36.82, allocations: 0.511 MB / 10.12 GB, free: 95.24 MB / 1.198 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.06683/36.89, allocations: 15.04 MB / 10.13 GB, free: 89.32 MB / 1.198 GB Notification: Performance of prepare preOptimizeDAE: time 4.672e-05/36.89, allocations: 10.91 kB / 10.13 GB, free: 89.32 MB / 1.198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01801/36.91, allocations: 2.358 MB / 10.13 GB, free: 88.31 MB / 1.198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0863/36.99, allocations: 26.94 MB / 10.16 GB, free: 85.72 MB / 1.198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007979/37, allocations: 257.7 kB / 10.16 GB, free: 85.72 MB / 1.198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006348/37, allocations: 0.5853 MB / 10.16 GB, free: 85.72 MB / 1.198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.04091/37.04, allocations: 20.03 MB / 10.18 GB, free: 85.68 MB / 1.198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04572/37.09, allocations: 15.62 MB / 10.2 GB, free: 83.85 MB / 1.198 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007221/37.09, allocations: 13.84 kB / 10.2 GB, free: 83.85 MB / 1.198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00539/37.09, allocations: 17.03 kB / 10.2 GB, free: 83.85 MB / 1.198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000257/37.1, allocations: 215.2 kB / 10.2 GB, free: 83.85 MB / 1.198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1712/37.27, allocations: 83.23 MB / 10.28 GB, free: 48.77 MB / 1.198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01753/37.28, allocations: 10.3 MB / 10.29 GB, free: 48.63 MB / 1.198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01632/37.3, allocations: 9.411 MB / 10.3 GB, free: 48.56 MB / 1.198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1009/37.4, allocations: 35.47 MB / 10.33 GB, free: 39.31 MB / 1.198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02002/37.42, allocations: 9.123 MB / 10.34 GB, free: 39.15 MB / 1.198 GB Notification: Performance of pre-optimization done (n=584): time 1.192e-05/37.42, allocations: 0 / 10.34 GB, free: 39.15 MB / 1.198 GB Notification: Performance of matching and sorting (n=586): time 0.7105/38.13, allocations: 150 MB / 10.49 GB, free: 4.23 MB / 1.214 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001298/38.13, allocations: 2.506 MB / 10.49 GB, free: 1.141 MB / 1.214 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.7209/38.85, allocations: 14.23 MB / 10.5 GB, free: 195.3 MB / 1.214 GB Notification: Performance of collectPreVariables (initialization): time 0.005179/38.86, allocations: 49.3 kB / 10.5 GB, free: 195.3 MB / 1.214 GB Notification: Performance of collectInitialEqns (initialization): time 0.006208/38.87, allocations: 4.071 MB / 10.51 GB, free: 194.9 MB / 1.214 GB Notification: Performance of collectInitialBindings (initialization): time 0.006365/38.87, allocations: 1.992 MB / 10.51 GB, free: 194.9 MB / 1.214 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001091/38.87, allocations: 0 / 10.51 GB, free: 194.9 MB / 1.214 GB Notification: Performance of setup shared object (initialization): time 0.0004482/38.87, allocations: 0.6805 MB / 10.51 GB, free: 194.6 MB / 1.214 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01025/38.88, allocations: 8.705 MB / 10.52 GB, free: 194.6 MB / 1.214 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01337/38.9, allocations: 12.18 MB / 10.53 GB, free: 190.7 MB / 1.214 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01863/38.92, allocations: 10.22 MB / 10.54 GB, free: 190.6 MB / 1.214 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.721e-05/38.92, allocations: 15.06 kB / 10.54 GB, free: 190.6 MB / 1.214 GB Notification: Performance of matching and sorting (n=1198) (initialization): time 0.6932/39.61, allocations: 134.9 MB / 10.67 GB, free: 183.6 MB / 1.214 GB Notification: Performance of prepare postOptimizeDAE: time 0.007417/39.62, allocations: 36.49 MB / 10.71 GB, free: 146.2 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0007171/39.62, allocations: 120.2 kB / 10.71 GB, free: 146.2 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6933/40.31, allocations: 161.4 MB / 10.87 GB, free: 108.1 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01322/40.32, allocations: 2.084 MB / 10.87 GB, free: 106.6 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1403/40.46, allocations: 67.59 MB / 10.93 GB, free: 63.06 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02034/40.48, allocations: 0.871 MB / 10.93 GB, free: 62.22 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004324/40.49, allocations: 0.8364 MB / 10.94 GB, free: 61.46 MB / 1.214 GB Notification: Performance of prepare postOptimizeDAE: time 1.177e-05/40.49, allocations: 4 kB / 10.94 GB, free: 61.45 MB / 1.214 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 1.331/41.82, allocations: 132.2 MB / 11.06 GB, free: 174.7 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005469/41.82, allocations: 114.1 kB / 11.06 GB, free: 174.7 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6778/42.5, allocations: 161.2 MB / 11.22 GB, free: 159.2 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0117/42.51, allocations: 2.052 MB / 11.22 GB, free: 159.2 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1612/42.67, allocations: 68.52 MB / 11.29 GB, free: 155.4 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02408/42.7, allocations: 0.8412 MB / 11.29 GB, free: 155.4 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006146/42.7, allocations: 0.7964 MB / 11.29 GB, free: 155.4 MB / 1.214 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.008641/42.71, allocations: 346.1 kB / 11.29 GB, free: 155.2 MB / 1.214 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.008272/42.72, allocations: 1.476 MB / 11.29 GB, free: 155.2 MB / 1.214 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2193/42.94, allocations: 57.81 MB / 11.35 GB, free: 127 MB / 1.214 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001977/42.94, allocations: 74.31 kB / 11.35 GB, free: 126.9 MB / 1.214 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.265e-05/42.94, allocations: 28.8 kB / 11.35 GB, free: 126.9 MB / 1.214 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1845/43.12, allocations: 51.69 MB / 11.4 GB, free: 91.69 MB / 1.214 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 1.052/44.18, allocations: 71.15 MB / 11.47 GB, free: 164.2 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.224e-05/44.18, allocations: 6.391 kB / 11.47 GB, free: 164.2 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007682/44.18, allocations: 1.119 MB / 11.47 GB, free: 164.2 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.2099/44.39, allocations: 67.01 MB / 11.54 GB, free: 154.8 MB / 1.214 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002398/44.4, allocations: 161.4 kB / 11.54 GB, free: 154.8 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05859/44.45, allocations: 26.45 MB / 11.56 GB, free: 148.2 MB / 1.214 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.755e-06/44.45, allocations: 3.031 kB / 11.56 GB, free: 148.2 MB / 1.214 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.2093/44.66, allocations: 62.51 MB / 11.62 GB, free: 140.6 MB / 1.214 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01447/44.68, allocations: 3.188 MB / 11.63 GB, free: 140.3 MB / 1.214 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.008975/44.69, allocations: 84 kB / 11.63 GB, free: 140.3 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01801/44.7, allocations: 0.7438 MB / 11.63 GB, free: 140.2 MB / 1.214 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002704/44.71, allocations: 365.4 kB / 11.63 GB, free: 140.2 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002018/44.71, allocations: 263.8 kB / 11.63 GB, free: 140.2 MB / 1.214 GB Notification: Performance of sort global known variables: time 0.02759/44.74, allocations: 10.65 MB / 11.64 GB, free: 139.8 MB / 1.214 GB Notification: Performance of remove unused functions: time 0.05615/44.79, allocations: 7.676 MB / 11.65 GB, free: 139.8 MB / 1.214 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.01122/44.8, allocations: 5.289 MB / 11.65 GB, free: 137.5 MB / 1.214 GB Notification: Performance of simCode: created initialization part: time 0.0811/44.89, allocations: 36.07 MB / 11.69 GB, free: 134.5 MB / 1.214 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-05/44.89, allocations: 15.97 kB / 11.69 GB, free: 134.5 MB / 1.214 GB Notification: Performance of simCode: created simulation system equations: time 0.01841/44.9, allocations: 8.896 MB / 11.7 GB, free: 134.2 MB / 1.214 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04321/44.95, allocations: 7.272 MB / 11.7 GB, free: 133.8 MB / 1.214 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08468/45.03, allocations: 27.36 MB / 11.73 GB, free: 128.3 MB / 1.214 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02054/45.05, allocations: 10.1 MB / 11.74 GB, free: 127 MB / 1.214 GB Notification: Performance of SimCode: time 8.82e-07/45.05, allocations: 0 / 11.74 GB, free: 127 MB / 1.214 GB Notification: Performance of Templates: time 1.892/46.95, allocations: 473.9 MB / 12.2 GB, free: 163.8 MB / 1.214 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified1.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified1.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified1.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified1.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified1.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified1.pipe 2>&1)