Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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_3.0.0_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController") translateModel(Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_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.001171/0.001171, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001334/0.001334, allocations: 193.6 kB / 16.25 MB, free: 6.621 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.381/1.381, allocations: 222.9 MB / 239.9 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.796/2.796, allocations: 472.6 MB / 0.7448 GB, free: 4.875 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001307/0.001307, allocations: 62.67 kB / 0.9115 GB, free: 33.56 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3617/0.363, allocations: 159.9 MB / 1.068 GB, free: 10.79 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController): time 0.009958/0.373, allocations: 7.353 MB / 1.075 GB, free: 3.402 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1909/0.564, allocations: 149.5 MB / 1.221 GB, free: 13.31 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002097/0.5662, allocations: 27.88 kB / 1.221 GB, free: 13.28 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001806/0.568, allocations: 357.8 kB / 1.221 GB, free: 12.93 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.00287/0.5709, allocations: 0.6586 MB / 1.222 GB, free: 12.27 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.002825/0.5738, allocations: 1.015 MB / 1.223 GB, free: 11.26 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.003375/0.5771, allocations: 2.455 MB / 1.225 GB, free: 8.793 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001554/0.5787, allocations: 1.144 MB / 1.226 GB, free: 7.598 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001271/0.58, allocations: 0.9033 MB / 1.227 GB, free: 6.691 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001092/0.5811, allocations: 0.9882 MB / 1.228 GB, free: 5.699 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0003732/0.5815, allocations: 264 kB / 1.229 GB, free: 5.441 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00119/0.5827, allocations: 0.6168 MB / 1.229 GB, free: 4.824 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0004991/0.5832, allocations: 0.5686 MB / 1.23 GB, free: 4.254 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.001053/0.5842, allocations: 1.081 MB / 1.231 GB, free: 3.168 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.003729/0.588, allocations: 3.089 MB / 1.234 GB, free: 72 kB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 7.945e-06/0.588, allocations: 4 kB / 1.234 GB, free: 68 kB / 0.9825 GB Notification: Performance of FrontEnd: time 3.356e-06/0.588, allocations: 0 / 1.234 GB, free: 68 kB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.344e-05/0.5881, allocations: 3.938 kB / 1.234 GB, free: 64 kB / 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.005418/0.5935, allocations: 2.278 MB / 1.236 GB, free: 13.72 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.83e-05/0.5936, allocations: 12.03 kB / 1.236 GB, free: 13.71 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006493/0.6001, allocations: 0.8608 MB / 1.237 GB, free: 12.85 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002296/0.6024, allocations: 1.102 MB / 1.238 GB, free: 11.7 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001078/0.6025, allocations: 127.2 kB / 1.238 GB, free: 11.58 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002696/0.6028, allocations: 156 kB / 1.238 GB, free: 11.43 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004799/0.6076, allocations: 2.055 MB / 1.24 GB, free: 9.32 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.382e-05/0.6077, allocations: 0 / 1.24 GB, free: 9.32 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001978/0.6079, allocations: 71.94 kB / 1.24 GB, free: 9.25 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.468e-05/0.6079, allocations: 40 kB / 1.24 GB, free: 9.211 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006194/0.6141, allocations: 2.44 MB / 1.243 GB, free: 6.766 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.01074/0.6249, allocations: 5.711 MB / 1.248 GB, free: 0.875 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.6325/1.257, allocations: 1.706 MB / 1.25 GB, free: 181.9 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002088/1.26, allocations: 0.8031 MB / 1.251 GB, free: 181.9 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006612/1.26, allocations: 493.1 kB / 1.251 GB, free: 181.4 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002684/1.263, allocations: 1.069 MB / 1.252 GB, free: 181.3 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=139): time 3.606e-06/1.263, allocations: 0 / 1.252 GB, free: 181.3 MB / 0.9981 GB Notification: Performance of matching and sorting (n=139): time 0.007679/1.271, allocations: 2.605 MB / 1.255 GB, free: 181.2 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.906e-05/1.271, allocations: 202.9 kB / 1.255 GB, free: 180.9 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00123/1.272, allocations: 0.933 MB / 1.256 GB, free: 180.8 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001438/1.272, allocations: 54.45 kB / 1.256 GB, free: 180.8 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004236/1.273, allocations: 0.6462 MB / 1.257 GB, free: 180.6 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002765/1.273, allocations: 452 kB / 1.257 GB, free: 180.3 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004166/1.273, allocations: 263.2 kB / 1.257 GB, free: 180.3 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 7.48e-05/1.273, allocations: 358.4 kB / 1.258 GB, free: 180 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001714/1.275, allocations: 0.6923 MB / 1.258 GB, free: 179.8 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001827/1.277, allocations: 0.8262 MB / 1.259 GB, free: 179.4 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003527/1.28, allocations: 1.461 MB / 1.26 GB, free: 178.8 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.04e-06/1.28, allocations: 4.703 kB / 1.26 GB, free: 178.8 MB / 0.9981 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.004888/1.285, allocations: 1.842 MB / 1.262 GB, free: 178.1 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.403e-05/1.285, allocations: 10.33 kB / 1.262 GB, free: 178.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.358e-05/1.285, allocations: 1.062 kB / 1.262 GB, free: 178.1 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006554/1.286, allocations: 85.39 kB / 1.262 GB, free: 178.1 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001955/1.288, allocations: 345.2 kB / 1.263 GB, free: 178.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001947/1.29, allocations: 1.656 MB / 1.264 GB, free: 176.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001818/1.292, allocations: 206.8 kB / 1.265 GB, free: 176.4 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001483/1.292, allocations: 64.22 kB / 1.265 GB, free: 176.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.0009022/1.293, allocations: 412.1 kB / 1.265 GB, free: 176.1 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002984/1.293, allocations: 132 kB / 1.265 GB, free: 176.1 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006771/1.3, allocations: 2.22 MB / 1.267 GB, free: 175.2 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.938e-05/1.3, allocations: 15.25 kB / 1.267 GB, free: 175.2 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.065e-06/1.3, allocations: 2.031 kB / 1.267 GB, free: 175.2 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.092e-05/1.3, allocations: 11.2 kB / 1.267 GB, free: 175.2 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002881/1.303, allocations: 1.785 MB / 1.269 GB, free: 174.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.317e-06/1.303, allocations: 0 / 1.269 GB, free: 174.4 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001824/1.305, allocations: 313.5 kB / 1.269 GB, free: 174.4 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004794/1.305, allocations: 75.23 kB / 1.269 GB, free: 174.3 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001442/1.305, allocations: 50.12 kB / 1.269 GB, free: 174.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001729/1.307, allocations: 1.678 MB / 1.271 GB, free: 172.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/1.307, allocations: 1.797 kB / 1.271 GB, free: 172.8 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005695/1.313, allocations: 1.927 MB / 1.273 GB, free: 172 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007268/1.314, allocations: 436.3 kB / 1.273 GB, free: 171.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000248/1.314, allocations: 36.34 kB / 1.273 GB, free: 171.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001582/1.316, allocations: 155.7 kB / 1.274 GB, free: 171.6 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003091/1.316, allocations: 112.7 kB / 1.274 GB, free: 171.6 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001509/1.316, allocations: 61.89 kB / 1.274 GB, free: 171.6 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.00099/1.317, allocations: 0.6747 MB / 1.274 GB, free: 171.3 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.7e-07/1.317, allocations: 0 / 1.274 GB, free: 171.3 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001362/1.318, allocations: 0.5215 MB / 1.275 GB, free: 171.2 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.00147/1.32, allocations: 0.655 MB / 1.276 GB, free: 171 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.006892/1.327, allocations: 2.163 MB / 1.278 GB, free: 170.3 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/1.327, allocations: 4.125 kB / 1.278 GB, free: 170.2 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.00256/1.329, allocations: 1.055 MB / 1.279 GB, free: 169.8 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00177/1.331, allocations: 394.2 kB / 1.279 GB, free: 169.7 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007149/1.338, allocations: 3.802 MB / 1.283 GB, free: 167.4 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00102/1.339, allocations: 1.278 MB / 1.284 GB, free: 166.7 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.002227/1.342, allocations: 417.8 kB / 1.284 GB, free: 166.5 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006291/1.342, allocations: 164.3 kB / 1.285 GB, free: 166.5 MB / 0.9981 GB Notification: Performance of SimCode: time 1.012e-06/1.342, allocations: 0 / 1.285 GB, free: 166.5 MB / 0.9981 GB Notification: Performance of Templates: time 0.04556/1.388, allocations: 24.83 MB / 1.309 GB, free: 152.2 MB / 0.9981 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.sim & ./Buildings_3.0.0_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe 2>&1)