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.001491/0.00149, allocations: 108 kB / 15.61 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00175/0.00175, allocations: 197.7 kB / 16.53 MB, free: 6.672 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.371/1.371, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.958/2.958, allocations: 472.6 MB / 0.7451 GB, free: 4.656 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001262/0.001262, allocations: 59.44 kB / 0.912 GB, free: 33.43 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3845/0.3857, allocations: 159.9 MB / 1.068 GB, free: 10.42 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController): time 0.01063/0.3964, allocations: 7.379 MB / 1.075 GB, free: 3.004 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1836/0.5801, allocations: 151.8 MB / 1.224 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001723/0.5818, allocations: 15.94 kB / 1.224 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001519/0.5834, allocations: 432.7 kB / 1.224 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.002394/0.5858, allocations: 0.7512 MB / 1.225 GB, free: 9.43 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.002399/0.5882, allocations: 1.131 MB / 1.226 GB, free: 8.305 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.00278/0.591, allocations: 2.443 MB / 1.228 GB, free: 5.848 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001496/0.5925, allocations: 1.148 MB / 1.229 GB, free: 4.648 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001321/0.5939, allocations: 0.8917 MB / 1.23 GB, free: 3.754 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001197/0.5951, allocations: 0.9843 MB / 1.231 GB, free: 2.766 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0003288/0.5954, allocations: 264 kB / 1.231 GB, free: 2.508 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00116/0.5966, allocations: 0.6168 MB / 1.232 GB, free: 1.891 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0004492/0.597, allocations: 0.5686 MB / 1.233 GB, free: 1.32 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.00098/0.598, allocations: 1.081 MB / 1.234 GB, free: 240 kB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.00306/0.6011, allocations: 3.089 MB / 1.237 GB, free: 13.14 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.541e-06/0.6011, allocations: 0 / 1.237 GB, free: 13.14 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.502e-06/0.6011, allocations: 0 / 1.237 GB, free: 13.14 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 3.739e-05/0.6012, allocations: 0 / 1.237 GB, free: 13.14 MB / 0.9981 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.004548/0.6057, allocations: 2.278 MB / 1.239 GB, free: 10.8 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.196e-05/0.6058, allocations: 8.031 kB / 1.239 GB, free: 10.79 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006199/0.612, allocations: 0.8647 MB / 1.24 GB, free: 9.922 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001954/0.614, allocations: 1.102 MB / 1.241 GB, free: 8.777 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001099/0.6141, allocations: 123.3 kB / 1.241 GB, free: 8.656 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002471/0.6144, allocations: 156 kB / 1.241 GB, free: 8.504 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004683/0.619, allocations: 2.059 MB / 1.243 GB, free: 6.395 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.62e-05/0.6191, allocations: 0 / 1.243 GB, free: 6.395 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001785/0.6193, allocations: 68 kB / 1.243 GB, free: 6.328 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.946e-05/0.6193, allocations: 36 kB / 1.243 GB, free: 6.293 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006087/0.6254, allocations: 2.444 MB / 1.246 GB, free: 3.844 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.8039/1.429, allocations: 5.698 MB / 1.251 GB, free: 22.75 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00653/1.436, allocations: 1.719 MB / 1.253 GB, free: 22.71 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003171/1.439, allocations: 0.802 MB / 1.254 GB, free: 22.7 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009035/1.44, allocations: 489.5 kB / 1.254 GB, free: 22.23 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003889/1.444, allocations: 1.074 MB / 1.255 GB, free: 22.15 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=139): time 5.3e-06/1.444, allocations: 0 / 1.255 GB, free: 22.15 MB / 0.9981 GB Notification: Performance of matching and sorting (n=139): time 0.0122/1.456, allocations: 2.607 MB / 1.258 GB, free: 21.98 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001184/1.456, allocations: 199.1 kB / 1.258 GB, free: 21.76 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00215/1.458, allocations: 0.9331 MB / 1.259 GB, free: 21.61 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002586/1.459, allocations: 54.52 kB / 1.259 GB, free: 21.58 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007536/1.459, allocations: 0.6472 MB / 1.259 GB, free: 21.35 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005515/1.46, allocations: 449 kB / 1.26 GB, free: 21.07 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007328/1.461, allocations: 270.2 kB / 1.26 GB, free: 21.05 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001384/1.461, allocations: 353.4 kB / 1.261 GB, free: 20.74 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003175/1.464, allocations: 0.6903 MB / 1.261 GB, free: 20.74 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0032/1.467, allocations: 0.8264 MB / 1.262 GB, free: 20.67 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006281/1.474, allocations: 1.459 MB / 1.263 GB, free: 20.61 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.477e-06/1.474, allocations: 5.25 kB / 1.263 GB, free: 20.61 MB / 0.9981 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.007981/1.482, allocations: 1.845 MB / 1.265 GB, free: 20.47 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.518e-05/1.482, allocations: 8.094 kB / 1.265 GB, free: 20.47 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.027e-05/1.482, allocations: 2.547 kB / 1.265 GB, free: 20.47 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006404/1.482, allocations: 84.23 kB / 1.265 GB, free: 20.46 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001941/1.484, allocations: 342.5 kB / 1.266 GB, free: 20.46 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00202/1.486, allocations: 1.653 MB / 1.267 GB, free: 19.08 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001993/1.488, allocations: 205.2 kB / 1.267 GB, free: 19.02 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002044/1.489, allocations: 65.19 kB / 1.268 GB, free: 19.02 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.000972/1.49, allocations: 398.8 kB / 1.268 GB, free: 18.91 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000417/1.49, allocations: 133.4 kB / 1.268 GB, free: 18.84 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006848/1.497, allocations: 2.221 MB / 1.27 GB, free: 18.71 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.453e-05/1.497, allocations: 19.97 kB / 1.27 GB, free: 18.71 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.736e-06/1.497, allocations: 0.7188 kB / 1.27 GB, free: 18.71 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.449e-05/1.497, allocations: 8.516 kB / 1.27 GB, free: 18.71 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003182/1.5, allocations: 1.805 MB / 1.272 GB, free: 18.45 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.857e-05/1.5, allocations: 0.5 kB / 1.272 GB, free: 18.45 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002031/1.502, allocations: 315.5 kB / 1.272 GB, free: 18.45 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005592/1.503, allocations: 76.36 kB / 1.272 GB, free: 18.44 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001933/1.503, allocations: 48.5 kB / 1.272 GB, free: 18.44 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001859/1.505, allocations: 1.677 MB / 1.274 GB, free: 17.05 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/1.505, allocations: 1.219 kB / 1.274 GB, free: 17.05 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005575/1.51, allocations: 1.919 MB / 1.276 GB, free: 16.87 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000756/1.511, allocations: 436.2 kB / 1.276 GB, free: 16.69 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003237/1.512, allocations: 43.41 kB / 1.276 GB, free: 16.68 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001768/1.513, allocations: 142.6 kB / 1.277 GB, free: 16.68 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003885/1.514, allocations: 118.7 kB / 1.277 GB, free: 16.68 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001849/1.514, allocations: 60.69 kB / 1.277 GB, free: 16.68 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001435/1.515, allocations: 0.6764 MB / 1.277 GB, free: 16.57 MB / 0.9981 GB Notification: Performance of sort global known variables: time 3.4e-07/1.515, allocations: 0 / 1.277 GB, free: 16.57 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002228/1.518, allocations: 0.517 MB / 1.278 GB, free: 16.5 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.001873/1.52, allocations: 0.6396 MB / 1.278 GB, free: 16.36 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.007916/1.527, allocations: 2.166 MB / 1.281 GB, free: 16.23 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 6.031e-06/1.528, allocations: 0 / 1.281 GB, free: 16.23 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.003155/1.531, allocations: 1.064 MB / 1.282 GB, free: 16.11 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002656/1.533, allocations: 395.4 kB / 1.282 GB, free: 16.07 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007937/1.541, allocations: 3.069 MB / 1.285 GB, free: 15.06 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001353/1.543, allocations: 1.277 MB / 1.286 GB, free: 14.34 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.002827/1.546, allocations: 409.9 kB / 1.287 GB, free: 14.24 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008619/1.546, allocations: 170.2 kB / 1.287 GB, free: 14.23 MB / 0.9981 GB Notification: Performance of SimCode: time 1.062e-06/1.546, allocations: 3.562 kB / 1.287 GB, free: 14.23 MB / 0.9981 GB Notification: Performance of Templates: time 0.0455/1.592, allocations: 25.05 MB / 1.311 GB, free: 11.4 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)