Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank.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.0009259/0.0009259, allocations: 80.88 kB / 21.55 MB, free: 2.945 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.001823/0.001823, allocations: 163.7 kB / 24.97 MB, free: 8.656 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 0.9661/0.9661, allocations: 177.1 MB / 205.4 MB, free: 5.5 MB / 186.7 MB " [Timeout remaining time 179] 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 1.972/1.972, allocations: 389.6 MB / 0.6362 GB, free: 12.3 MB / 0.6042 GB " [Timeout remaining time 178] 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.Examples.FlatPlateWithTank,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank") translateModel(Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.743e-06/1.743e-06, allocations: 3.938 kB / 0.776 GB, free: 5.387 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.559e-05/2.733e-05, allocations: 2.812 kB / 0.776 GB, free: 5.383 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank): time 0.02845/0.02848, allocations: 35.17 MB / 0.8103 GB, free: 2.133 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.1602/0.1887, allocations: 161.9 MB / 0.9684 GB, free: 15.81 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006535/0.1952, allocations: 222.2 kB / 0.9686 GB, free: 15.59 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 0.007382/0.2026, allocations: 2.594 MB / 0.9711 GB, free: 12.98 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 0.01471/0.2173, allocations: 4.726 MB / 0.9758 GB, free: 8.227 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.01046/0.2278, allocations: 4.559 MB / 0.9802 GB, free: 3.664 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.03047/0.2583, allocations: 34.24 MB / 1.014 GB, free: 1.324 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01802/0.2763, allocations: 11.18 MB / 1.025 GB, free: 6.16 MB / 0.9792 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02909/0.3054, allocations: 15.28 MB / 1.039 GB, free: 6.98 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.8202/1.126, allocations: 8.519 MB / 1.048 GB, free: 53.34 MB / 0.9949 GB Notification: Performance of NFPackage.collectConstants: time 0.005754/1.131, allocations: 1.549 MB / 1.049 GB, free: 53.34 MB / 0.9949 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0117/1.143, allocations: 3.478 MB / 1.053 GB, free: 53.34 MB / 0.9949 GB Notification: Performance of NFScalarize.scalarize: time 0.00735/1.15, allocations: 4.093 MB / 1.057 GB, free: 53.34 MB / 0.9949 GB Notification: Performance of NFVerifyModel.verify: time 0.01611/1.166, allocations: 5.27 MB / 1.062 GB, free: 53.34 MB / 0.9949 GB Notification: Performance of NFConvertDAE.convert: time 0.02495/1.191, allocations: 13.7 MB / 1.075 GB, free: 52.35 MB / 0.9949 GB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/1.191, allocations: 0 / 1.075 GB, free: 52.35 MB / 0.9949 GB Notification: Performance of FrontEnd: time 1.312e-06/1.191, allocations: 0 / 1.075 GB, free: 52.35 MB / 0.9949 GB Notification: Performance of Transformations before backend: time 0.0006628/1.192, allocations: 0 / 1.075 GB, free: 52.35 MB / 0.9949 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2338 * Number of variables: 2338 Notification: Performance of Generate backend data structure: time 0.02358/1.216, allocations: 13.45 MB / 1.088 GB, free: 46.86 MB / 0.9949 GB Notification: Performance of prepare preOptimizeDAE: time 4.58e-05/1.216, allocations: 9.281 kB / 1.088 GB, free: 46.86 MB / 0.9949 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01573/1.231, allocations: 4.594 MB / 1.093 GB, free: 46.67 MB / 0.9949 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01571/1.247, allocations: 6.984 MB / 1.1 GB, free: 44.81 MB / 0.9949 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007731/1.248, allocations: 0.6871 MB / 1.1 GB, free: 44.79 MB / 0.9949 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003354/1.251, allocations: 0.9419 MB / 1.101 GB, free: 44.79 MB / 0.9949 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01573/1.267, allocations: 9.985 MB / 1.111 GB, free: 41.65 MB / 0.9949 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002152/1.267, allocations: 26.47 kB / 1.111 GB, free: 41.64 MB / 0.9949 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009518/1.268, allocations: 381.7 kB / 1.111 GB, free: 41.64 MB / 0.9949 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003202/1.269, allocations: 372 kB / 1.112 GB, free: 41.62 MB / 0.9949 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008964/1.277, allocations: 4.247 MB / 1.116 GB, free: 41.38 MB / 0.9949 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05841/1.336, allocations: 28.04 MB / 1.143 GB, free: 31.27 MB / 0.9949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008216/1.344, allocations: 4.773 MB / 1.148 GB, free: 30.81 MB / 0.9949 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002803/1.347, allocations: 1.811 MB / 1.15 GB, free: 30.73 MB / 0.9949 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt evalFunc (simulation): time 0.02382/1.371, allocations: 8.715 MB / 1.158 GB, free: 30.01 MB / 0.9949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003558/1.374, allocations: 3.958 MB / 1.162 GB, free: 28.03 MB / 0.9949 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00356/1.378, allocations: 0.5209 MB / 1.163 GB, free: 27.75 MB / 0.9949 GB Notification: Performance of pre-optimization done (n=611): time 2.723e-05/1.378, allocations: 0 / 1.163 GB, free: 27.75 MB / 0.9949 GB Notification: Performance of matching and sorting (n=611): time 0.008905/1.387, allocations: 4.125 MB / 1.167 GB, free: 27.53 MB / 0.9949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001003/1.387, allocations: 315.5 kB / 1.167 GB, free: 27.24 MB / 0.9949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00967/1.397, allocations: 6.279 MB / 1.173 GB, free: 26.55 MB / 0.9949 GB Notification: Performance of collectPreVariables (initialization): time 0.001876/1.398, allocations: 161.8 kB / 1.173 GB, free: 26.52 MB / 0.9949 GB Notification: Performance of collectInitialEqns (initialization): time 0.003303/1.402, allocations: 3.601 MB / 1.177 GB, free: 24.63 MB / 0.9949 GB Notification: Performance of collectInitialBindings (initialization): time 0.002888/1.405, allocations: 2.137 MB / 1.179 GB, free: 23.2 MB / 0.9949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003191/1.408, allocations: 1.433 MB / 1.18 GB, free: 22.89 MB / 0.9949 GB Notification: Performance of setup shared object (initialization): time 4.269e-05/1.408, allocations: 301.1 kB / 1.181 GB, free: 22.6 MB / 0.9949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00332/1.411, allocations: 1.657 MB / 1.182 GB, free: 21.38 MB / 0.9949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003679/1.415, allocations: 3.674 MB / 1.186 GB, free: 17.33 MB / 0.9949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007313/1.422, allocations: 4.996 MB / 1.191 GB, free: 12.39 MB / 0.9949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.459e-05/1.422, allocations: 16 kB / 1.191 GB, free: 12.37 MB / 0.9949 GB Notification: Performance of matching and sorting (n=966) (initialization): time 0.01094/1.433, allocations: 5.205 MB / 1.196 GB, free: 7.969 MB / 0.9949 GB Notification: Performance of prepare postOptimizeDAE: time 7.434e-05/1.433, allocations: 64.44 kB / 1.196 GB, free: 7.902 MB / 0.9949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.877e-05/1.433, allocations: 44 kB / 1.196 GB, free: 7.859 MB / 0.9949 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.666e-05/1.433, allocations: 87.98 kB / 1.196 GB, free: 7.773 MB / 0.9949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006494/1.44, allocations: 2.101 MB / 1.198 GB, free: 5.84 MB / 0.9949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.37e-05/1.44, allocations: 109.7 kB / 1.198 GB, free: 5.75 MB / 0.9949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007303/1.447, allocations: 0.5498 MB / 1.199 GB, free: 5.32 MB / 0.9949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001593/1.449, allocations: 287.1 kB / 1.199 GB, free: 5.098 MB / 0.9949 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00701/1.456, allocations: 1.857 MB / 1.201 GB, free: 3.441 MB / 0.9949 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004055/1.46, allocations: 3.657 MB / 1.204 GB, free: 15.18 MB / 1.011 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.008175/1.468, allocations: 4.968 MB / 1.209 GB, free: 9.852 MB / 1.011 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.103e-05/1.468, allocations: 12 kB / 1.209 GB, free: 9.84 MB / 1.011 GB Notification: Performance of matching and sorting (n=966) (initialization_lambda0): time 0.01331/1.481, allocations: 5.201 MB / 1.214 GB, free: 4.883 MB / 1.011 GB Notification: Performance of prepare postOptimizeDAE: time 7.262e-05/1.481, allocations: 61.69 kB / 1.214 GB, free: 4.816 MB / 1.011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.367e-05/1.482, allocations: 47 kB / 1.214 GB, free: 4.773 MB / 1.011 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.471e-05/1.482, allocations: 84.75 kB / 1.214 GB, free: 4.691 MB / 1.011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006324/1.488, allocations: 2.1 MB / 1.216 GB, free: 2.699 MB / 1.011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.302e-05/1.488, allocations: 116.6 kB / 1.217 GB, free: 2.609 MB / 1.011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007463/1.495, allocations: 0.5503 MB / 1.217 GB, free: 2.059 MB / 1.011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00183/1.497, allocations: 287.8 kB / 1.217 GB, free: 1.777 MB / 1.011 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 214 * Number of states: 0 () * Number of discrete variables: 49 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,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,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,solCol.HDirTil.incAng.decAng.k,$PRE.solCol.HDirTil.incAng.decAng.k,solCol.HDirTil.incAng.decAng.tNext,$PRE.solCol.HDirTil.incAng.decAng.tNext,solCol.HDifTilIso.incAng.decAng.k,$PRE.solCol.HDifTilIso.incAng.decAng.k,solCol.HDifTilIso.incAng.decAng.tNext,$PRE.solCol.HDifTilIso.incAng.decAng.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition9) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (956): * Single equations (assignments): 954 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00258/1.5, allocations: 0.6543 MB / 1.218 GB, free: 1.223 MB / 1.011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002827/1.503, allocations: 0.6946 MB / 1.219 GB, free: 0.5273 MB / 1.011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008831/1.512, allocations: 4.575 MB / 1.223 GB, free: 11.92 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003874/1.515, allocations: 2.624 MB / 1.226 GB, free: 9.199 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.189e-05/1.515, allocations: 0 / 1.226 GB, free: 9.199 MB / 1.026 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006532/1.522, allocations: 1.146 MB / 1.227 GB, free: 8.055 MB / 1.026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003185/1.525, allocations: 147.8 kB / 1.227 GB, free: 7.91 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00629/1.531, allocations: 0.4913 MB / 1.227 GB, free: 7.422 MB / 1.026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000959/1.532, allocations: 387.9 kB / 1.228 GB, free: 7.043 MB / 1.026 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.008946/1.541, allocations: 3.724 MB / 1.231 GB, free: 3.418 MB / 1.026 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01179/1.553, allocations: 5.244 MB / 1.237 GB, free: 14.19 MB / 1.042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003277/1.556, allocations: 1.82 MB / 1.238 GB, free: 12.39 MB / 1.042 GB Notification: Performance of sorting global known variables: time 0.007086/1.563, allocations: 2.894 MB / 1.241 GB, free: 9.867 MB / 1.042 GB Notification: Performance of Backend: time 1.132e-06/1.563, allocations: 0 / 1.241 GB, free: 9.867 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.02397/1.587, allocations: 7.889 MB / 1.249 GB, free: 2.902 MB / 1.042 GB Notification: Performance of SimCode: time 0.04755/1.635, allocations: 22.01 MB / 1.27 GB, free: 13.02 MB / 1.073 GB Notification: Performance of Templates: time 0.7829/2.418, allocations: 275.9 MB / 1.54 GB, free: 370.5 MB / 1.307 GB " [Timeout remaining time 298] make -j1 -f Buildings_13_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank.pipe ; mkfifo Buildings_13_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank.pipe >> ../files/Buildings_13_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank.sim & ./Buildings_13_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 11.531650742515922]