Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.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.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,fileNamePrefix="Buildings_maint_8_0_x_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,fileNamePrefix="Buildings_maint_8_0_x_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez",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.432/1.432, allocations: 288.4 MB / 303.6 MB, free: 8.164 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.0009192/0.0009192, allocations: 183.3 kB / 372.3 MB, free: 10.14 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.094/1.094, allocations: 205.4 MB / 0.631 GB, free: 9.918 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.0006434/0.0006435, allocations: 94.28 kB / 0.7444 GB, free: 5.816 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0002912/0.0002913, allocations: 10.84 kB / 0.8676 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1362/0.1365, allocations: 115.3 MB / 0.9802 GB, free: 27.29 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez): time 0.003957/0.1405, allocations: 5.222 MB / 0.9853 GB, free: 22.04 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.404/0.5445, allocations: 137.3 MB / 1.119 GB, free: 2.383 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008508/0.5454, allocations: 24.91 kB / 1.119 GB, free: 2.375 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0005562/0.546, allocations: 170.8 kB / 1.12 GB, free: 2.285 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.001334/0.5473, allocations: 465.2 kB / 1.12 GB, free: 2.152 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.00179/0.5491, allocations: 0.916 MB / 1.121 GB, free: 2.078 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.001215/0.5503, allocations: 2.045 MB / 1.123 GB, free: 1.777 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001177/0.5515, allocations: 1.428 MB / 1.124 GB, free: 17.42 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004829/0.552, allocations: 0.6601 MB / 1.125 GB, free: 17.25 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006067/0.5526, allocations: 0.7703 MB / 1.126 GB, free: 17.04 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001307/0.5528, allocations: 56.94 kB / 1.126 GB, free: 17.04 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005283/0.5533, allocations: 327.6 kB / 1.126 GB, free: 17.03 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0002317/0.5535, allocations: 346.5 kB / 1.126 GB, free: 16.95 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0004581/0.554, allocations: 0.8107 MB / 1.127 GB, free: 16.63 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001334/0.5553, allocations: 2.302 MB / 1.129 GB, free: 16.48 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.5554, allocations: 0 / 1.129 GB, free: 16.48 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.242e-06/0.5554, allocations: 0 / 1.129 GB, free: 16.48 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.034e-05/0.5554, allocations: 5.125 kB / 1.129 GB, free: 16.48 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: 534 * Number of variables: 534 Notification: Performance of Generate backend data structure: time 0.003376/0.5588, allocations: 2.055 MB / 1.131 GB, free: 15.41 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.153e-05/0.5588, allocations: 9.938 kB / 1.131 GB, free: 15.41 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002699/0.5591, allocations: 296.5 kB / 1.132 GB, free: 15.36 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01294/0.572, allocations: 2.192 MB / 1.134 GB, free: 14.52 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001421/0.5735, allocations: 1.177 MB / 1.135 GB, free: 13.88 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.733e-05/0.5736, allocations: 155.4 kB / 1.135 GB, free: 13.87 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002783/0.5738, allocations: 200.2 kB / 1.135 GB, free: 13.87 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006652/0.5805, allocations: 3.094 MB / 1.138 GB, free: 12.85 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.329e-05/0.5805, allocations: 0 / 1.138 GB, free: 12.85 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002116/0.5808, allocations: 90.36 kB / 1.138 GB, free: 12.85 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.296e-05/0.5808, allocations: 54.72 kB / 1.139 GB, free: 12.84 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01031/0.5911, allocations: 4.072 MB / 1.143 GB, free: 11.85 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01085/0.602, allocations: 6.62 MB / 1.149 GB, free: 8.949 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007314/0.6093, allocations: 2.734 MB / 1.152 GB, free: 8.395 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003365/0.6127, allocations: 1.374 MB / 1.153 GB, free: 8.16 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006157/0.6133, allocations: 0.5061 MB / 1.153 GB, free: 7.652 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003786/0.6171, allocations: 1.637 MB / 1.155 GB, free: 7.094 MB / 0.698 GB Notification: Performance of pre-optimization done (n=192): time 3.266e-06/0.6171, allocations: 2.938 kB / 1.155 GB, free: 7.094 MB / 0.698 GB Notification: Performance of matching and sorting (n=192): time 0.01116/0.6283, allocations: 4.04 MB / 1.159 GB, free: 6.137 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.894e-05/0.6284, allocations: 201.7 kB / 1.159 GB, free: 5.914 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007996/0.6292, allocations: 0.8204 MB / 1.16 GB, free: 5.645 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001473/0.6293, allocations: 63.12 kB / 1.16 GB, free: 5.609 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003448/0.6297, allocations: 0.6901 MB / 1.161 GB, free: 5.188 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003919/0.6301, allocations: 0.6191 MB / 1.161 GB, free: 4.734 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001263/0.6302, allocations: 36.09 kB / 1.161 GB, free: 4.73 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001037/0.6303, allocations: 367.9 kB / 1.162 GB, free: 4.402 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003152/0.6335, allocations: 1.124 MB / 1.163 GB, free: 4.18 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003233/0.6367, allocations: 1.303 MB / 1.164 GB, free: 3.824 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006378/0.6431, allocations: 2.374 MB / 1.166 GB, free: 3.051 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.6431, allocations: 0 / 1.166 GB, free: 3.051 MB / 0.698 GB Notification: Performance of matching and sorting (n=206) (initialization): time 0.007565/0.6507, allocations: 2.803 MB / 1.169 GB, free: 1.648 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/0.6507, allocations: 5.875 kB / 1.169 GB, free: 1.648 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/0.6508, allocations: 5.781 kB / 1.169 GB, free: 1.645 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005001/0.6513, allocations: 86.41 kB / 1.169 GB, free: 1.605 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002875/0.6541, allocations: 0.542 MB / 1.17 GB, free: 1.43 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001571/0.6557, allocations: 1.53 MB / 1.171 GB, free: 15.93 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002259/0.658, allocations: 324.7 kB / 1.172 GB, free: 15.75 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001747/0.6582, allocations: 85.22 kB / 1.172 GB, free: 15.72 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (204): * Single equations (assignments): 203 * 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.0006408/0.6588, allocations: 394 kB / 1.172 GB, free: 15.43 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002226/0.6591, allocations: 139.2 kB / 1.172 GB, free: 15.35 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008924/0.668, allocations: 3.374 MB / 1.175 GB, free: 13.46 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.107e-05/0.668, allocations: 20.62 kB / 1.175 GB, free: 13.46 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.556e-06/0.668, allocations: 0 / 1.175 GB, free: 13.46 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.694e-05/0.668, allocations: 10.88 kB / 1.176 GB, free: 13.45 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01052/0.6786, allocations: 5.578 MB / 1.181 GB, free: 8.223 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.582e-06/0.6786, allocations: 7.922 kB / 1.181 GB, free: 8.215 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002786/0.6814, allocations: 0.5227 MB / 1.181 GB, free: 7.691 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004355/0.6818, allocations: 88.77 kB / 1.182 GB, free: 7.602 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001633/0.682, allocations: 67.92 kB / 1.182 GB, free: 7.535 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001432/0.6834, allocations: 1.547 MB / 1.183 GB, free: 5.848 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.6834, allocations: 0 / 1.183 GB, free: 5.848 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007587/0.691, allocations: 2.949 MB / 1.186 GB, free: 2.879 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000642/0.6917, allocations: 0.5219 MB / 1.187 GB, free: 2.336 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002191/0.6919, allocations: 32 kB / 1.187 GB, free: 2.305 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002176/0.6941, allocations: 252.5 kB / 1.187 GB, free: 2.059 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002062/0.6943, allocations: 127.7 kB / 1.187 GB, free: 1.938 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001761/0.6945, allocations: 79.92 kB / 1.187 GB, free: 1.859 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0006336/0.6951, allocations: 0.6184 MB / 1.188 GB, free: 1.23 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.51e-07/0.6951, allocations: 0 / 1.188 GB, free: 1.23 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001123/0.6963, allocations: 0.5607 MB / 1.188 GB, free: 0.668 MB / 0.7136 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.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (206): * Single equations (assignments): 203 * 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.008943/0.7052, allocations: 4.005 MB / 1.192 GB, free: 12.8 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.007226/0.7125, allocations: 2.847 MB / 1.195 GB, free: 9.949 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.878e-06/0.7125, allocations: 4 kB / 1.195 GB, free: 9.945 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.003778/0.7163, allocations: 1.603 MB / 1.196 GB, free: 8.328 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001304/0.7176, allocations: 316.9 kB / 1.197 GB, free: 8.027 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02276/0.7403, allocations: 11.49 MB / 1.208 GB, free: 12.23 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007266/0.7411, allocations: 1.357 MB / 1.209 GB, free: 10.84 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.00264/0.7437, allocations: 0.5465 MB / 1.21 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001339/0.7451, allocations: 0.792 MB / 1.211 GB, free: 9.496 MB / 0.7448 GB Notification: Performance of SimCode: time 9.41e-07/0.7451, allocations: 0 / 1.211 GB, free: 9.496 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 9.034/9.779, allocations: 37.72 MB / 1.247 GB, free: 4.062 MB / 0.7761 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000361/9.779, allocations: 276.4 kB / 1.248 GB, free: 3.711 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.25/13.03, allocations: 0 / 1.248 GB, free: 3.711 MB / 0.7761 GB (rm -f Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe >> ../files/Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez_fmu --startTime=1.82304e+07 --stopTime=1.83168e+07 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez.fmu > Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe 2>&1)