Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_8_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController") translateModel(Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.0008985/0.0008985, allocations: 86.48 kB / 15.06 MB, free: 1.09 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.00108/0.00108, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.445/1.445, allocations: 205.4 MB / 222.1 MB, free: 5.617 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.663/1.663, allocations: 292.7 MB / 0.5499 GB, free: 14.55 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005165/0.0005167, allocations: 17.58 kB / 0.6737 GB, free: 26.01 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2594/0.2599, allocations: 116.3 MB / 0.7873 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController): time 0.00524/0.2652, allocations: 3.818 MB / 0.791 GB, free: 8.07 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.5784/0.8437, allocations: 136.8 MB / 0.9246 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005985/0.8443, allocations: 16.88 kB / 0.9246 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0005745/0.8449, allocations: 158.1 kB / 0.9248 GB, free: 5.391 MB / 0.7169 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/BoundaryConditions/WeatherData/BaseClasses/getHeaderElementTMY3.mo:2:1-105:25:writable] Warning: Pure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3‘ contains a call to impure function ‘Modelica.Utilities.Streams.readLine‘. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/BoundaryConditions/WeatherData/BaseClasses/getLongitudeTMY3.mo:2:1-48:21:writable] Warning: Pure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getLongitudeTMY3‘ contains a call to impure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3‘. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/BoundaryConditions/WeatherData/BaseClasses/getLatitudeTMY3.mo:2:1-48:20:writable] Warning: Pure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getLatitudeTMY3‘ contains a call to impure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3‘. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/BoundaryConditions/WeatherData/BaseClasses/getTimeZoneTMY3.mo:2:1-47:20:writable] Warning: Pure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getTimeZoneTMY3‘ contains a call to impure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3‘. Notification: Performance of NFTyping.typeBindings: time 0.001508/0.8464, allocations: 415.8 kB / 0.9252 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0019/0.8483, allocations: 0.6019 MB / 0.9258 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001325/0.8497, allocations: 1.046 MB / 0.9268 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007891/0.8504, allocations: 479.7 kB / 0.9273 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004948/0.851, allocations: 301.6 kB / 0.9275 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004551/0.8514, allocations: 323.1 kB / 0.9279 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 7.364e-05/0.8515, allocations: 24.09 kB / 0.9279 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007869/0.8523, allocations: 290.1 kB / 0.9282 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0002053/0.8525, allocations: 167.1 kB / 0.9283 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0003739/0.8529, allocations: 187.2 kB / 0.9285 GB, free: 20.74 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001201/0.8541, allocations: 1.08 MB / 0.9295 GB, free: 20.65 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.8541, allocations: 0 / 0.9295 GB, free: 20.65 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.062e-06/0.8541, allocations: 0 / 0.9295 GB, free: 20.65 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.472e-05/0.8541, allocations: 0 / 0.9295 GB, free: 20.65 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 200 * Number of variables: 200 Notification: Performance of Generate backend data structure: time 0.001898/0.856, allocations: 1.166 MB / 0.9307 GB, free: 19.92 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.864e-05/0.8561, allocations: 11.17 kB / 0.9307 GB, free: 19.92 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008005/0.8569, allocations: 201.8 kB / 0.9309 GB, free: 19.86 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008934/0.8578, allocations: 0.7083 MB / 0.9316 GB, free: 19.54 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.664e-05/0.8579, allocations: 57.88 kB / 0.9316 GB, free: 19.54 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.718e-05/0.8579, allocations: 79.88 kB / 0.9317 GB, free: 19.54 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001307/0.8593, allocations: 0.8652 MB / 0.9326 GB, free: 19.38 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.927e-05/0.8593, allocations: 0 / 0.9326 GB, free: 19.38 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.603e-05/0.8594, allocations: 32.25 kB / 0.9326 GB, free: 19.38 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.768e-05/0.8594, allocations: 18.38 kB / 0.9326 GB, free: 19.38 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001513/0.8609, allocations: 1.088 MB / 0.9337 GB, free: 19.36 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003401/0.8643, allocations: 2.454 MB / 0.9361 GB, free: 18.56 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001258/0.8656, allocations: 0.7486 MB / 0.9368 GB, free: 18.51 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004937/0.8661, allocations: 290.5 kB / 0.9371 GB, free: 18.5 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001895/0.8663, allocations: 111.2 kB / 0.9372 GB, free: 18.4 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007769/0.8671, allocations: 449.4 kB / 0.9376 GB, free: 18.33 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=73): time 2.174e-06/0.8671, allocations: 1.188 kB / 0.9376 GB, free: 18.33 MB / 0.7325 GB Notification: Performance of matching and sorting (n=73): time 0.002773/0.8699, allocations: 1.134 MB / 0.9387 GB, free: 18.12 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000101/0.87, allocations: 192.2 kB / 0.9389 GB, free: 17.9 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008947/0.8709, allocations: 0.6198 MB / 0.9395 GB, free: 17.77 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 6.516e-05/0.871, allocations: 39.39 kB / 0.9395 GB, free: 17.73 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003127/0.8713, allocations: 391 kB / 0.9399 GB, free: 17.55 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001781/0.8715, allocations: 242.7 kB / 0.9401 GB, free: 17.4 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.786e-05/0.8715, allocations: 15.72 kB / 0.9402 GB, free: 17.4 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000171/0.8717, allocations: 384.4 kB / 0.9405 GB, free: 17.09 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005748/0.8723, allocations: 256.7 kB / 0.9408 GB, free: 17.08 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006789/0.873, allocations: 346.5 kB / 0.9411 GB, free: 17.03 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005588/0.8736, allocations: 295.6 kB / 0.9414 GB, free: 17.02 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.8736, allocations: 3.859 kB / 0.9414 GB, free: 17.02 MB / 0.7325 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001651/0.8752, allocations: 0.8184 MB / 0.9422 GB, free: 16.89 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.231e-05/0.8753, allocations: 5.25 kB / 0.9422 GB, free: 16.89 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.754e-05/0.8753, allocations: 4.297 kB / 0.9422 GB, free: 16.89 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005156/0.8758, allocations: 83.06 kB / 0.9423 GB, free: 16.88 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005849/0.8764, allocations: 153.6 kB / 0.9424 GB, free: 16.87 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001896/0.8783, allocations: 1.526 MB / 0.9439 GB, free: 15.57 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000624/0.8789, allocations: 90.09 kB / 0.944 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.419e-05/0.879, allocations: 39.09 kB / 0.944 GB, free: 15.54 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (84): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.000472/0.8795, allocations: 265 kB / 0.9443 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001143/0.8796, allocations: 87.98 kB / 0.9444 GB, free: 15.36 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002033/0.8817, allocations: 1.018 MB / 0.9454 GB, free: 15.23 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.628e-06/0.8817, allocations: 8.375 kB / 0.9454 GB, free: 15.23 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.8817, allocations: 1.156 kB / 0.9454 GB, free: 15.23 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.578e-06/0.8817, allocations: 3.094 kB / 0.9454 GB, free: 15.23 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001027/0.8827, allocations: 0.8771 MB / 0.9462 GB, free: 15 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.8827, allocations: 0 / 0.9462 GB, free: 15 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006284/0.8834, allocations: 150.7 kB / 0.9464 GB, free: 14.99 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004724/0.8839, allocations: 81.83 kB / 0.9465 GB, free: 14.98 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.55e-05/0.8839, allocations: 23.61 kB / 0.9465 GB, free: 14.98 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001691/0.8856, allocations: 1.561 MB / 0.948 GB, free: 13.68 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.8856, allocations: 3.984 kB / 0.948 GB, free: 13.67 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001593/0.8872, allocations: 0.879 MB / 0.9489 GB, free: 13.51 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003693/0.8876, allocations: 271.4 kB / 0.9491 GB, free: 13.36 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001005/0.8877, allocations: 17.22 kB / 0.9491 GB, free: 13.36 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004797/0.8882, allocations: 75.64 kB / 0.9492 GB, free: 13.35 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001398/0.8884, allocations: 58.53 kB / 0.9493 GB, free: 13.35 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.842e-05/0.8884, allocations: 32.83 kB / 0.9493 GB, free: 13.35 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0006294/0.8891, allocations: 444.5 kB / 0.9497 GB, free: 13.26 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.2e-07/0.8891, allocations: 0 / 0.9497 GB, free: 13.26 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0009221/0.89, allocations: 274.2 kB / 0.95 GB, free: 13.22 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001102/0.8911, allocations: 0.5545 MB / 0.9505 GB, free: 13 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.00146/0.8926, allocations: 0.7928 MB / 0.9513 GB, free: 12.85 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.8926, allocations: 192 / 0.9513 GB, free: 12.85 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0008061/0.8934, allocations: 0.493 MB / 0.9518 GB, free: 12.71 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001033/0.8945, allocations: 269 kB / 0.952 GB, free: 12.7 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003632/0.8981, allocations: 2.155 MB / 0.9541 GB, free: 11.73 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006138/0.8987, allocations: 1.015 MB / 0.9551 GB, free: 11.02 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0008792/0.8996, allocations: 256.1 kB / 0.9554 GB, free: 10.94 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000225/0.8999, allocations: 94.95 kB / 0.9555 GB, free: 10.93 MB / 0.7325 GB Notification: Performance of SimCode: time 7.11e-07/0.8999, allocations: 0 / 0.9555 GB, free: 10.93 MB / 0.7325 GB Notification: Performance of Templates: time 0.02138/0.9213, allocations: 12.91 MB / 0.9681 GB, free: 6.195 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe ; mkfifo Buildings_8_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe >> ../files/Buildings_8_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.sim & ./Buildings_8_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe 2>&1) Environment - environmentSimulation: