Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController") translateModel(Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.753/1.753, allocations: 288.4 MB / 303.7 MB, free: 8.824 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009992/0.0009994, allocations: 183.8 kB / 372.3 MB, free: 6.438 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.568/1.568, allocations: 205.4 MB / 0.631 GB, free: 14.4 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008258/0.0008256, allocations: 88.33 kB / 0.7444 GB, free: 63.92 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004663/0.0004664, allocations: 12 kB / 0.8675 GB, free: 0.7188 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3071/0.3076, allocations: 115.3 MB / 0.9801 GB, free: 13.22 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController): time 0.005331/0.313, allocations: 3.833 MB / 0.9839 GB, free: 9.367 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.8042/1.117, allocations: 136.8 MB / 1.117 GB, free: 22.46 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009089/1.118, allocations: 19.25 kB / 1.118 GB, free: 22.45 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0005926/1.119, allocations: 152.9 kB / 1.118 GB, free: 22.37 MB / 0.7448 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1-maint.8.0.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.0.1-maint.8.0.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.0.1-maint.8.0.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.001453/1.12, allocations: 417.8 kB / 1.118 GB, free: 22.14 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.001992/1.122, allocations: 0.5926 MB / 1.119 GB, free: 21.85 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.001351/1.124, allocations: 1.075 MB / 1.12 GB, free: 21.32 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008282/1.125, allocations: 0.5926 MB / 1.12 GB, free: 21 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004758/1.125, allocations: 301.9 kB / 1.121 GB, free: 20.87 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003908/1.125, allocations: 332 kB / 1.121 GB, free: 20.72 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 6.9e-05/1.126, allocations: 19.62 kB / 1.121 GB, free: 20.72 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007184/1.126, allocations: 296.8 kB / 1.121 GB, free: 20.64 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001603/1.126, allocations: 162.2 kB / 1.121 GB, free: 20.56 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0002971/1.127, allocations: 413.5 kB / 1.122 GB, free: 20.29 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0009112/1.128, allocations: 1.079 MB / 1.123 GB, free: 20 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/1.128, allocations: 0 / 1.123 GB, free: 20 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.703e-06/1.128, allocations: 4 kB / 1.123 GB, free: 20 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.247e-05/1.128, allocations: 1.031 kB / 1.123 GB, free: 20 MB / 0.7448 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.001824/1.13, allocations: 1.167 MB / 1.124 GB, free: 19.18 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.234e-05/1.13, allocations: 9.781 kB / 1.124 GB, free: 19.18 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008259/1.13, allocations: 193 kB / 1.124 GB, free: 19.11 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009447/1.131, allocations: 0.7305 MB / 1.125 GB, free: 18.62 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.973e-05/1.131, allocations: 57.94 kB / 1.125 GB, free: 18.6 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.155e-05/1.132, allocations: 83.09 kB / 1.125 GB, free: 18.57 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00127/1.133, allocations: 0.8664 MB / 1.126 GB, free: 18.16 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.029e-05/1.133, allocations: 7.344 kB / 1.126 GB, free: 18.16 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.992e-05/1.133, allocations: 30.19 kB / 1.126 GB, free: 18.13 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.838e-05/1.133, allocations: 21.75 kB / 1.126 GB, free: 18.13 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001553/1.134, allocations: 1.081 MB / 1.127 GB, free: 17.89 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003319/1.138, allocations: 2.452 MB / 1.129 GB, free: 16.51 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001116/1.139, allocations: 0.744 MB / 1.13 GB, free: 16.22 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004468/1.139, allocations: 293.3 kB / 1.13 GB, free: 16.11 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001643/1.14, allocations: 113.2 kB / 1.13 GB, free: 16.01 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007337/1.14, allocations: 452.5 kB / 1.131 GB, free: 15.81 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=73): time 4.127e-06/1.14, allocations: 0 / 1.131 GB, free: 15.81 MB / 0.7448 GB Notification: Performance of matching and sorting (n=73): time 0.0028/1.143, allocations: 1.134 MB / 1.132 GB, free: 15.33 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.675e-05/1.143, allocations: 190.2 kB / 1.132 GB, free: 15.11 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007457/1.144, allocations: 0.6234 MB / 1.133 GB, free: 14.83 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 5.471e-05/1.144, allocations: 38.11 kB / 1.133 GB, free: 14.79 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002625/1.144, allocations: 397 kB / 1.133 GB, free: 14.48 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001575/1.145, allocations: 244.3 kB / 1.133 GB, free: 14.29 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.311e-05/1.145, allocations: 15.25 kB / 1.133 GB, free: 14.28 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001268/1.145, allocations: 383.4 kB / 1.134 GB, free: 13.94 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000492/1.145, allocations: 251.7 kB / 1.134 GB, free: 13.85 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005228/1.146, allocations: 342.8 kB / 1.134 GB, free: 13.71 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009059/1.147, allocations: 0.5914 MB / 1.135 GB, free: 13.43 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/1.147, allocations: 0 / 1.135 GB, free: 13.43 MB / 0.7448 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001608/1.148, allocations: 0.8111 MB / 1.136 GB, free: 13.11 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.325e-05/1.148, allocations: 6.859 kB / 1.136 GB, free: 13.11 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.799e-06/1.148, allocations: 4.125 kB / 1.136 GB, free: 13.11 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000565/1.149, allocations: 81.98 kB / 1.136 GB, free: 13.09 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006166/1.15, allocations: 154.3 kB / 1.136 GB, free: 13.07 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00174/1.151, allocations: 1.529 MB / 1.137 GB, free: 11.64 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006607/1.152, allocations: 94.09 kB / 1.138 GB, free: 11.59 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.167e-05/1.152, allocations: 30.83 kB / 1.138 GB, free: 11.59 MB / 0.7448 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.0004873/1.153, allocations: 259.8 kB / 1.138 GB, free: 11.39 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001041/1.153, allocations: 80.84 kB / 1.138 GB, free: 11.35 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002097/1.155, allocations: 1.021 MB / 1.139 GB, free: 10.94 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.613e-06/1.155, allocations: 6.469 kB / 1.139 GB, free: 10.94 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/1.155, allocations: 4.25 kB / 1.139 GB, free: 10.94 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.477e-06/1.155, allocations: 3.516 kB / 1.139 GB, free: 10.94 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009914/1.156, allocations: 0.8687 MB / 1.14 GB, free: 10.47 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.556e-06/1.156, allocations: 0 / 1.14 GB, free: 10.47 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005568/1.156, allocations: 159.4 kB / 1.14 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004792/1.157, allocations: 90.92 kB / 1.14 GB, free: 10.42 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.694e-05/1.157, allocations: 22.81 kB / 1.14 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001508/1.158, allocations: 1.554 MB / 1.142 GB, free: 8.957 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/1.158, allocations: 0 / 1.142 GB, free: 8.957 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001609/1.16, allocations: 0.8752 MB / 1.142 GB, free: 8.578 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003574/1.16, allocations: 272.1 kB / 1.143 GB, free: 8.379 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.862e-05/1.161, allocations: 19.25 kB / 1.143 GB, free: 8.367 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005197/1.161, allocations: 73.47 kB / 1.143 GB, free: 8.352 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001309/1.161, allocations: 66.44 kB / 1.143 GB, free: 8.34 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.711e-05/1.161, allocations: 29.86 kB / 1.143 GB, free: 8.332 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0005079/1.162, allocations: 444.7 kB / 1.143 GB, free: 8.141 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.21e-07/1.162, allocations: 0 / 1.143 GB, free: 8.141 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0008025/1.163, allocations: 282.8 kB / 1.144 GB, free: 8.059 MB / 0.7448 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.001273/1.164, allocations: 0.5634 MB / 1.144 GB, free: 7.781 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.00146/1.165, allocations: 0.787 MB / 1.145 GB, free: 7.453 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 4.989e-06/1.165, allocations: 3.984 kB / 1.145 GB, free: 7.449 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0007654/1.166, allocations: 0.4884 MB / 1.145 GB, free: 7.219 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001107/1.167, allocations: 267.3 kB / 1.146 GB, free: 7.145 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003867/1.171, allocations: 2.159 MB / 1.148 GB, free: 5.977 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004856/1.172, allocations: 1.015 MB / 1.149 GB, free: 5.25 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0008898/1.173, allocations: 251.1 kB / 1.149 GB, free: 5.203 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002234/1.173, allocations: 94.3 kB / 1.149 GB, free: 5.191 MB / 0.7448 GB Notification: Performance of SimCode: time 9.42e-07/1.173, allocations: 0 / 1.149 GB, free: 5.191 MB / 0.7448 GB Notification: Performance of Templates: time 0.02537/1.198, allocations: 13.1 MB / 1.162 GB, free: 4.074 MB / 0.7448 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe 2>&1)