Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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_1.6_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_1.6_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.001242/0.001242, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.00132/0.00132, allocations: 197.6 kB / 16.14 MB, free: 6.66 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.384/1.384, allocations: 222.9 MB / 239.8 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.818/2.818, allocations: 472.6 MB / 0.7447 GB, free: 4.953 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001277/0.001277, allocations: 69.05 kB / 0.9114 GB, free: 33.56 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3426/0.3439, allocations: 159.9 MB / 1.068 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Fluid.SolarCollectors.Controls.Examples.SolarPumpController): time 0.00717/0.3511, allocations: 5.183 MB / 1.073 GB, free: 5.688 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1803/0.5315, allocations: 148.7 MB / 1.218 GB, free: 408 kB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001205/0.5328, allocations: 19.88 kB / 1.218 GB, free: 388 kB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0008483/0.5337, allocations: 182.7 kB / 1.218 GB, free: 204 kB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.002132/0.5358, allocations: 0.5243 MB / 1.219 GB, free: 15.68 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.002203/0.5381, allocations: 0.7386 MB / 1.219 GB, free: 14.95 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001575/0.5396, allocations: 1.339 MB / 1.221 GB, free: 13.6 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000909/0.5406, allocations: 0.5987 MB / 1.221 GB, free: 12.98 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006468/0.5412, allocations: 442.2 kB / 1.222 GB, free: 12.54 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005515/0.5418, allocations: 0.4937 MB / 1.222 GB, free: 12.05 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001267/0.5419, allocations: 60 kB / 1.222 GB, free: 11.99 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008838/0.5428, allocations: 415.7 kB / 1.223 GB, free: 11.58 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002499/0.5431, allocations: 254.9 kB / 1.223 GB, free: 11.33 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0005155/0.5436, allocations: 0.5282 MB / 1.223 GB, free: 10.8 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001643/0.5452, allocations: 1.636 MB / 1.225 GB, free: 9.16 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.5453, allocations: 0 / 1.225 GB, free: 9.16 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.213e-06/0.5453, allocations: 0 / 1.225 GB, free: 9.16 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.478e-05/0.5453, allocations: 4 kB / 1.225 GB, free: 9.156 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.002773/0.5481, allocations: 1.5 MB / 1.226 GB, free: 7.605 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.149e-05/0.5481, allocations: 12.03 kB / 1.226 GB, free: 7.594 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009465/0.5491, allocations: 195.3 kB / 1.227 GB, free: 7.402 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001101/0.5502, allocations: 0.7817 MB / 1.227 GB, free: 6.578 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.017e-05/0.5503, allocations: 62 kB / 1.227 GB, free: 6.516 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001063/0.5504, allocations: 84 kB / 1.227 GB, free: 6.434 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001635/0.552, allocations: 0.9495 MB / 1.228 GB, free: 5.445 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.84e-05/0.552, allocations: 0 / 1.228 GB, free: 5.445 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.628e-05/0.5521, allocations: 36 kB / 1.228 GB, free: 5.41 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.2e-05/0.5522, allocations: 20 kB / 1.228 GB, free: 5.391 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001798/0.554, allocations: 1.136 MB / 1.23 GB, free: 4.254 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.004221/0.5582, allocations: 2.794 MB / 1.232 GB, free: 1.344 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00152/0.5597, allocations: 0.844 MB / 1.233 GB, free: 500 kB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005607/0.5603, allocations: 318.7 kB / 1.233 GB, free: 180 kB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001983/0.5605, allocations: 113.7 kB / 1.233 GB, free: 48 kB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001003/0.5615, allocations: 0.5031 MB / 1.234 GB, free: 15.52 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=82): time 2.846e-06/0.5616, allocations: 0 / 1.234 GB, free: 15.52 MB / 0.9981 GB Notification: Performance of matching and sorting (n=82): time 0.003304/0.5649, allocations: 1.248 MB / 1.235 GB, free: 14.25 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001043/0.565, allocations: 188.6 kB / 1.235 GB, free: 14.02 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008566/0.5658, allocations: 0.6842 MB / 1.236 GB, free: 13.32 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.006e-05/0.5659, allocations: 49.69 kB / 1.236 GB, free: 13.27 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003342/0.5663, allocations: 420.4 kB / 1.236 GB, free: 12.85 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002164/0.5665, allocations: 268.1 kB / 1.237 GB, free: 12.59 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002602/0.5668, allocations: 166.4 kB / 1.237 GB, free: 12.42 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001798/0.5669, allocations: 398.7 kB / 1.237 GB, free: 12.02 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005624/0.5675, allocations: 281.8 kB / 1.238 GB, free: 11.74 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006468/0.5682, allocations: 375.1 kB / 1.238 GB, free: 11.36 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001188/0.5694, allocations: 0.6346 MB / 1.239 GB, free: 10.71 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/0.5694, allocations: 0 / 1.239 GB, free: 10.71 MB / 0.9981 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002084/0.5715, allocations: 0.8877 MB / 1.239 GB, free: 9.82 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.227e-05/0.5715, allocations: 7.938 kB / 1.239 GB, free: 9.812 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.264e-06/0.5715, allocations: 0 / 1.239 GB, free: 9.812 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006332/0.5722, allocations: 88.84 kB / 1.239 GB, free: 9.723 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000678/0.5728, allocations: 167.8 kB / 1.24 GB, free: 9.559 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002045/0.5749, allocations: 1.54 MB / 1.241 GB, free: 7.879 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007774/0.5757, allocations: 95.38 kB / 1.241 GB, free: 7.785 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.853e-05/0.5758, allocations: 35.97 kB / 1.241 GB, free: 7.75 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.0004667/0.5762, allocations: 275.4 kB / 1.242 GB, free: 7.469 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001613/0.5764, allocations: 86.97 kB / 1.242 GB, free: 7.383 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002401/0.5788, allocations: 1.109 MB / 1.243 GB, free: 6.258 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.825e-06/0.5788, allocations: 8 kB / 1.243 GB, free: 6.25 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.056e-06/0.5788, allocations: 0 / 1.243 GB, free: 6.25 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.989e-06/0.5789, allocations: 11.92 kB / 1.243 GB, free: 6.238 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001086/0.58, allocations: 0.9386 MB / 1.244 GB, free: 5.246 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.58, allocations: 0 / 1.244 GB, free: 5.246 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000593/0.5806, allocations: 147.8 kB / 1.244 GB, free: 5.102 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005368/0.5811, allocations: 84.77 kB / 1.244 GB, free: 5.016 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.461e-05/0.5812, allocations: 31.86 kB / 1.244 GB, free: 4.984 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001784/0.583, allocations: 1.571 MB / 1.245 GB, free: 3.277 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.583, allocations: 0 / 1.245 GB, free: 3.277 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002005/0.585, allocations: 0.9668 MB / 1.246 GB, free: 2.289 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003764/0.5854, allocations: 283.6 kB / 1.247 GB, free: 1.992 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001274/0.5855, allocations: 16 kB / 1.247 GB, free: 1.977 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00064/0.5862, allocations: 77.42 kB / 1.247 GB, free: 1.902 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001578/0.5863, allocations: 68.91 kB / 1.247 GB, free: 1.836 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.378e-05/0.5864, allocations: 35.97 kB / 1.247 GB, free: 1.801 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0005968/0.587, allocations: 491 kB / 1.247 GB, free: 1.324 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.51e-07/0.587, allocations: 0 / 1.247 GB, free: 1.324 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0008826/0.5879, allocations: 331.2 kB / 1.248 GB, free: 1 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: 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.001393/0.5893, allocations: 0.6173 MB / 1.248 GB, free: 0.5586 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.4846/1.074, allocations: 0.8491 MB / 1.249 GB, free: 183.9 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.991e-06/1.074, allocations: 0.75 kB / 1.249 GB, free: 183.9 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001153/1.075, allocations: 0.5358 MB / 1.25 GB, free: 183.8 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001448/1.077, allocations: 290.1 kB / 1.25 GB, free: 183.8 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003299/1.08, allocations: 2.204 MB / 1.252 GB, free: 182.7 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006265/1.081, allocations: 1.043 MB / 1.253 GB, free: 182 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001075/1.082, allocations: 271 kB / 1.253 GB, free: 182 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003116/1.082, allocations: 105.4 kB / 1.253 GB, free: 182 MB / 0.9981 GB Notification: Performance of SimCode: time 1.072e-06/1.082, allocations: 2.031 kB / 1.253 GB, free: 182 MB / 0.9981 GB Notification: Performance of Templates: time 0.02948/1.111, allocations: 15.12 MB / 1.268 GB, free: 180.2 MB / 0.9981 GB make -j1 -f Buildings_1.6_Buildings.Obsolete.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.makefile (rm -f Buildings_1.6_Buildings.Obsolete.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe ; mkfifo Buildings_1.6_Buildings.Obsolete.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Obsolete.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe >> ../files/Buildings_1.6_Buildings.Obsolete.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.sim & ./Buildings_1.6_Buildings.Obsolete.Fluid.SolarCollectors.Controls.Examples.SolarPumpController -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Obsolete.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe 2>&1)