Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.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: translateModel(Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface") translateModel(Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.746/1.746, allocations: 288.4 MB / 303.6 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.0009856/0.0009855, allocations: 191 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.389/1.389, allocations: 205.4 MB / 0.631 GB, free: 9.902 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.0007692/0.0007694, allocations: 93.38 kB / 0.7444 GB, free: 5.816 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003775/0.0003776, allocations: 14.83 kB / 0.8675 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1874/0.1878, allocations: 115.3 MB / 0.9801 GB, free: 27.37 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface): time 0.004012/0.1918, allocations: 4.305 MB / 0.9843 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.5568/0.7487, allocations: 136.8 MB / 1.118 GB, free: 2.371 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007922/0.7495, allocations: 21 kB / 1.118 GB, free: 2.363 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0005042/0.75, allocations: 137.9 kB / 1.118 GB, free: 2.301 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.001451/0.7515, allocations: 430.4 kB / 1.118 GB, free: 2.18 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.001948/0.7534, allocations: 0.6909 MB / 1.119 GB, free: 2.117 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.001493/0.7549, allocations: 1.361 MB / 1.12 GB, free: 1.875 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001242/0.7562, allocations: 1.043 MB / 1.121 GB, free: 1.645 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006391/0.7569, allocations: 420.7 kB / 1.122 GB, free: 1.52 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004911/0.7574, allocations: 465.1 kB / 1.122 GB, free: 1.371 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 9.111e-05/0.7575, allocations: 28.25 kB / 1.122 GB, free: 1.371 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006952/0.7582, allocations: 279.4 kB / 1.123 GB, free: 1.355 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0002058/0.7584, allocations: 234.9 kB / 1.123 GB, free: 1.289 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.000514/0.7589, allocations: 0.5767 MB / 1.123 GB, free: 17.04 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001461/0.7604, allocations: 1.616 MB / 1.125 GB, free: 16.93 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.96e-06/0.7604, allocations: 1.375 kB / 1.125 GB, free: 16.93 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.562e-06/0.7604, allocations: 0 / 1.125 GB, free: 16.93 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.388e-05/0.7604, allocations: 0 / 1.125 GB, free: 16.93 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.002323/0.7627, allocations: 1.47 MB / 1.126 GB, free: 16.06 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.042e-05/0.7628, allocations: 9.938 kB / 1.126 GB, free: 16.06 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009099/0.7637, allocations: 249.9 kB / 1.127 GB, free: 15.97 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001106/0.7648, allocations: 0.9029 MB / 1.128 GB, free: 15.59 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001333/0.765, allocations: 134.9 kB / 1.128 GB, free: 15.55 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001432/0.7651, allocations: 138 kB / 1.128 GB, free: 15.55 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00209/0.7672, allocations: 1.422 MB / 1.129 GB, free: 15.36 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.323e-05/0.7673, allocations: 2.094 kB / 1.129 GB, free: 15.36 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001037/0.7674, allocations: 58.91 kB / 1.129 GB, free: 15.36 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.425e-05/0.7674, allocations: 37.53 kB / 1.129 GB, free: 15.36 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002098/0.7695, allocations: 1.461 MB / 1.131 GB, free: 15.34 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005289/0.7748, allocations: 3.807 MB / 1.134 GB, free: 13.93 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001355/0.7762, allocations: 0.911 MB / 1.135 GB, free: 13.79 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005404/0.7767, allocations: 370 kB / 1.136 GB, free: 13.73 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 8.062e-05/0.7768, allocations: 40.95 kB / 1.136 GB, free: 13.72 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009566/0.7778, allocations: 0.5475 MB / 1.136 GB, free: 13.52 MB / 0.698 GB Notification: Performance of pre-optimization done (n=93): time 2.174e-06/0.7778, allocations: 0 / 1.136 GB, free: 13.52 MB / 0.698 GB Notification: Performance of matching and sorting (n=93): time 0.003262/0.7811, allocations: 1.385 MB / 1.138 GB, free: 13.13 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000111/0.7812, allocations: 192 kB / 1.138 GB, free: 12.91 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001/0.7822, allocations: 0.7397 MB / 1.138 GB, free: 12.67 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 7.066e-05/0.7823, allocations: 44.3 kB / 1.139 GB, free: 12.64 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004814/0.7828, allocations: 0.5732 MB / 1.139 GB, free: 12.29 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002723/0.7831, allocations: 314.5 kB / 1.139 GB, free: 12.07 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.611e-05/0.7831, allocations: 16 kB / 1.139 GB, free: 12.07 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001455/0.7833, allocations: 341.5 kB / 1.14 GB, free: 11.75 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006141/0.7839, allocations: 329 kB / 1.14 GB, free: 11.7 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006978/0.7846, allocations: 436.1 kB / 1.14 GB, free: 11.59 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001293/0.7859, allocations: 0.77 MB / 1.141 GB, free: 11.47 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.7859, allocations: 1.859 kB / 1.141 GB, free: 11.47 MB / 0.698 GB Notification: Performance of matching and sorting (n=113) (initialization): time 0.002151/0.7881, allocations: 1.028 MB / 1.142 GB, free: 11.23 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.11e-05/0.7881, allocations: 5.188 kB / 1.142 GB, free: 11.23 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.166e-06/0.7881, allocations: 8.938 kB / 1.142 GB, free: 11.22 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006074/0.7887, allocations: 86.55 kB / 1.142 GB, free: 11.19 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008807/0.7896, allocations: 195.5 kB / 1.143 GB, free: 11.15 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001947/0.7916, allocations: 1.539 MB / 1.144 GB, free: 9.773 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008979/0.7925, allocations: 111.2 kB / 1.144 GB, free: 9.715 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.178e-05/0.7926, allocations: 46.05 kB / 1.144 GB, free: 9.703 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.0006253/0.7932, allocations: 327 kB / 1.144 GB, free: 9.562 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001497/0.7934, allocations: 94.62 kB / 1.145 GB, free: 9.512 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002845/0.7962, allocations: 1.298 MB / 1.146 GB, free: 9.145 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.237e-06/0.7963, allocations: 9.938 kB / 1.146 GB, free: 9.145 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.935e-06/0.7963, allocations: 0 / 1.146 GB, free: 9.145 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.172e-05/0.7963, allocations: 3.984 kB / 1.146 GB, free: 9.141 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004022/0.8003, allocations: 2.482 MB / 1.148 GB, free: 8.277 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.468e-06/0.8003, allocations: 0 / 1.148 GB, free: 8.277 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007465/0.8011, allocations: 181.9 kB / 1.148 GB, free: 8.242 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005142/0.8016, allocations: 89.28 kB / 1.149 GB, free: 8.207 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.72e-05/0.8017, allocations: 26.27 kB / 1.149 GB, free: 8.203 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00175/0.8035, allocations: 1.569 MB / 1.15 GB, free: 6.816 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.8035, allocations: 0 / 1.15 GB, free: 6.816 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002188/0.8057, allocations: 1.117 MB / 1.151 GB, free: 6.477 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005283/0.8062, allocations: 342.6 kB / 1.152 GB, free: 6.254 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001328/0.8064, allocations: 19.47 kB / 1.152 GB, free: 6.254 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007728/0.8071, allocations: 78.45 kB / 1.152 GB, free: 6.234 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001627/0.8073, allocations: 70.95 kB / 1.152 GB, free: 6.207 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.844e-05/0.8074, allocations: 43.22 kB / 1.152 GB, free: 6.199 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0008295/0.8082, allocations: 0.5393 MB / 1.152 GB, free: 6.027 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.293e-06/0.8082, allocations: 0 / 1.152 GB, free: 6.027 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001249/0.8095, allocations: 379.2 kB / 1.153 GB, free: 5.945 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.001273/0.8108, allocations: 0.5683 MB / 1.153 GB, free: 5.68 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001872/0.8127, allocations: 0.9675 MB / 1.154 GB, free: 5.426 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.748e-06/0.8127, allocations: 3.125 kB / 1.154 GB, free: 5.426 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001004/0.8137, allocations: 0.5813 MB / 1.155 GB, free: 5.227 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001415/0.8151, allocations: 262.8 kB / 1.155 GB, free: 5.164 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005502/0.8206, allocations: 2.935 MB / 1.158 GB, free: 3.508 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007028/0.8214, allocations: 1.162 MB / 1.159 GB, free: 2.621 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001066/0.8224, allocations: 294.4 kB / 1.159 GB, free: 2.477 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003212/0.8228, allocations: 124 kB / 1.159 GB, free: 2.449 MB / 0.698 GB Notification: Performance of SimCode: time 6.62e-07/0.8228, allocations: 0 / 1.159 GB, free: 2.449 MB / 0.698 GB Notification: Performance of Templates: time 0.02573/0.8485, allocations: 15.78 MB / 1.175 GB, free: 10.57 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.makefile (rm -f Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe >> ../files/Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.sim & ./Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe 2>&1)