Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002178/0.002178, allocations: 80.45 kB / 19.95 MB, free: 4.605 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002054/0.002054, allocations: 173.2 kB / 23.24 MB, free: 1.324 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.671/1.671, allocations: 177.1 MB / 203.5 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 3.287/3.287, allocations: 389.5 MB / 0.6343 GB, free: 12.6 MB / 0.6042 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController") translateModel(Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.834e-06/1.834e-06, allocations: 0 / 1.001 GB, free: 13.03 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.272e-05/3.456e-05, allocations: 2.281 kB / 1.001 GB, free: 13.02 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController): time 0.01144/0.01148, allocations: 6.545 MB / 1.007 GB, free: 6.449 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.7508/0.7623, allocations: 133.9 MB / 1.138 GB, free: 12.98 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001492/0.7638, allocations: 27.12 kB / 1.138 GB, free: 12.97 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.002024/0.7658, allocations: 422.3 kB / 1.139 GB, free: 12.74 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.003346/0.7692, allocations: 0.8135 MB / 1.139 GB, free: 12.23 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.003668/0.7728, allocations: 1.163 MB / 1.141 GB, free: 11.58 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.004717/0.7776, allocations: 2.602 MB / 1.143 GB, free: 10.2 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001817/0.7794, allocations: 0.7412 MB / 1.144 GB, free: 9.75 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003854/0.7832, allocations: 1.434 MB / 1.145 GB, free: 9.023 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002017/0.7852, allocations: 0.7865 MB / 1.146 GB, free: 8.707 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 0.0004832/0.7857, allocations: 277.2 kB / 1.146 GB, free: 8.707 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00177/0.7875, allocations: 0.6639 MB / 1.147 GB, free: 8.586 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0008508/0.7883, allocations: 0.5946 MB / 1.148 GB, free: 8.172 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.001305/0.7897, allocations: 0.7583 MB / 1.148 GB, free: 7.766 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.006611/0.7963, allocations: 3.446 MB / 1.152 GB, free: 6.32 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.7963, allocations: 4.688 kB / 1.152 GB, free: 6.316 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.563e-06/0.7963, allocations: 0 / 1.152 GB, free: 6.316 MB / 1.01 GB Notification: Performance of Transformations before backend: time 6.378e-05/0.7963, allocations: 4 kB / 1.152 GB, free: 6.312 MB / 1.01 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 422 * Number of variables: 422 Notification: Performance of Generate backend data structure: time 0.007272/0.8036, allocations: 2.311 MB / 1.154 GB, free: 4.898 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 4.11e-05/0.8036, allocations: 14.53 kB / 1.154 GB, free: 4.895 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01778/0.8214, allocations: 2.546 MB / 1.156 GB, free: 4.66 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003452/0.8249, allocations: 1.147 MB / 1.158 GB, free: 3.926 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001429/0.825, allocations: 127 kB / 1.158 GB, free: 3.871 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004042/0.8254, allocations: 176.3 kB / 1.158 GB, free: 3.809 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01176/0.8372, allocations: 3.276 MB / 1.161 GB, free: 2.5 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.921e-05/0.8372, allocations: 0.5156 kB / 1.161 GB, free: 2.5 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002523/0.8375, allocations: 76.61 kB / 1.161 GB, free: 2.441 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.859e-05/0.8375, allocations: 40.62 kB / 1.161 GB, free: 2.441 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01585/0.8534, allocations: 4.082 MB / 1.165 GB, free: 1.52 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01948/0.8729, allocations: 7.038 MB / 1.172 GB, free: 12.69 MB / 1.026 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009084/0.8819, allocations: 2.532 MB / 1.174 GB, free: 11.93 MB / 1.026 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006485/0.8884, allocations: 1.612 MB / 1.176 GB, free: 11.52 MB / 1.026 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001808/0.8886, allocations: 42.55 kB / 1.176 GB, free: 11.51 MB / 1.026 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007359/0.896, allocations: 2.092 MB / 1.178 GB, free: 10.86 MB / 1.026 GB Notification: Performance of pre-optimization done (n=151): time 3.808e-06/0.896, allocations: 0 / 1.178 GB, free: 10.86 MB / 1.026 GB Notification: Performance of matching and sorting (n=151): time 0.02137/0.9173, allocations: 5.003 MB / 1.183 GB, free: 9.594 MB / 1.026 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002219/0.9176, allocations: 235.1 kB / 1.183 GB, free: 9.336 MB / 1.026 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001602/0.9192, allocations: 0.8628 MB / 1.184 GB, free: 8.934 MB / 1.026 GB Notification: Performance of collectPreVariables (initialization): time 0.0005004/0.9197, allocations: 64.25 kB / 1.184 GB, free: 8.875 MB / 1.026 GB Notification: Performance of collectInitialEqns (initialization): time 0.000801/0.9205, allocations: 0.6773 MB / 1.185 GB, free: 8.273 MB / 1.026 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006943/0.9212, allocations: 499.9 kB / 1.185 GB, free: 7.84 MB / 1.026 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006558/0.9218, allocations: 305.8 kB / 1.186 GB, free: 7.656 MB / 1.026 GB Notification: Performance of setup shared object (initialization): time 0.0002921/0.9221, allocations: 301.1 kB / 1.186 GB, free: 7.359 MB / 1.026 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00622/0.9283, allocations: 1.58 MB / 1.187 GB, free: 6.695 MB / 1.026 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006713/0.935, allocations: 1.882 MB / 1.189 GB, free: 5.719 MB / 1.026 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01189/0.9469, allocations: 2.949 MB / 1.192 GB, free: 4.457 MB / 1.026 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.069e-05/0.9469, allocations: 0 / 1.192 GB, free: 4.457 MB / 1.026 GB Notification: Performance of matching and sorting (n=182) (initialization): time 0.01407/0.961, allocations: 3.523 MB / 1.196 GB, free: 2.938 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 2.509e-05/0.961, allocations: 7.594 kB / 1.196 GB, free: 2.938 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.017e-05/0.961, allocations: 2.312 kB / 1.196 GB, free: 2.938 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006294/0.9617, allocations: 85.09 kB / 1.196 GB, free: 2.898 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003981/0.9657, allocations: 0.6641 MB / 1.196 GB, free: 2.699 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002446/0.9681, allocations: 1.519 MB / 1.198 GB, free: 1.254 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004112/0.9722, allocations: 0.511 MB / 1.198 GB, free: 1.043 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004046/0.9726, allocations: 72.23 kB / 1.198 GB, free: 1.012 MB / 1.026 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 39 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.k,$PRE.weaDat.decAng.k,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.k,$PRE.weaDat.eqnTim.k,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.k,$PRE.weaDat.conTim.k,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.k,$PRE.weaDat.conTimMin.k,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.k,$PRE.weaDat.locTim.k,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,pumCon.hys.y,$PRE.pumCon.hys.y,pumCon.HDirTil.incAng.decAng.k,$PRE.pumCon.HDirTil.incAng.decAng.k,pumCon.HDirTil.incAng.decAng.tNext,$PRE.pumCon.HDirTil.incAng.decAng.tNext,pumCon.HDifTilIso.incAng.decAng.k,$PRE.pumCon.HDifTilIso.incAng.decAng.k,pumCon.HDifTilIso.incAng.decAng.tNext,$PRE.pumCon.HDifTilIso.incAng.decAng.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (180): * Single equations (assignments): 179 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.001504/0.9741, allocations: 416.5 kB / 1.199 GB, free: 0.6133 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006678/0.9748, allocations: 131.2 kB / 1.199 GB, free: 496 kB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01611/0.9909, allocations: 3.9 MB / 1.203 GB, free: 12.57 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.256e-05/0.9909, allocations: 16 kB / 1.203 GB, free: 12.55 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.053e-06/0.9909, allocations: 0 / 1.203 GB, free: 12.55 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.208e-05/0.991, allocations: 7.969 kB / 1.203 GB, free: 12.55 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02031/1.011, allocations: 6.363 MB / 1.209 GB, free: 5.828 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.006e-05/1.011, allocations: 4 kB / 1.209 GB, free: 5.824 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004019/1.015, allocations: 0.6282 MB / 1.21 GB, free: 5.195 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004986/1.016, allocations: 76.78 kB / 1.21 GB, free: 5.117 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000289/1.016, allocations: 47.94 kB / 1.21 GB, free: 5.07 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002329/1.018, allocations: 1.556 MB / 1.211 GB, free: 3.414 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/1.018, allocations: 6.938 kB / 1.211 GB, free: 3.41 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01551/1.034, allocations: 3.614 MB / 1.215 GB, free: 15.77 MB / 1.057 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001574/1.035, allocations: 410.5 kB / 1.215 GB, free: 15.37 MB / 1.057 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006734/1.036, allocations: 47.88 kB / 1.215 GB, free: 15.32 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003987/1.04, allocations: 465.9 kB / 1.216 GB, free: 14.87 MB / 1.057 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004614/1.041, allocations: 125.8 kB / 1.216 GB, free: 14.75 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000336/1.041, allocations: 67.94 kB / 1.216 GB, free: 14.68 MB / 1.057 GB Notification: Performance of sorting global known variables: time 0.00139/1.042, allocations: 0.6141 MB / 1.216 GB, free: 14.05 MB / 1.057 GB Notification: Performance of sort global known variables: time 1e-07/1.042, allocations: 0 / 1.216 GB, free: 14.05 MB / 1.057 GB Notification: Performance of remove unused functions: time 0.002615/1.045, allocations: 0.565 MB / 1.217 GB, free: 13.49 MB / 1.057 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 22 ($whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,pumCon.HDifTilIso.incAng.decAng.tNext,pumCon.HDifTilIso.incAng.decAng.k,pumCon.HDirTil.incAng.decAng.tNext,pumCon.HDirTil.incAng.decAng.k,pumCon.hys.y,weaDat.locTim.tNext,weaDat.locTim.k,weaDat.conTimMin.tNext,weaDat.conTimMin.k,weaDat.conTim.tNext,weaDat.conTim.k,weaDat.eqnTim.tNext,weaDat.eqnTim.k,weaDat.decAng.tNext,weaDat.decAng.k) * Number of discrete states: 15 (weaDat.conTim.tNext,weaDat.eqnTim.tNext,pumCon.HDirTil.incAng.decAng.tNext,pumCon.HDifTilIso.incAng.decAng.tNext,weaDat.locTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext,weaDat.decAng.k,weaDat.eqnTim.k,weaDat.conTim.k,weaDat.conTimMin.k,weaDat.locTim.k,pumCon.HDirTil.incAng.decAng.k,pumCon.HDifTilIso.incAng.decAng.k,pumCon.hys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (166): * Single equations (assignments): 151 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 14 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00411/1.049, allocations: 0.691 MB / 1.218 GB, free: 13.01 MB / 1.057 GB Notification: Performance of simCode: created initialization part: time 0.01533/1.064, allocations: 3.537 MB / 1.221 GB, free: 9.457 MB / 1.057 GB Notification: Performance of simCode: created event and clocks part: time 5.07e-06/1.064, allocations: 4 kB / 1.221 GB, free: 9.453 MB / 1.057 GB Notification: Performance of simCode: created simulation system equations: time 0.008093/1.072, allocations: 1.864 MB / 1.223 GB, free: 7.578 MB / 1.057 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002756/1.075, allocations: 367 kB / 1.223 GB, free: 7.242 MB / 1.057 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01291/1.088, allocations: 3.97 MB / 1.227 GB, free: 3.242 MB / 1.057 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001441/1.09, allocations: 0.7141 MB / 1.228 GB, free: 2.488 MB / 1.057 GB Notification: Performance of simCode: alias equations: time 0.003211/1.093, allocations: 442.2 kB / 1.228 GB, free: 2.051 MB / 1.057 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001289/1.094, allocations: 180.3 kB / 1.228 GB, free: 1.875 MB / 1.057 GB Notification: Performance of SimCode: time 1.603e-06/1.094, allocations: 4 kB / 1.228 GB, free: 1.871 MB / 1.057 GB Notification: Performance of Templates: time 0.05442/1.149, allocations: 28.13 MB / 1.256 GB, free: 6.031 MB / 1.089 GB " [Timeout remaining time 299] make -j1 -f Buildings_13_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe ; mkfifo Buildings_13_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe >> ../files/Buildings_13_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.sim & ./Buildings_13_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 11.600958711467683]