Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Obsolete.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Obsolete.Fluid.SolarCollectors.Controls.Examples.SolarPumpController,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Obsolete.Fluid.SolarCollectors.Controls.Examples.SolarPumpController") translateModel(Buildings.Obsolete.Fluid.SolarCollectors.Controls.Examples.SolarPumpController,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Obsolete.Fluid.SolarCollectors.Controls.Examples.SolarPumpController") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001632/0.001632, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002037/0.002037, allocations: 190.9 kB / 16.25 MB, free: 6.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.366/1.366, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.703/2.703, allocations: 472.6 MB / 0.7448 GB, free: 4.93 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00124/0.00124, allocations: 69.06 kB / 0.9115 GB, free: 33.55 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2671/0.2683, allocations: 159.9 MB / 1.068 GB, free: 10.83 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Fluid.SolarCollectors.Controls.Examples.SolarPumpController): time 0.006495/0.2748, allocations: 5.186 MB / 1.073 GB, free: 5.617 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1559/0.4308, allocations: 148.8 MB / 1.218 GB, free: 248 kB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008073/0.4316, allocations: 19.88 kB / 1.218 GB, free: 228 kB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0006715/0.4323, allocations: 186.7 kB / 1.218 GB, free: 40 kB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001702/0.434, allocations: 0.5339 MB / 1.219 GB, free: 15.51 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001778/0.4358, allocations: 0.7618 MB / 1.22 GB, free: 14.75 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001363/0.4372, allocations: 1.436 MB / 1.221 GB, free: 13.3 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008275/0.4381, allocations: 0.6108 MB / 1.222 GB, free: 12.67 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006055/0.4387, allocations: 0.4943 MB / 1.222 GB, free: 12.18 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005396/0.4392, allocations: 0.5385 MB / 1.223 GB, free: 11.64 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001469/0.4394, allocations: 120 kB / 1.223 GB, free: 11.52 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008221/0.4402, allocations: 487.6 kB / 1.223 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002636/0.4405, allocations: 307 kB / 1.223 GB, free: 10.74 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0004687/0.441, allocations: 0.5869 MB / 1.224 GB, free: 10.15 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001665/0.4426, allocations: 1.69 MB / 1.226 GB, free: 8.457 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.4427, allocations: 7.938 kB / 1.226 GB, free: 8.449 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.523e-06/0.4427, allocations: 0 / 1.226 GB, free: 8.449 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.651e-05/0.4427, allocations: 0 / 1.226 GB, free: 8.449 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 217 * Number of variables: 217 Notification: Performance of Generate backend data structure: time 0.002548/0.4452, allocations: 1.5 MB / 1.227 GB, free: 6.895 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.817e-05/0.4453, allocations: 12.03 kB / 1.227 GB, free: 6.883 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009221/0.4462, allocations: 195.3 kB / 1.227 GB, free: 6.691 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001153/0.4474, allocations: 0.7778 MB / 1.228 GB, free: 5.871 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.368e-05/0.4474, allocations: 66 kB / 1.228 GB, free: 5.809 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001188/0.4476, allocations: 95.92 kB / 1.228 GB, free: 5.715 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001592/0.4492, allocations: 0.9379 MB / 1.229 GB, free: 4.734 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.057e-05/0.4492, allocations: 0 / 1.229 GB, free: 4.734 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.474e-05/0.4493, allocations: 32 kB / 1.229 GB, free: 4.703 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.768e-05/0.4493, allocations: 24 kB / 1.229 GB, free: 4.68 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001882/0.4512, allocations: 1.132 MB / 1.23 GB, free: 3.551 MB / 0.9825 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.004/0.4552, allocations: 2.806 MB / 1.233 GB, free: 0.625 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00153/0.4568, allocations: 0.8349 MB / 1.234 GB, free: 15.78 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005658/0.4573, allocations: 314.7 kB / 1.234 GB, free: 15.47 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001829/0.4575, allocations: 121.6 kB / 1.234 GB, free: 15.34 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009569/0.4585, allocations: 0.4992 MB / 1.235 GB, free: 14.82 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=82): time 2.344e-06/0.4585, allocations: 0 / 1.235 GB, free: 14.82 MB / 0.9981 GB Notification: Performance of matching and sorting (n=82): time 0.00346/0.462, allocations: 1.252 MB / 1.236 GB, free: 13.54 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001039/0.4621, allocations: 188.6 kB / 1.236 GB, free: 13.31 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008348/0.463, allocations: 0.6881 MB / 1.237 GB, free: 12.61 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.108e-05/0.463, allocations: 45.7 kB / 1.237 GB, free: 12.56 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003012/0.4633, allocations: 416.4 kB / 1.237 GB, free: 12.15 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002007/0.4636, allocations: 268.2 kB / 1.238 GB, free: 11.88 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000245/0.4638, allocations: 170.4 kB / 1.238 GB, free: 11.71 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001724/0.464, allocations: 394.7 kB / 1.238 GB, free: 11.32 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005475/0.4645, allocations: 277.8 kB / 1.238 GB, free: 11.04 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006448/0.4652, allocations: 375.1 kB / 1.239 GB, free: 10.66 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001157/0.4664, allocations: 0.6385 MB / 1.239 GB, free: 10.01 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/0.4664, allocations: 0 / 1.239 GB, free: 10.01 MB / 0.9981 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002123/0.4685, allocations: 0.8877 MB / 1.24 GB, free: 9.117 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.447e-05/0.4685, allocations: 12.03 kB / 1.24 GB, free: 9.105 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.296e-06/0.4686, allocations: 0 / 1.24 GB, free: 9.105 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00064/0.4692, allocations: 84.77 kB / 1.24 GB, free: 9.02 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006937/0.4699, allocations: 167.7 kB / 1.24 GB, free: 8.855 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002212/0.4721, allocations: 1.646 MB / 1.242 GB, free: 7.062 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008947/0.473, allocations: 95.31 kB / 1.242 GB, free: 6.969 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.975e-05/0.4731, allocations: 44.03 kB / 1.242 GB, free: 6.926 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 17 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (96): * Single equations (assignments): 95 * 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.0004688/0.4736, allocations: 275.4 kB / 1.242 GB, free: 6.645 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001716/0.4738, allocations: 94.81 kB / 1.243 GB, free: 6.551 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002543/0.4763, allocations: 1.101 MB / 1.244 GB, free: 5.43 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.105e-06/0.4764, allocations: 12 kB / 1.244 GB, free: 5.418 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.745e-06/0.4764, allocations: 0 / 1.244 GB, free: 5.418 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.709e-06/0.4764, allocations: 3.984 kB / 1.244 GB, free: 5.414 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001106/0.4775, allocations: 0.9464 MB / 1.245 GB, free: 4.414 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/0.4775, allocations: 0 / 1.245 GB, free: 4.414 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006296/0.4782, allocations: 155.7 kB / 1.245 GB, free: 4.262 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004605/0.4786, allocations: 68.78 kB / 1.245 GB, free: 4.191 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.021e-05/0.4787, allocations: 31.92 kB / 1.245 GB, free: 4.16 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001964/0.4807, allocations: 1.674 MB / 1.246 GB, free: 2.344 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.4807, allocations: 3.984 kB / 1.246 GB, free: 2.34 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002065/0.4828, allocations: 0.9668 MB / 1.247 GB, free: 1.352 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003562/0.4831, allocations: 283.8 kB / 1.248 GB, free: 1.055 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001309/0.4833, allocations: 23.98 kB / 1.248 GB, free: 1.031 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006906/0.484, allocations: 73.27 kB / 1.248 GB, free: 0.9609 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001534/0.4841, allocations: 68.91 kB / 1.248 GB, free: 0.8945 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.04e-05/0.4842, allocations: 35.97 kB / 1.248 GB, free: 0.8594 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.00057/0.4848, allocations: 491 kB / 1.248 GB, free: 396 kB / 0.9981 GB Notification: Performance of sort global known variables: time 2.6e-07/0.4848, allocations: 0 / 1.248 GB, free: 396 kB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0008116/0.4856, allocations: 335.2 kB / 1.249 GB, free: 60 kB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (93): * Single equations (assignments): 87 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.4809/0.9665, allocations: 0.6059 MB / 1.249 GB, free: 183.4 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002896/0.9694, allocations: 1.075 MB / 1.25 GB, free: 183.3 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/0.9694, allocations: 1.125 kB / 1.25 GB, free: 183.3 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0009531/0.9704, allocations: 0.5322 MB / 1.251 GB, free: 183.2 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001389/0.9718, allocations: 324 kB / 1.251 GB, free: 183.2 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003091/0.9749, allocations: 2.204 MB / 1.253 GB, free: 182.1 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005401/0.9755, allocations: 1.043 MB / 1.254 GB, free: 181.4 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0009512/0.9764, allocations: 275.1 kB / 1.255 GB, free: 181.4 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002781/0.9767, allocations: 104.6 kB / 1.255 GB, free: 181.4 MB / 0.9981 GB Notification: Performance of SimCode: time 9.31e-07/0.9767, allocations: 1 kB / 1.255 GB, free: 181.4 MB / 0.9981 GB Notification: Performance of Templates: time 0.02622/1.003, allocations: 15.68 MB / 1.27 GB, free: 179.1 MB / 0.9981 GB make -j1 -f Buildings_3.0.0_Buildings.Obsolete.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.makefile (rm -f Buildings_3.0.0_Buildings.Obsolete.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe ; mkfifo Buildings_3.0.0_Buildings.Obsolete.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Obsolete.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe >> ../files/Buildings_3.0.0_Buildings.Obsolete.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.sim & ./Buildings_3.0.0_Buildings.Obsolete.Fluid.SolarCollectors.Controls.Examples.SolarPumpController -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Obsolete.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe 2>&1)