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.001867/0.001867, allocations: 100.3 kB / 19.72 MB, free: 424 kB / 13.93 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.002127/0.002127, allocations: 220.2 kB / 23.02 MB, free: 2.965 MB / 13.93 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.666/1.666, allocations: 230.6 MB / 256.8 MB, free: 9.629 MB / 202.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.433/3.433, allocations: 0.5045 GB / 0.8104 GB, free: 2.789 MB / 0.6511 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 0.004903/0.004903, allocations: 71.91 kB / 1.177 GB, free: 11.5 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9501/0.955, allocations: 180 MB / 1.353 GB, free: 1.637 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController): time 0.01106/0.966, allocations: 6.552 MB / 1.359 GB, free: 11.06 MB / 1.042 GB Notification: Performance of NFInst.instExpressions: time 0.2054/1.171, allocations: 133.8 MB / 1.49 GB, free: 4.723 MB / 1.167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001593/1.173, allocations: 27.81 kB / 1.49 GB, free: 4.695 MB / 1.167 GB Notification: Performance of NFTyping.typeComponents: time 0.002029/1.175, allocations: 436.7 kB / 1.49 GB, free: 4.266 MB / 1.167 GB Notification: Performance of NFTyping.typeBindings: time 0.003434/1.179, allocations: 0.7804 MB / 1.491 GB, free: 3.484 MB / 1.167 GB Notification: Performance of NFTyping.typeClassSections: time 0.00363/1.182, allocations: 1.165 MB / 1.492 GB, free: 2.324 MB / 1.167 GB Notification: Performance of NFFlatten.flatten: time 0.004773/1.187, allocations: 2.54 MB / 1.495 GB, free: 15.77 MB / 1.182 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001962/1.189, allocations: 0.7393 MB / 1.496 GB, free: 14.98 MB / 1.182 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001847/1.191, allocations: 0.958 MB / 1.496 GB, free: 14.02 MB / 1.182 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002/1.193, allocations: 0.9255 MB / 1.497 GB, free: 13.09 MB / 1.182 GB Notification: Performance of NFPackage.collectConstants: time 0.0007919/1.194, allocations: 276 kB / 1.498 GB, free: 12.82 MB / 1.182 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001893/1.195, allocations: 0.6559 MB / 1.498 GB, free: 12.16 MB / 1.182 GB Notification: Performance of NFScalarize.scalarize: time 0.000924/1.196, allocations: 0.5842 MB / 1.499 GB, free: 11.58 MB / 1.182 GB Notification: Performance of NFVerifyModel.verify: time 0.00186/1.198, allocations: 0.8906 MB / 1.5 GB, free: 10.68 MB / 1.182 GB Notification: Performance of NFConvertDAE.convert: time 0.006416/1.205, allocations: 3.297 MB / 1.503 GB, free: 7.375 MB / 1.182 GB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/1.205, allocations: 0 / 1.503 GB, free: 7.375 MB / 1.182 GB Notification: Performance of FrontEnd: time 1.703e-06/1.205, allocations: 0 / 1.503 GB, free: 7.375 MB / 1.182 GB Notification: Performance of Transformations before backend: time 0.0001256/1.205, allocations: 0 / 1.503 GB, free: 7.375 MB / 1.182 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.007583/1.212, allocations: 2.336 MB / 1.505 GB, free: 4.996 MB / 1.182 GB Notification: Performance of prepare preOptimizeDAE: time 5.143e-05/1.212, allocations: 8.922 kB / 1.505 GB, free: 4.988 MB / 1.182 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01857/1.231, allocations: 2.54 MB / 1.508 GB, free: 2.445 MB / 1.182 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00343/1.234, allocations: 1.159 MB / 1.509 GB, free: 1.25 MB / 1.182 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001684/1.235, allocations: 135.3 kB / 1.509 GB, free: 1.117 MB / 1.182 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006644/1.235, allocations: 164 kB / 1.509 GB, free: 0.957 MB / 1.182 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01157/1.247, allocations: 3.273 MB / 1.512 GB, free: 13.56 MB / 1.198 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.286e-05/1.247, allocations: 0 / 1.512 GB, free: 13.56 MB / 1.198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000398/1.247, allocations: 75.98 kB / 1.512 GB, free: 13.49 MB / 1.198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.363e-05/1.247, allocations: 40 kB / 1.512 GB, free: 13.45 MB / 1.198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01605/1.263, allocations: 4.107 MB / 1.516 GB, free: 9.336 MB / 1.198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02073/1.284, allocations: 7.053 MB / 1.523 GB, free: 1.605 MB / 1.198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01039/1.294, allocations: 2.523 MB / 1.526 GB, free: 15.07 MB / 1.214 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006756/1.301, allocations: 1.61 MB / 1.527 GB, free: 13.46 MB / 1.214 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002176/1.301, allocations: 41.27 kB / 1.527 GB, free: 13.42 MB / 1.214 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007624/1.309, allocations: 2.093 MB / 1.529 GB, free: 11.28 MB / 1.214 GB Notification: Performance of pre-optimization done (n=151): time 5.711e-06/1.309, allocations: 0 / 1.529 GB, free: 11.28 MB / 1.214 GB Notification: Performance of matching and sorting (n=151): time 0.02334/1.332, allocations: 5.003 MB / 1.534 GB, free: 6.266 MB / 1.214 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002272/1.333, allocations: 231.2 kB / 1.535 GB, free: 5.992 MB / 1.214 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001862/1.334, allocations: 0.8634 MB / 1.535 GB, free: 5.102 MB / 1.214 GB Notification: Performance of collectPreVariables (initialization): time 0.0004745/1.335, allocations: 65.7 kB / 1.535 GB, free: 5.031 MB / 1.214 GB Notification: Performance of collectInitialEqns (initialization): time 0.00106/1.336, allocations: 0.6774 MB / 1.536 GB, free: 4.344 MB / 1.214 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008929/1.337, allocations: 0.4996 MB / 1.537 GB, free: 3.84 MB / 1.214 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000951/1.338, allocations: 311.3 kB / 1.537 GB, free: 3.527 MB / 1.214 GB Notification: Performance of setup shared object (initialization): time 0.0001591/1.338, allocations: 309.1 kB / 1.537 GB, free: 3.223 MB / 1.214 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006828/1.345, allocations: 1.573 MB / 1.539 GB, free: 1.648 MB / 1.214 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007206/1.352, allocations: 1.888 MB / 1.541 GB, free: 15.7 MB / 1.229 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01302/1.365, allocations: 2.942 MB / 1.543 GB, free: 12.75 MB / 1.229 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.15e-05/1.365, allocations: 0 / 1.543 GB, free: 12.75 MB / 1.229 GB Notification: Performance of matching and sorting (n=182) (initialization): time 0.01532/1.38, allocations: 3.523 MB / 1.547 GB, free: 9.215 MB / 1.229 GB Notification: Performance of prepare postOptimizeDAE: time 4.637e-05/1.38, allocations: 8 kB / 1.547 GB, free: 9.207 MB / 1.229 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.194e-05/1.38, allocations: 0 / 1.547 GB, free: 9.207 MB / 1.229 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006508/1.381, allocations: 84.84 kB / 1.547 GB, free: 9.121 MB / 1.229 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004467/1.386, allocations: 0.6671 MB / 1.548 GB, free: 8.453 MB / 1.229 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002722/1.388, allocations: 1.523 MB / 1.549 GB, free: 6.824 MB / 1.229 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00475/1.393, allocations: 0.509 MB / 1.55 GB, free: 6.316 MB / 1.229 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005138/1.394, allocations: 71.92 kB / 1.55 GB, free: 6.246 MB / 1.229 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.001622/1.395, allocations: 421.5 kB / 1.55 GB, free: 5.824 MB / 1.229 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007031/1.396, allocations: 131.2 kB / 1.55 GB, free: 5.695 MB / 1.229 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01682/1.413, allocations: 3.893 MB / 1.554 GB, free: 1.785 MB / 1.229 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.827e-05/1.413, allocations: 16 kB / 1.554 GB, free: 1.77 MB / 1.229 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/1.413, allocations: 4 kB / 1.554 GB, free: 1.766 MB / 1.229 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.342e-05/1.413, allocations: 7.969 kB / 1.554 GB, free: 1.758 MB / 1.229 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02172/1.435, allocations: 6.365 MB / 1.56 GB, free: 11.02 MB / 1.245 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.78e-05/1.435, allocations: 0 / 1.56 GB, free: 11.02 MB / 1.245 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004561/1.439, allocations: 0.632 MB / 1.561 GB, free: 10.39 MB / 1.245 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005293/1.44, allocations: 76.72 kB / 1.561 GB, free: 10.31 MB / 1.245 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003642/1.44, allocations: 55.94 kB / 1.561 GB, free: 10.25 MB / 1.245 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002391/1.442, allocations: 1.547 MB / 1.563 GB, free: 8.594 MB / 1.245 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/1.442, allocations: 0 / 1.563 GB, free: 8.594 MB / 1.245 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01563/1.458, allocations: 3.61 MB / 1.566 GB, free: 4.961 MB / 1.245 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001443/1.459, allocations: 422.5 kB / 1.566 GB, free: 4.547 MB / 1.245 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006137/1.46, allocations: 43.95 kB / 1.566 GB, free: 4.504 MB / 1.245 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003832/1.464, allocations: 459.5 kB / 1.567 GB, free: 4.055 MB / 1.245 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004359/1.464, allocations: 125.8 kB / 1.567 GB, free: 3.93 MB / 1.245 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002756/1.465, allocations: 67.94 kB / 1.567 GB, free: 3.863 MB / 1.245 GB Notification: Performance of sorting global known variables: time 0.001375/1.466, allocations: 0.618 MB / 1.568 GB, free: 3.234 MB / 1.245 GB Notification: Performance of sort global known variables: time 5.21e-07/1.466, allocations: 0 / 1.568 GB, free: 3.234 MB / 1.245 GB Notification: Performance of remove unused functions: time 0.00227/1.468, allocations: 0.5688 MB / 1.568 GB, free: 2.664 MB / 1.245 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.003804/1.472, allocations: 0.6779 MB / 1.569 GB, free: 2.188 MB / 1.245 GB Notification: Performance of simCode: created initialization part: time 0.01573/1.488, allocations: 3.533 MB / 1.572 GB, free: 14.64 MB / 1.26 GB Notification: Performance of simCode: created event and clocks part: time 1.04e-05/1.488, allocations: 8.062 kB / 1.572 GB, free: 14.64 MB / 1.26 GB Notification: Performance of simCode: created simulation system equations: time 0.008588/1.496, allocations: 1.857 MB / 1.574 GB, free: 12.77 MB / 1.26 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002784/1.499, allocations: 378.3 kB / 1.575 GB, free: 12.42 MB / 1.26 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01371/1.513, allocations: 3.998 MB / 1.578 GB, free: 8.391 MB / 1.26 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001292/1.514, allocations: 0.7102 MB / 1.579 GB, free: 7.648 MB / 1.26 GB Notification: Performance of simCode: alias equations: time 0.002826/1.517, allocations: 446.2 kB / 1.58 GB, free: 7.207 MB / 1.26 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001056/1.518, allocations: 179.3 kB / 1.58 GB, free: 7.031 MB / 1.26 GB Notification: Performance of SimCode: time 1.653e-06/1.518, allocations: 0 / 1.58 GB, free: 7.031 MB / 1.26 GB Notification: Performance of Templates: time 0.0588/1.577, allocations: 30.22 MB / 1.609 GB, free: 9.094 MB / 1.292 GB " [Timeout remaining time 298] 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: 12.202909011393785]