Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.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.Fluid.SolarCollectors.Controls.Examples.SolarPumpController,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController") translateModel(Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.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.001036/0.001036, allocations: 91.84 kB / 15.36 MB, free: 0.7344 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.007796/0.007796, allocations: 169.8 kB / 16.26 MB, free: 6.68 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.43/1.43, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.878/2.878, allocations: 473.4 MB / 0.7469 GB, free: 6.113 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003994/0.0003994, allocations: 9.906 kB / 0.9158 GB, free: 32.95 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.394/0.3944, allocations: 162.2 MB / 1.074 GB, free: 7.547 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController): time 0.008732/0.4032, allocations: 6.869 MB / 1.081 GB, free: 0.6484 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1855/0.5888, allocations: 147.9 MB / 1.225 GB, free: 12.23 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002053/0.5909, allocations: 23.88 kB / 1.225 GB, free: 12.21 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001884/0.5928, allocations: 357.3 kB / 1.226 GB, free: 11.86 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.003316/0.5962, allocations: 0.6354 MB / 1.226 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.003178/0.5994, allocations: 0.9994 MB / 1.227 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.004035/0.6034, allocations: 2.286 MB / 1.229 GB, free: 7.934 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002336/0.6058, allocations: 1.091 MB / 1.23 GB, free: 6.793 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001341/0.6071, allocations: 0.587 MB / 1.231 GB, free: 6.203 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001389/0.6085, allocations: 0.6954 MB / 1.232 GB, free: 5.504 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0004203/0.609, allocations: 48 kB / 1.232 GB, free: 5.457 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001582/0.6106, allocations: 411.6 kB / 1.232 GB, free: 5.055 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0005833/0.6112, allocations: 318.4 kB / 1.232 GB, free: 4.742 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.001351/0.6125, allocations: 0.821 MB / 1.233 GB, free: 3.91 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.003928/0.6165, allocations: 2.854 MB / 1.236 GB, free: 1.047 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.6165, allocations: 0 / 1.236 GB, free: 1.047 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.755e-06/0.6165, allocations: 0 / 1.236 GB, free: 1.047 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 0.0001274/0.6166, allocations: 0 / 1.236 GB, free: 1.047 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: 415 * Number of variables: 415 Notification: Performance of Generate backend data structure: time 0.00545/0.6221, allocations: 1.888 MB / 1.238 GB, free: 15.1 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.838e-05/0.6221, allocations: 12.03 kB / 1.238 GB, free: 15.09 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006413/0.6286, allocations: 0.9311 MB / 1.239 GB, free: 14.15 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002699/0.6313, allocations: 1.114 MB / 1.24 GB, free: 13 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001427/0.6314, allocations: 119.3 kB / 1.24 GB, free: 12.88 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000475/0.6319, allocations: 160 kB / 1.24 GB, free: 12.72 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006228/0.6382, allocations: 2.074 MB / 1.242 GB, free: 10.6 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.188e-05/0.6382, allocations: 4 kB / 1.242 GB, free: 10.59 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002593/0.6385, allocations: 71.98 kB / 1.242 GB, free: 10.52 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.256e-05/0.6385, allocations: 40 kB / 1.242 GB, free: 10.48 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006887/0.6454, allocations: 2.503 MB / 1.245 GB, free: 7.977 MB / 0.9981 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.01203/0.6575, allocations: 5.749 MB / 1.25 GB, free: 2.051 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004889/0.6624, allocations: 1.731 MB / 1.252 GB, free: 328 kB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.6441/1.306, allocations: 0.8053 MB / 1.253 GB, free: 179.5 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006692/1.307, allocations: 491.7 kB / 1.253 GB, free: 179 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003329/1.311, allocations: 1.08 MB / 1.254 GB, free: 178.9 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=139): time 4.939e-06/1.311, allocations: 0 / 1.254 GB, free: 178.9 MB / 0.9981 GB Notification: Performance of matching and sorting (n=139): time 0.009026/1.32, allocations: 2.643 MB / 1.257 GB, free: 178.8 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.025e-05/1.32, allocations: 199 kB / 1.257 GB, free: 178.5 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001516/1.321, allocations: 0.9324 MB / 1.258 GB, free: 178.4 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002231/1.321, allocations: 55.83 kB / 1.258 GB, free: 178.4 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005062/1.322, allocations: 0.6436 MB / 1.259 GB, free: 178.1 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004405/1.322, allocations: 454.1 kB / 1.259 GB, free: 177.8 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002472/1.323, allocations: 108 kB / 1.259 GB, free: 177.8 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001037/1.323, allocations: 357.3 kB / 1.26 GB, free: 177.5 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002164/1.325, allocations: 0.6998 MB / 1.26 GB, free: 177.5 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00204/1.327, allocations: 0.8362 MB / 1.261 GB, free: 177.3 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003842/1.331, allocations: 1.481 MB / 1.263 GB, free: 176.7 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.011e-05/1.331, allocations: 2.656 kB / 1.263 GB, free: 176.7 MB / 0.9981 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.005146/1.336, allocations: 1.856 MB / 1.264 GB, free: 176 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.557e-05/1.336, allocations: 5.844 kB / 1.264 GB, free: 176 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.898e-06/1.336, allocations: 5.906 kB / 1.264 GB, free: 176 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006342/1.337, allocations: 94.67 kB / 1.264 GB, free: 176 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001871/1.339, allocations: 344.9 kB / 1.265 GB, free: 175.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001832/1.34, allocations: 1.552 MB / 1.266 GB, free: 174.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001919/1.342, allocations: 226.1 kB / 1.267 GB, free: 174.4 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001482/1.343, allocations: 62.69 kB / 1.267 GB, free: 174.4 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 25 (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,pumCon.hys.y,$PRE.pumCon.hys.y,pumCon.HDirTil.incAng.decAng.tNext,$PRE.pumCon.HDirTil.incAng.decAng.tNext,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 (161): * Single equations (assignments): 160 * 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.0008323/1.343, allocations: 407.2 kB / 1.267 GB, free: 174.1 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002324/1.344, allocations: 131.8 kB / 1.267 GB, free: 174.1 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006165/1.35, allocations: 2.236 MB / 1.269 GB, free: 173.2 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.464e-05/1.35, allocations: 21.12 kB / 1.269 GB, free: 173.2 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/1.35, allocations: 0 / 1.269 GB, free: 173.2 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.119e-05/1.35, allocations: 7.688 kB / 1.269 GB, free: 173.2 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002433/1.352, allocations: 1.79 MB / 1.271 GB, free: 172.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.923e-06/1.352, allocations: 0.75 kB / 1.271 GB, free: 172.4 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001793/1.354, allocations: 317.8 kB / 1.271 GB, free: 172.3 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005556/1.355, allocations: 86.14 kB / 1.271 GB, free: 172.3 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001329/1.355, allocations: 46.81 kB / 1.272 GB, free: 172.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001638/1.357, allocations: 1.576 MB / 1.273 GB, free: 170.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/1.357, allocations: 0 / 1.273 GB, free: 170.8 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005435/1.362, allocations: 1.941 MB / 1.275 GB, free: 170.1 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008461/1.363, allocations: 454.5 kB / 1.275 GB, free: 169.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002358/1.363, allocations: 34.22 kB / 1.275 GB, free: 169.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001738/1.365, allocations: 173.6 kB / 1.276 GB, free: 169.7 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003561/1.365, allocations: 117.3 kB / 1.276 GB, free: 169.7 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001789/1.365, allocations: 65.5 kB / 1.276 GB, free: 169.7 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001105/1.366, allocations: 0.6797 MB / 1.276 GB, free: 169.4 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.6e-07/1.366, allocations: 0 / 1.276 GB, free: 169.4 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001519/1.368, allocations: 0.5211 MB / 1.277 GB, free: 169.3 MB / 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: 15 ($whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,pumCon.HDifTilIso.incAng.decAng.tNext,pumCon.HDirTil.incAng.decAng.tNext,pumCon.hys.y,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 8 (pumCon.hys.y,pumCon.HDifTilIso.incAng.decAng.tNext,pumCon.HDirTil.incAng.decAng.tNext,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 (155): * Single equations (assignments): 147 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 7 * 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.001529/1.37, allocations: 0.6426 MB / 1.278 GB, free: 169 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.005107/1.375, allocations: 1.839 MB / 1.279 GB, free: 168.4 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 6.372e-06/1.375, allocations: 5.312 kB / 1.279 GB, free: 168.4 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.002649/1.377, allocations: 1.067 MB / 1.28 GB, free: 167.9 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001959/1.379, allocations: 371.1 kB / 1.281 GB, free: 167.8 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006528/1.386, allocations: 3.853 MB / 1.285 GB, free: 165.5 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009823/1.387, allocations: 1.278 MB / 1.286 GB, free: 164.8 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.002092/1.389, allocations: 392.6 kB / 1.286 GB, free: 164.6 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006346/1.39, allocations: 171.2 kB / 1.286 GB, free: 164.6 MB / 0.9981 GB Notification: Performance of SimCode: time 8.82e-07/1.39, allocations: 0 / 1.286 GB, free: 164.6 MB / 0.9981 GB Notification: Performance of Templates: time 0.04037/1.43, allocations: 23.75 MB / 1.309 GB, free: 152.2 MB / 0.9981 GB make -j1 -f Buildings_1.6_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.makefile (rm -f Buildings_1.6_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe >> ../files/Buildings_1.6_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.sim & ./Buildings_1.6_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe 2>&1)