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.0009501/0.0009501, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.009206/0.009205, allocations: 174 kB / 16.27 MB, free: 6.676 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.396/1.396, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.876/2.876, allocations: 473.4 MB / 0.7469 GB, free: 6.043 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004323/0.0004323, allocations: 17.28 kB / 0.9158 GB, free: 33.02 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3605/0.361, allocations: 162.2 MB / 1.074 GB, free: 7.531 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController): time 0.009118/0.3701, allocations: 6.877 MB / 1.081 GB, free: 0.625 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1781/0.5483, allocations: 147.8 MB / 1.225 GB, free: 12.23 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001136/0.5495, allocations: 23.88 kB / 1.225 GB, free: 12.2 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001248/0.5508, allocations: 353.9 kB / 1.226 GB, free: 11.86 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.002245/0.553, allocations: 0.6481 MB / 1.226 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.002423/0.5555, allocations: 0.9866 MB / 1.227 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.002665/0.5581, allocations: 2.286 MB / 1.229 GB, free: 7.926 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001538/0.5597, allocations: 1.091 MB / 1.23 GB, free: 6.785 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009643/0.5607, allocations: 0.5909 MB / 1.231 GB, free: 6.191 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008681/0.5615, allocations: 0.6994 MB / 1.232 GB, free: 5.488 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001199/0.5617, allocations: 44 kB / 1.232 GB, free: 5.445 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009048/0.5626, allocations: 407.6 kB / 1.232 GB, free: 5.047 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0003947/0.563, allocations: 322.4 kB / 1.232 GB, free: 4.73 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0009834/0.564, allocations: 0.8171 MB / 1.233 GB, free: 3.902 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.002711/0.5667, allocations: 2.854 MB / 1.236 GB, free: 1.039 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.5667, allocations: 0 / 1.236 GB, free: 1.039 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.234e-06/0.5667, allocations: 0 / 1.236 GB, free: 1.039 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 2.934e-05/0.5668, allocations: 4 kB / 1.236 GB, free: 1.035 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.004048/0.5708, allocations: 1.888 MB / 1.238 GB, free: 15.09 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.814e-05/0.5709, allocations: 8.031 kB / 1.238 GB, free: 15.08 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006233/0.5771, allocations: 0.9311 MB / 1.239 GB, free: 14.14 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001858/0.579, allocations: 1.113 MB / 1.24 GB, free: 12.99 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001101/0.5791, allocations: 123.3 kB / 1.24 GB, free: 12.87 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000254/0.5794, allocations: 156 kB / 1.24 GB, free: 12.71 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004976/0.5844, allocations: 2.078 MB / 1.242 GB, free: 10.59 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.746e-05/0.5844, allocations: 4 kB / 1.242 GB, free: 10.58 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001838/0.5846, allocations: 68 kB / 1.242 GB, free: 10.52 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.405e-05/0.5846, allocations: 40 kB / 1.242 GB, free: 10.48 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00713/0.5918, allocations: 2.503 MB / 1.245 GB, free: 7.969 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.01161/0.6034, allocations: 5.752 MB / 1.25 GB, free: 2.039 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005135/0.6086, allocations: 1.731 MB / 1.252 GB, free: 316 kB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.6778/1.286, allocations: 0.8018 MB / 1.253 GB, free: 179.4 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006994/1.287, allocations: 493.8 kB / 1.253 GB, free: 179 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003273/1.29, allocations: 1.08 MB / 1.254 GB, free: 178.9 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=139): time 4.148e-06/1.29, allocations: 2.344 kB / 1.254 GB, free: 178.9 MB / 0.9981 GB Notification: Performance of matching and sorting (n=139): time 0.008496/1.299, allocations: 2.639 MB / 1.257 GB, free: 178.7 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.938e-05/1.299, allocations: 196.3 kB / 1.257 GB, free: 178.5 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001517/1.301, allocations: 0.9332 MB / 1.258 GB, free: 178.3 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001531/1.301, allocations: 56.7 kB / 1.258 GB, free: 178.3 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006272/1.301, allocations: 0.6479 MB / 1.259 GB, free: 178.1 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004954/1.302, allocations: 451.2 kB / 1.259 GB, free: 177.8 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002479/1.302, allocations: 107.2 kB / 1.259 GB, free: 177.8 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001272/1.302, allocations: 360.3 kB / 1.26 GB, free: 177.5 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00205/1.304, allocations: 0.6983 MB / 1.26 GB, free: 177.5 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001945/1.306, allocations: 0.8366 MB / 1.261 GB, free: 177.2 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003631/1.31, allocations: 1.48 MB / 1.263 GB, free: 176.6 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.711e-06/1.31, allocations: 3.172 kB / 1.263 GB, free: 176.6 MB / 0.9981 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.00496/1.315, allocations: 1.857 MB / 1.264 GB, free: 175.9 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.597e-05/1.315, allocations: 5.062 kB / 1.264 GB, free: 175.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.178e-05/1.315, allocations: 3.141 kB / 1.264 GB, free: 175.9 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006162/1.316, allocations: 91.03 kB / 1.264 GB, free: 175.9 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001798/1.317, allocations: 354 kB / 1.265 GB, free: 175.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001854/1.319, allocations: 1.543 MB / 1.266 GB, free: 174.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001864/1.321, allocations: 231.2 kB / 1.267 GB, free: 174.4 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001487/1.321, allocations: 65.16 kB / 1.267 GB, free: 174.3 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.0008226/1.322, allocations: 408.2 kB / 1.267 GB, free: 174.1 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002135/1.322, allocations: 130.5 kB / 1.267 GB, free: 174 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00595/1.328, allocations: 2.237 MB / 1.269 GB, free: 173.1 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.569e-05/1.328, allocations: 18.8 kB / 1.269 GB, free: 173.1 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/1.328, allocations: 0.5156 kB / 1.269 GB, free: 173.1 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-05/1.328, allocations: 11.58 kB / 1.269 GB, free: 173.1 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002478/1.331, allocations: 1.785 MB / 1.271 GB, free: 172.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.815e-06/1.331, allocations: 4.766 kB / 1.271 GB, free: 172.3 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001728/1.333, allocations: 313.2 kB / 1.271 GB, free: 172.3 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005319/1.333, allocations: 85.5 kB / 1.271 GB, free: 172.3 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001234/1.333, allocations: 46.88 kB / 1.272 GB, free: 172.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001623/1.335, allocations: 1.579 MB / 1.273 GB, free: 170.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/1.335, allocations: 0 / 1.273 GB, free: 170.8 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005304/1.34, allocations: 1.939 MB / 1.275 GB, free: 170 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008393/1.341, allocations: 459.7 kB / 1.275 GB, free: 169.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002261/1.341, allocations: 33.17 kB / 1.275 GB, free: 169.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00164/1.343, allocations: 173.5 kB / 1.276 GB, free: 169.6 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003508/1.343, allocations: 119.6 kB / 1.276 GB, free: 169.6 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001728/1.344, allocations: 57.81 kB / 1.276 GB, free: 169.6 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001069/1.345, allocations: 0.679 MB / 1.276 GB, free: 169.3 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.6e-07/1.345, allocations: 0 / 1.276 GB, free: 169.3 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001506/1.346, allocations: 0.5139 MB / 1.277 GB, free: 169.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.001511/1.348, allocations: 0.6536 MB / 1.278 GB, free: 169 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.005272/1.353, allocations: 1.842 MB / 1.279 GB, free: 168.3 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 8.095e-06/1.353, allocations: 1.703 kB / 1.279 GB, free: 168.3 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.002701/1.356, allocations: 1.066 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.001975/1.358, allocations: 372.1 kB / 1.281 GB, free: 167.7 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006583/1.364, allocations: 3.849 MB / 1.285 GB, free: 165.5 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00102/1.365, allocations: 1.278 MB / 1.286 GB, free: 164.7 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.002272/1.368, allocations: 391.5 kB / 1.286 GB, free: 164.6 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006671/1.368, allocations: 171.6 kB / 1.286 GB, free: 164.5 MB / 0.9981 GB Notification: Performance of SimCode: time 9.32e-07/1.368, allocations: 0 / 1.286 GB, free: 164.5 MB / 0.9981 GB Notification: Performance of Templates: time 0.04275/1.411, allocations: 23.76 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)