Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.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.DirectTiltedSurface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface") translateModel(Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.734/1.734, allocations: 287.5 MB / 302.6 MB, free: 8.297 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.001242/0.001242, allocations: 179 kB / 371.2 MB, free: 10.82 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.644/1.644, allocations: 205.4 MB / 0.6298 GB, free: 10.53 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.0009432/0.0009434, allocations: 88.73 kB / 0.7432 GB, free: 6.527 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003806/0.0003806, allocations: 19.2 kB / 0.8661 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2309/0.2313, allocations: 115.3 MB / 0.9787 GB, free: 28.2 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface): time 0.004397/0.2357, allocations: 4.313 MB / 0.9829 GB, free: 23.87 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.7219/0.9576, allocations: 136.8 MB / 1.116 GB, free: 1.68 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001591/0.9593, allocations: 17.91 kB / 1.116 GB, free: 1.676 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0007768/0.9601, allocations: 146.4 kB / 1.117 GB, free: 1.602 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.002627/0.9627, allocations: 436.4 kB / 1.117 GB, free: 1.477 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.002959/0.9657, allocations: 0.6925 MB / 1.118 GB, free: 1.414 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.002549/0.9682, allocations: 1.359 MB / 1.119 GB, free: 1.176 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001669/0.9699, allocations: 1.04 MB / 1.12 GB, free: 0.9492 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00101/0.9709, allocations: 426.2 kB / 1.12 GB, free: 0.8203 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006605/0.9716, allocations: 461.1 kB / 1.121 GB, free: 0.6719 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0001193/0.9717, allocations: 30.16 kB / 1.121 GB, free: 0.6719 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00103/0.9728, allocations: 272.3 kB / 1.121 GB, free: 0.6602 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0002853/0.9731, allocations: 226.5 kB / 1.121 GB, free: 0.6016 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0003213/0.9734, allocations: 263.4 kB / 1.122 GB, free: 16.52 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.002032/0.9754, allocations: 1.628 MB / 1.123 GB, free: 16.4 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 8.155e-06/0.9754, allocations: 2.25 kB / 1.123 GB, free: 16.4 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.614e-06/0.9754, allocations: 0 / 1.123 GB, free: 16.4 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.823e-05/0.9755, allocations: 0 / 1.123 GB, free: 16.4 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: 364 * Number of variables: 364 Notification: Performance of Generate backend data structure: time 0.002663/0.9782, allocations: 1.467 MB / 1.125 GB, free: 15.53 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.45e-05/0.9782, allocations: 14.84 kB / 1.125 GB, free: 15.53 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009273/0.9791, allocations: 244.4 kB / 1.125 GB, free: 15.44 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001306/0.9805, allocations: 0.902 MB / 1.126 GB, free: 15.05 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001394/0.9806, allocations: 137 kB / 1.126 GB, free: 15.02 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001653/0.9808, allocations: 133.8 kB / 1.126 GB, free: 15.02 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002494/0.9833, allocations: 1.426 MB / 1.127 GB, free: 14.83 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.124e-05/0.9833, allocations: 1.312 kB / 1.127 GB, free: 14.83 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001253/0.9835, allocations: 58.62 kB / 1.127 GB, free: 14.83 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.547e-05/0.9835, allocations: 35.41 kB / 1.128 GB, free: 14.83 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00264/0.9862, allocations: 1.463 MB / 1.129 GB, free: 14.81 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006298/0.9925, allocations: 3.8 MB / 1.133 GB, free: 13.78 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001831/0.9944, allocations: 0.9041 MB / 1.134 GB, free: 13.73 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000764/0.9951, allocations: 373.4 kB / 1.134 GB, free: 13.71 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001511/0.9953, allocations: 39.44 kB / 1.134 GB, free: 13.71 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001118/0.9964, allocations: 0.5595 MB / 1.134 GB, free: 13.62 MB / 0.698 GB Notification: Performance of pre-optimization done (n=93): time 3.837e-06/0.9965, allocations: 0 / 1.134 GB, free: 13.62 MB / 0.698 GB Notification: Performance of matching and sorting (n=93): time 0.003759/1, allocations: 1.373 MB / 1.136 GB, free: 13.39 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001306/1, allocations: 198.3 kB / 1.136 GB, free: 13.17 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001128/1.002, allocations: 0.7424 MB / 1.137 GB, free: 12.93 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 7.651e-05/1.002, allocations: 44.14 kB / 1.137 GB, free: 12.9 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004827/1.002, allocations: 0.5769 MB / 1.137 GB, free: 12.55 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002931/1.002, allocations: 313.9 kB / 1.138 GB, free: 12.33 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.91e-05/1.002, allocations: 18.5 kB / 1.138 GB, free: 12.33 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001457/1.003, allocations: 338.3 kB / 1.138 GB, free: 12.02 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006478/1.003, allocations: 330.1 kB / 1.138 GB, free: 11.96 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000773/1.004, allocations: 434.8 kB / 1.139 GB, free: 11.85 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001404/1.005, allocations: 0.7632 MB / 1.139 GB, free: 11.74 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/1.005, allocations: 1.375 kB / 1.139 GB, free: 11.74 MB / 0.698 GB Notification: Performance of matching and sorting (n=113) (initialization): time 0.002251/1.008, allocations: 1.04 MB / 1.14 GB, free: 11.49 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.424e-05/1.008, allocations: 6.75 kB / 1.14 GB, free: 11.49 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.616e-06/1.008, allocations: 1.344 kB / 1.14 GB, free: 11.49 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006192/1.008, allocations: 80.5 kB / 1.141 GB, free: 11.46 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008727/1.009, allocations: 203.6 kB / 1.141 GB, free: 11.41 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002103/1.011, allocations: 1.528 MB / 1.142 GB, free: 10.05 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000891/1.012, allocations: 110 kB / 1.142 GB, free: 9.992 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.586e-05/1.012, allocations: 44.23 kB / 1.142 GB, free: 9.984 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (111): * Single equations (assignments): 110 * 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.0008039/1.013, allocations: 327.2 kB / 1.143 GB, free: 9.84 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001837/1.013, allocations: 96.78 kB / 1.143 GB, free: 9.789 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003046/1.016, allocations: 1.294 MB / 1.144 GB, free: 9.426 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.3e-05/1.016, allocations: 11.12 kB / 1.144 GB, free: 9.426 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.257e-06/1.017, allocations: 0 / 1.144 GB, free: 9.426 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.408e-05/1.017, allocations: 11.97 kB / 1.144 GB, free: 9.414 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004305/1.021, allocations: 2.485 MB / 1.147 GB, free: 8.547 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.35e-06/1.021, allocations: 1 kB / 1.147 GB, free: 8.547 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00078/1.022, allocations: 184.1 kB / 1.147 GB, free: 8.508 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005155/1.022, allocations: 88.61 kB / 1.147 GB, free: 8.473 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.778e-05/1.022, allocations: 24.98 kB / 1.147 GB, free: 8.469 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001854/1.024, allocations: 1.568 MB / 1.148 GB, free: 7.086 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/1.024, allocations: 1.062 kB / 1.148 GB, free: 7.086 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002284/1.026, allocations: 1.114 MB / 1.149 GB, free: 6.75 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005078/1.027, allocations: 341.8 kB / 1.15 GB, free: 6.527 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001268/1.027, allocations: 25.12 kB / 1.15 GB, free: 6.523 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007056/1.028, allocations: 72.84 kB / 1.15 GB, free: 6.508 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001969/1.028, allocations: 75.3 kB / 1.15 GB, free: 6.477 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.182e-05/1.028, allocations: 40.88 kB / 1.15 GB, free: 6.469 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0007966/1.029, allocations: 0.5475 MB / 1.15 GB, free: 6.293 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.01e-07/1.029, allocations: 0 / 1.15 GB, free: 6.293 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001108/1.03, allocations: 377.2 kB / 1.151 GB, free: 6.211 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.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (107): * Single equations (assignments): 104 * 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.001192/1.031, allocations: 0.5725 MB / 1.151 GB, free: 5.961 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001964/1.033, allocations: 0.9667 MB / 1.152 GB, free: 5.707 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/1.033, allocations: 0 / 1.152 GB, free: 5.707 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0009924/1.034, allocations: 0.5823 MB / 1.153 GB, free: 5.512 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001277/1.036, allocations: 260.4 kB / 1.153 GB, free: 5.445 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00529/1.041, allocations: 2.924 MB / 1.156 GB, free: 3.793 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000723/1.042, allocations: 1.165 MB / 1.157 GB, free: 2.906 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001031/1.043, allocations: 298.7 kB / 1.157 GB, free: 2.758 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002988/1.043, allocations: 117.8 kB / 1.158 GB, free: 2.734 MB / 0.698 GB Notification: Performance of SimCode: time 8.22e-07/1.043, allocations: 0 / 1.158 GB, free: 2.734 MB / 0.698 GB Notification: Performance of Templates: time 0.0261/1.069, allocations: 15.62 MB / 1.173 GB, free: 10.94 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.makefile (rm -f Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; mkfifo Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe >> ../files/Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.sim & ./Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe 2>&1)