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.719/1.719, allocations: 288.4 MB / 303.6 MB, free: 8.074 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.001053/0.001053, allocations: 190.8 kB / 372.3 MB, free: 10.11 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.224/1.224, allocations: 205.4 MB / 0.631 GB, free: 9.871 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.0006782/0.0006782, allocations: 90.81 kB / 0.7444 GB, free: 5.773 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003902/0.0003902, allocations: 11.69 kB / 0.8676 GB, free: 141.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1741/0.1745, allocations: 115.3 MB / 0.9802 GB, free: 27.24 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController): time 0.003371/0.1779, allocations: 3.83 MB / 0.9839 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.476/0.654, allocations: 136.8 MB / 1.118 GB, free: 2.363 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007361/0.6548, allocations: 18.19 kB / 1.118 GB, free: 2.355 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0006803/0.6555, allocations: 158.1 kB / 1.118 GB, free: 2.293 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.001529/0.657, allocations: 405.9 kB / 1.118 GB, free: 2.184 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.001854/0.6589, allocations: 0.607 MB / 1.119 GB, free: 2.125 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.001336/0.6602, allocations: 1.073 MB / 1.12 GB, free: 1.938 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008782/0.6611, allocations: 0.5912 MB / 1.12 GB, free: 1.805 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005807/0.6617, allocations: 303.9 kB / 1.121 GB, free: 1.723 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006058/0.6623, allocations: 333.6 kB / 1.121 GB, free: 1.625 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0001683/0.6625, allocations: 21.88 kB / 1.121 GB, free: 1.625 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008197/0.6633, allocations: 292.2 kB / 1.121 GB, free: 1.609 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.000211/0.6635, allocations: 169.6 kB / 1.121 GB, free: 1.57 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0004827/0.664, allocations: 411.8 kB / 1.122 GB, free: 17.39 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001192/0.6652, allocations: 1.082 MB / 1.123 GB, free: 17.3 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.6652, allocations: 1.031 kB / 1.123 GB, free: 17.3 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.442e-06/0.6653, allocations: 0 / 1.123 GB, free: 17.3 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.588e-05/0.6653, allocations: 4 kB / 1.123 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.002366/0.6677, allocations: 1.163 MB / 1.124 GB, free: 16.56 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.899e-05/0.6677, allocations: 11.44 kB / 1.124 GB, free: 16.56 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003037/0.668, allocations: 131.3 kB / 1.124 GB, free: 16.52 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001389/0.6694, allocations: 192.9 kB / 1.124 GB, free: 16.46 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001698/0.6712, allocations: 0.7333 MB / 1.125 GB, free: 16.13 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.362e-05/0.6712, allocations: 61.44 kB / 1.125 GB, free: 16.12 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00013/0.6714, allocations: 84.92 kB / 1.125 GB, free: 16.12 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001653/0.673, allocations: 0.8661 MB / 1.126 GB, free: 15.96 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.054e-05/0.6731, allocations: 1.094 kB / 1.126 GB, free: 15.96 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.409e-05/0.6732, allocations: 32.34 kB / 1.126 GB, free: 15.96 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.103e-05/0.6732, allocations: 19 kB / 1.126 GB, free: 15.96 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001863/0.6751, allocations: 1.084 MB / 1.127 GB, free: 15.94 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004098/0.6792, allocations: 2.464 MB / 1.13 GB, free: 15.12 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001216/0.6804, allocations: 0.7486 MB / 1.13 GB, free: 15.07 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000447/0.6809, allocations: 292.6 kB / 1.131 GB, free: 15.06 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001837/0.6811, allocations: 112.5 kB / 1.131 GB, free: 14.96 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007263/0.6818, allocations: 447.1 kB / 1.131 GB, free: 14.88 MB / 0.698 GB Notification: Performance of pre-optimization done (n=73): time 2.725e-06/0.6818, allocations: 0 / 1.131 GB, free: 14.88 MB / 0.698 GB Notification: Performance of matching and sorting (n=73): time 0.002829/0.6846, allocations: 1.14 MB / 1.132 GB, free: 14.67 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001036/0.6848, allocations: 190.5 kB / 1.132 GB, free: 14.45 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007302/0.6855, allocations: 0.6156 MB / 1.133 GB, free: 14.32 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 6.461e-05/0.6856, allocations: 41.17 kB / 1.133 GB, free: 14.29 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002716/0.6858, allocations: 399.2 kB / 1.133 GB, free: 14.11 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001633/0.686, allocations: 242.5 kB / 1.134 GB, free: 13.96 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.559e-05/0.6861, allocations: 12.44 kB / 1.134 GB, free: 13.96 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001465/0.6862, allocations: 384 kB / 1.134 GB, free: 13.65 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004467/0.6867, allocations: 234.2 kB / 1.134 GB, free: 13.64 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005013/0.6872, allocations: 338.7 kB / 1.135 GB, free: 13.56 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008976/0.6881, allocations: 0.5576 MB / 1.135 GB, free: 13.46 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.6881, allocations: 0 / 1.135 GB, free: 13.46 MB / 0.698 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001619/0.6898, allocations: 0.754 MB / 1.136 GB, free: 13.27 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.129e-05/0.6898, allocations: 15.39 kB / 1.136 GB, free: 13.26 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.633e-06/0.6898, allocations: 1.344 kB / 1.136 GB, free: 13.26 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005903/0.6904, allocations: 82.16 kB / 1.136 GB, free: 13.23 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005809/0.691, allocations: 141.2 kB / 1.136 GB, free: 13.2 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001807/0.6928, allocations: 1.536 MB / 1.138 GB, free: 11.83 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006635/0.6935, allocations: 90.11 kB / 1.138 GB, free: 11.79 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.571e-05/0.6936, allocations: 24.61 kB / 1.138 GB, free: 11.78 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.0005116/0.6941, allocations: 257.8 kB / 1.138 GB, free: 11.65 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001277/0.6942, allocations: 77.47 kB / 1.138 GB, free: 11.61 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002131/0.6964, allocations: 1.013 MB / 1.139 GB, free: 11.32 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.272e-05/0.6964, allocations: 13.42 kB / 1.139 GB, free: 11.31 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.905e-06/0.6964, allocations: 1.859 kB / 1.139 GB, free: 11.31 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.059e-05/0.6964, allocations: 3.984 kB / 1.139 GB, free: 11.31 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009823/0.6974, allocations: 0.8726 MB / 1.14 GB, free: 10.9 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.48e-06/0.6974, allocations: 3.938 kB / 1.14 GB, free: 10.89 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000577/0.698, allocations: 151.1 kB / 1.14 GB, free: 10.86 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005194/0.6985, allocations: 82.06 kB / 1.14 GB, free: 10.83 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.038e-05/0.6986, allocations: 28.64 kB / 1.14 GB, free: 10.82 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001712/0.7003, allocations: 1.56 MB / 1.142 GB, free: 9.449 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.7003, allocations: 64 / 1.142 GB, free: 9.449 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001827/0.7021, allocations: 0.8752 MB / 1.142 GB, free: 9.195 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004764/0.7026, allocations: 278.7 kB / 1.143 GB, free: 9.004 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001119/0.7028, allocations: 15.88 kB / 1.143 GB, free: 9.004 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006078/0.7034, allocations: 75.52 kB / 1.143 GB, free: 8.98 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001624/0.7035, allocations: 60.83 kB / 1.143 GB, free: 8.961 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.214e-05/0.7036, allocations: 32.91 kB / 1.143 GB, free: 8.953 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0006669/0.7043, allocations: 452.9 kB / 1.143 GB, free: 8.797 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7043, allocations: 1 kB / 1.143 GB, free: 8.797 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0008939/0.7052, allocations: 267.2 kB / 1.144 GB, free: 8.746 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.003157/0.7084, allocations: 1.899 MB / 1.145 GB, free: 7.777 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001489/0.7099, allocations: 0.7529 MB / 1.146 GB, free: 7.551 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.7099, allocations: 1.594 kB / 1.146 GB, free: 7.551 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0009184/0.7108, allocations: 0.4886 MB / 1.147 GB, free: 7.375 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001515/0.7123, allocations: 258.2 kB / 1.147 GB, free: 7.297 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01068/0.723, allocations: 4.975 MB / 1.152 GB, free: 5.129 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006745/0.7237, allocations: 1.014 MB / 1.153 GB, free: 4.305 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0009211/0.7247, allocations: 258 kB / 1.153 GB, free: 4.176 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004712/0.7252, allocations: 374.6 kB / 1.153 GB, free: 4.125 MB / 0.698 GB Notification: Performance of SimCode: time 7.31e-07/0.7252, allocations: 4 kB / 1.153 GB, free: 4.121 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.84/1.565, allocations: 20.56 MB / 1.173 GB, free: 10.21 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002255/1.565, allocations: 281.6 kB / 1.174 GB, free: 9.852 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.493/5.058, allocations: 0 / 1.174 GB, free: 9.852 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)