Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez") translateModel(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.763/1.763, allocations: 287.5 MB / 302.6 MB, free: 8.051 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.001265/0.001265, allocations: 178.8 kB / 371.2 MB, free: 10.75 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.858/1.858, allocations: 205.4 MB / 0.6298 GB, free: 10.57 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.0008751/0.0008751, allocations: 95.38 kB / 0.7432 GB, free: 6.559 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003813/0.0003814, allocations: 11.53 kB / 0.8661 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2335/0.2339, allocations: 115.3 MB / 0.9787 GB, free: 28.2 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez): time 0.005473/0.2394, allocations: 5.214 MB / 0.9838 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.7015/0.9409, allocations: 137.3 MB / 1.118 GB, free: 1.645 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001115/0.9421, allocations: 22.88 kB / 1.118 GB, free: 1.637 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0005816/0.9427, allocations: 167.3 kB / 1.118 GB, free: 1.551 MB / 0.6823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0/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.0/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.0/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.0015/0.9442, allocations: 479.4 kB / 1.119 GB, free: 1.406 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.002606/0.9468, allocations: 0.9107 MB / 1.119 GB, free: 1.344 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.002811/0.9496, allocations: 2.043 MB / 1.121 GB, free: 1.039 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001842/0.9515, allocations: 1.422 MB / 1.123 GB, free: 16.69 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00153/0.953, allocations: 0.6551 MB / 1.123 GB, free: 16.52 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001397/0.9544, allocations: 0.7736 MB / 1.124 GB, free: 16.31 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0002176/0.9546, allocations: 62.16 kB / 1.124 GB, free: 16.31 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001078/0.9557, allocations: 319.6 kB / 1.125 GB, free: 16.29 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0003738/0.9561, allocations: 346.9 kB / 1.125 GB, free: 16.21 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0003682/0.9565, allocations: 348.4 kB / 1.125 GB, free: 16.12 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.002398/0.9589, allocations: 2.299 MB / 1.127 GB, free: 15.97 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.823e-06/0.9589, allocations: 1.156 kB / 1.127 GB, free: 15.97 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.593e-06/0.9589, allocations: 4 kB / 1.127 GB, free: 15.96 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.267e-05/0.959, allocations: 0 / 1.127 GB, free: 15.96 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.004788/0.9638, allocations: 2.044 MB / 1.129 GB, free: 14.91 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.547e-05/0.9638, allocations: 9.094 kB / 1.129 GB, free: 14.91 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0142/0.978, allocations: 2.189 MB / 1.132 GB, free: 14.71 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003559/0.9817, allocations: 1.184 MB / 1.133 GB, free: 14.27 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001534/0.9819, allocations: 155 kB / 1.133 GB, free: 14.26 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000471/0.9823, allocations: 203.2 kB / 1.133 GB, free: 14.26 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009649/0.992, allocations: 3.091 MB / 1.136 GB, free: 13.26 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.34e-05/0.9921, allocations: 0 / 1.136 GB, free: 13.26 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002535/0.9923, allocations: 85.75 kB / 1.136 GB, free: 13.26 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.626e-05/0.9924, allocations: 49.94 kB / 1.136 GB, free: 13.26 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01294/1.005, allocations: 4.081 MB / 1.14 GB, free: 12.26 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01713/1.023, allocations: 6.61 MB / 1.147 GB, free: 9.371 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009369/1.032, allocations: 2.735 MB / 1.149 GB, free: 8.816 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004697/1.037, allocations: 1.379 MB / 1.151 GB, free: 8.578 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009455/1.038, allocations: 0.5074 MB / 1.151 GB, free: 8.066 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005488/1.043, allocations: 1.638 MB / 1.153 GB, free: 7.508 MB / 0.698 GB Notification: Performance of pre-optimization done (n=192): time 1.234e-05/1.043, allocations: 0 / 1.153 GB, free: 7.508 MB / 0.698 GB Notification: Performance of matching and sorting (n=192): time 0.01468/1.058, allocations: 4.046 MB / 1.157 GB, free: 6.551 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000146/1.058, allocations: 201.8 kB / 1.157 GB, free: 6.328 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001379/1.06, allocations: 0.831 MB / 1.158 GB, free: 6.043 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0003049/1.06, allocations: 56.64 kB / 1.158 GB, free: 6.012 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006041/1.06, allocations: 0.6873 MB / 1.158 GB, free: 5.59 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007178/1.061, allocations: 0.627 MB / 1.159 GB, free: 5.129 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002083/1.061, allocations: 30.41 kB / 1.159 GB, free: 5.129 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000187/1.062, allocations: 375.3 kB / 1.159 GB, free: 4.797 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003931/1.066, allocations: 1.141 MB / 1.161 GB, free: 4.574 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004066/1.07, allocations: 1.305 MB / 1.162 GB, free: 4.254 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007901/1.078, allocations: 2.398 MB / 1.164 GB, free: 3.832 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.005e-05/1.078, allocations: 2.938 kB / 1.164 GB, free: 3.832 MB / 0.698 GB Notification: Performance of matching and sorting (n=214) (initialization): time 0.009605/1.087, allocations: 2.843 MB / 1.167 GB, free: 2.863 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.552e-05/1.087, allocations: 6.188 kB / 1.167 GB, free: 2.863 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.316e-05/1.087, allocations: 2.75 kB / 1.167 GB, free: 2.863 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006097/1.088, allocations: 94.17 kB / 1.167 GB, free: 2.816 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003634/1.092, allocations: 0.5518 MB / 1.168 GB, free: 2.641 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002145/1.094, allocations: 1.525 MB / 1.169 GB, free: 1.145 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003335/1.097, allocations: 333.8 kB / 1.169 GB, free: 0.9609 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004839/1.098, allocations: 89.16 kB / 1.17 GB, free: 0.9219 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (212): * Single equations (assignments): 211 * 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.001623/1.099, allocations: 405.3 kB / 1.17 GB, free: 0.6211 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006466/1.1, allocations: 138.3 kB / 1.17 GB, free: 0.5508 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01172/1.112, allocations: 3.367 MB / 1.173 GB, free: 14.66 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.991e-05/1.112, allocations: 19.41 kB / 1.173 GB, free: 14.66 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.868e-06/1.112, allocations: 0 / 1.173 GB, free: 14.66 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-05/1.112, allocations: 22.55 kB / 1.173 GB, free: 14.64 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01441/1.126, allocations: 5.571 MB / 1.179 GB, free: 9.746 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.669e-06/1.126, allocations: 4 kB / 1.179 GB, free: 9.742 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003454/1.13, allocations: 0.5304 MB / 1.179 GB, free: 9.211 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005731/1.13, allocations: 84.78 kB / 1.179 GB, free: 9.125 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000269/1.131, allocations: 67.92 kB / 1.179 GB, free: 9.059 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002011/1.133, allocations: 1.548 MB / 1.181 GB, free: 7.367 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/1.133, allocations: 7.953 kB / 1.181 GB, free: 7.359 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009784/1.142, allocations: 2.949 MB / 1.184 GB, free: 4.387 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001163/1.144, allocations: 0.5219 MB / 1.184 GB, free: 3.844 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004552/1.144, allocations: 37.86 kB / 1.184 GB, free: 3.809 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002885/1.147, allocations: 243.8 kB / 1.185 GB, free: 3.57 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002924/1.147, allocations: 129.8 kB / 1.185 GB, free: 3.445 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002231/1.148, allocations: 79.92 kB / 1.185 GB, free: 3.367 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001093/1.149, allocations: 0.6107 MB / 1.185 GB, free: 2.746 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.21e-07/1.149, allocations: 0 / 1.185 GB, free: 2.746 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.002058/1.151, allocations: 0.5762 MB / 1.186 GB, free: 2.168 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.001559/1.152, allocations: 0.5942 MB / 1.187 GB, free: 1.77 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.009345/1.162, allocations: 2.878 MB / 1.189 GB, free: 14.88 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 6.322e-06/1.162, allocations: 0 / 1.189 GB, free: 14.88 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.004957/1.167, allocations: 1.607 MB / 1.191 GB, free: 13.26 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002444/1.169, allocations: 311.8 kB / 1.191 GB, free: 12.95 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01116/1.18, allocations: 4.671 MB / 1.196 GB, free: 8.262 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001329/1.182, allocations: 1.363 MB / 1.197 GB, free: 6.863 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.004229/1.186, allocations: 0.5424 MB / 1.198 GB, free: 6.316 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00123/1.187, allocations: 215.2 kB / 1.198 GB, free: 6.105 MB / 0.7292 GB Notification: Performance of SimCode: time 5.71e-07/1.187, allocations: 0 / 1.198 GB, free: 6.105 MB / 0.7292 GB Notification: Performance of Templates: time 0.04608/1.233, allocations: 25.06 MB / 1.222 GB, free: 13.14 MB / 0.7605 GB make -j1 -f Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.makefile (rm -f Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; mkfifo Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe >> ../files/Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.sim & ./Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe 2>&1)