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: "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_SolarCollectors_Controls_Examples_SolarPumpController",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_SolarCollectors_Controls_Examples_SolarPumpController",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.771/1.771, allocations: 288.4 MB / 303.3 MB, free: 8.066 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.001372/0.001372, allocations: 189.6 kB / 372 MB, free: 10.27 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.907/1.907, allocations: 205.4 MB / 0.6307 GB, free: 9.988 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001011/0.001011, allocations: 97.11 kB / 0.7441 GB, free: 5.918 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004456/0.0004458, allocations: 16.27 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2925/0.293, allocations: 115.3 MB / 0.9796 GB, free: 27.57 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController): time 0.005411/0.2985, allocations: 3.814 MB / 0.9834 GB, free: 23.74 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.8406/1.139, allocations: 136.8 MB / 1.117 GB, free: 2.195 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001051/1.14, allocations: 17.22 kB / 1.117 GB, free: 2.191 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0007505/1.141, allocations: 156.5 kB / 1.117 GB, free: 2.125 MB / 0.6823 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.00201/1.143, allocations: 423.8 kB / 1.118 GB, free: 2.004 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.002529/1.146, allocations: 0.5931 MB / 1.118 GB, free: 1.953 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.002439/1.148, allocations: 1.052 MB / 1.119 GB, free: 1.777 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001086/1.149, allocations: 476.1 kB / 1.12 GB, free: 1.684 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001/1.15, allocations: 300.2 kB / 1.12 GB, free: 1.602 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006449/1.151, allocations: 327.5 kB / 1.12 GB, free: 1.508 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0001049/1.151, allocations: 21.88 kB / 1.12 GB, free: 1.508 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00118/1.152, allocations: 291.4 kB / 1.121 GB, free: 1.488 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0002495/1.152, allocations: 165.9 kB / 1.121 GB, free: 1.449 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.000364/1.153, allocations: 188.6 kB / 1.121 GB, free: 17.38 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001638/1.154, allocations: 1.082 MB / 1.122 GB, free: 17.3 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.071e-06/1.154, allocations: 0 / 1.122 GB, free: 17.3 MB / 0.698 GB Notification: Performance of FrontEnd: time 4.638e-06/1.154, allocations: 1.406 kB / 1.122 GB, free: 17.3 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.313e-05/1.154, allocations: 1.859 kB / 1.122 GB, free: 17.3 MB / 0.698 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.002681/1.157, allocations: 1.175 MB / 1.123 GB, free: 16.56 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.447e-05/1.157, allocations: 9.344 kB / 1.123 GB, free: 16.56 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002219/1.157, allocations: 132.3 kB / 1.123 GB, free: 16.52 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00103/1.158, allocations: 195.2 kB / 1.123 GB, free: 16.46 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001368/1.16, allocations: 0.705 MB / 1.124 GB, free: 16.15 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.269e-05/1.16, allocations: 61.89 kB / 1.124 GB, free: 16.14 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001296/1.16, allocations: 74.41 kB / 1.124 GB, free: 16.14 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001842/1.162, allocations: 0.8695 MB / 1.125 GB, free: 15.99 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.2e-05/1.162, allocations: 3.938 kB / 1.125 GB, free: 15.98 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.813e-05/1.162, allocations: 37.27 kB / 1.125 GB, free: 15.98 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.939e-05/1.162, allocations: 18.84 kB / 1.125 GB, free: 15.98 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002046/1.164, allocations: 1.083 MB / 1.126 GB, free: 15.96 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004415/1.169, allocations: 2.455 MB / 1.129 GB, free: 15.15 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001339/1.17, allocations: 0.7484 MB / 1.129 GB, free: 15.1 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005319/1.17, allocations: 296.6 kB / 1.13 GB, free: 15.09 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002133/1.171, allocations: 114 kB / 1.13 GB, free: 14.99 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008995/1.172, allocations: 451.4 kB / 1.13 GB, free: 14.91 MB / 0.698 GB Notification: Performance of pre-optimization done (n=73): time 3.547e-06/1.172, allocations: 0 / 1.13 GB, free: 14.91 MB / 0.698 GB Notification: Performance of matching and sorting (n=73): time 0.003299/1.175, allocations: 1.137 MB / 1.131 GB, free: 14.7 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001406/1.175, allocations: 192.9 kB / 1.131 GB, free: 14.48 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001034/1.176, allocations: 0.6164 MB / 1.132 GB, free: 14.35 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 9.575e-05/1.176, allocations: 37.58 kB / 1.132 GB, free: 14.32 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003832/1.177, allocations: 398.7 kB / 1.132 GB, free: 14.14 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002468/1.177, allocations: 238.5 kB / 1.133 GB, free: 13.99 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.444e-05/1.177, allocations: 9.875 kB / 1.133 GB, free: 13.99 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002091/1.177, allocations: 392.8 kB / 1.133 GB, free: 13.68 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004562/1.178, allocations: 227.4 kB / 1.133 GB, free: 13.68 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005538/1.178, allocations: 335 kB / 1.134 GB, free: 13.59 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005994/1.179, allocations: 277 kB / 1.134 GB, free: 13.55 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.611e-06/1.179, allocations: 1.859 kB / 1.134 GB, free: 13.55 MB / 0.698 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.002008/1.181, allocations: 0.7544 MB / 1.135 GB, free: 13.36 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.409e-05/1.181, allocations: 10.58 kB / 1.135 GB, free: 13.36 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.163e-05/1.181, allocations: 0 / 1.135 GB, free: 13.36 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006558/1.182, allocations: 86.19 kB / 1.135 GB, free: 13.32 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006414/1.182, allocations: 144.3 kB / 1.135 GB, free: 13.29 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002544/1.185, allocations: 1.532 MB / 1.136 GB, free: 11.92 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009664/1.186, allocations: 88.92 kB / 1.136 GB, free: 11.88 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.073e-05/1.186, allocations: 24.86 kB / 1.136 GB, free: 11.87 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 75 * 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.0006765/1.187, allocations: 258 kB / 1.137 GB, free: 11.74 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001678/1.187, allocations: 78.12 kB / 1.137 GB, free: 11.7 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002646/1.189, allocations: 1.028 MB / 1.138 GB, free: 11.4 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.811e-05/1.189, allocations: 12.45 kB / 1.138 GB, free: 11.39 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/1.189, allocations: 1.156 kB / 1.138 GB, free: 11.39 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.506e-05/1.189, allocations: 7.938 kB / 1.138 GB, free: 11.39 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001444/1.191, allocations: 0.8728 MB / 1.139 GB, free: 10.97 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.33e-06/1.191, allocations: 0 / 1.139 GB, free: 10.97 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006492/1.192, allocations: 155.2 kB / 1.139 GB, free: 10.94 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006022/1.192, allocations: 78.36 kB / 1.139 GB, free: 10.91 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.19e-05/1.192, allocations: 27.14 kB / 1.139 GB, free: 10.9 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002058/1.194, allocations: 1.563 MB / 1.14 GB, free: 9.527 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.841e-06/1.194, allocations: 5.203 kB / 1.14 GB, free: 9.523 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002281/1.197, allocations: 0.8703 MB / 1.141 GB, free: 9.273 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006569/1.197, allocations: 280.2 kB / 1.141 GB, free: 9.078 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001125/1.197, allocations: 19.52 kB / 1.142 GB, free: 9.074 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006137/1.198, allocations: 73.28 kB / 1.142 GB, free: 9.055 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001862/1.198, allocations: 56.67 kB / 1.142 GB, free: 9.035 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.755e-05/1.198, allocations: 33.19 kB / 1.142 GB, free: 9.027 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0007798/1.199, allocations: 449 kB / 1.142 GB, free: 8.875 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.385e-06/1.199, allocations: 0 / 1.142 GB, free: 8.875 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001131/1.2, allocations: 268.9 kB / 1.142 GB, free: 8.824 MB / 0.698 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.003891/1.204, allocations: 1.878 MB / 1.144 GB, free: 7.879 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001983/1.206, allocations: 0.7568 MB / 1.145 GB, free: 7.645 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 6.012e-06/1.206, allocations: 6.672 kB / 1.145 GB, free: 7.641 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001024/1.207, allocations: 0.4963 MB / 1.145 GB, free: 7.453 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001696/1.209, allocations: 263.8 kB / 1.146 GB, free: 7.383 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01438/1.223, allocations: 4.973 MB / 1.151 GB, free: 5.215 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007733/1.224, allocations: 1.016 MB / 1.152 GB, free: 4.387 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001139/1.225, allocations: 254.6 kB / 1.152 GB, free: 4.262 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005393/1.226, allocations: 367.9 kB / 1.152 GB, free: 4.215 MB / 0.698 GB Notification: Performance of SimCode: time 1.122e-06/1.226, allocations: 0 / 1.152 GB, free: 4.215 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04961/1.276, allocations: 20.4 MB / 1.172 GB, free: 10.4 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000274/1.276, allocations: 289.2 kB / 1.172 GB, free: 10.04 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.965/4.241, allocations: 4 kB / 1.172 GB, free: 10.04 MB / 0.7136 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_SolarCollectors_Controls_Examples_SolarPumpController_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_SolarCollectors_Controls_Examples_SolarPumpController.fmu > Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe 2>&1)