Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.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.BaseClasses.Examples.BrighteningCoefficient,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient") translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.654/1.654, allocations: 287.5 MB / 302.6 MB, free: 8.219 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.001013/0.001014, allocations: 178.7 kB / 371.2 MB, free: 10.84 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.666/1.666, allocations: 205.4 MB / 0.6298 GB, free: 10.59 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.000882/0.0008819, allocations: 95.06 kB / 0.7432 GB, free: 6.566 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003986/0.0003986, allocations: 11.31 kB / 0.8661 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2493/0.2497, allocations: 115.3 MB / 0.9787 GB, free: 28.21 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient): time 0.004362/0.2542, allocations: 3.776 MB / 0.9824 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.6865/0.9406, allocations: 136.6 MB / 1.116 GB, free: 1.637 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006785/0.9414, allocations: 19.56 kB / 1.116 GB, free: 1.629 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0004665/0.9418, allocations: 130.3 kB / 1.116 GB, free: 1.566 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.001239/0.9431, allocations: 364.1 kB / 1.116 GB, free: 1.465 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.002013/0.9451, allocations: 0.6717 MB / 1.117 GB, free: 1.406 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.001265/0.9464, allocations: 1.168 MB / 1.118 GB, free: 1.223 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008715/0.9473, allocations: 0.6584 MB / 1.119 GB, free: 1.082 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000573/0.9478, allocations: 365.1 kB / 1.119 GB, free: 0.9883 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004906/0.9483, allocations: 400.6 kB / 1.119 GB, free: 0.8867 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0001056/0.9485, allocations: 30 kB / 1.119 GB, free: 0.8867 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008303/0.9493, allocations: 300.9 kB / 1.12 GB, free: 0.8672 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0002542/0.9496, allocations: 192.7 kB / 1.12 GB, free: 0.8281 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0002439/0.9498, allocations: 203.3 kB / 1.12 GB, free: 16.76 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001515/0.9513, allocations: 1.185 MB / 1.121 GB, free: 16.66 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.9514, allocations: 1.859 kB / 1.121 GB, free: 16.66 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.363e-06/0.9514, allocations: 4 kB / 1.121 GB, free: 16.66 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.129e-05/0.9514, allocations: 0 / 1.121 GB, free: 16.66 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: 257 * Number of variables: 257 Notification: Performance of Generate backend data structure: time 0.002388/0.9538, allocations: 1.276 MB / 1.123 GB, free: 15.9 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.932e-05/0.9538, allocations: 8.812 kB / 1.123 GB, free: 15.9 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004644/0.9585, allocations: 0.7875 MB / 1.123 GB, free: 15.81 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001121/0.9596, allocations: 0.764 MB / 1.124 GB, free: 15.47 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.902e-05/0.9597, allocations: 79.03 kB / 1.124 GB, free: 15.47 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001457/0.9598, allocations: 92.97 kB / 1.124 GB, free: 15.47 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002981/0.9628, allocations: 1.348 MB / 1.126 GB, free: 15.28 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.37e-05/0.9629, allocations: 0 / 1.126 GB, free: 15.28 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001093/0.963, allocations: 42.67 kB / 1.126 GB, free: 15.28 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.111e-05/0.963, allocations: 29 kB / 1.126 GB, free: 15.28 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004294/0.9673, allocations: 1.83 MB / 1.127 GB, free: 15.25 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005627/0.973, allocations: 3.159 MB / 1.13 GB, free: 14.32 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002915/0.9759, allocations: 1.22 MB / 1.132 GB, free: 14.25 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001341/0.9773, allocations: 0.5512 MB / 1.132 GB, free: 14.23 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006515/0.9779, allocations: 479.6 kB / 1.133 GB, free: 13.76 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00172/0.9796, allocations: 0.7239 MB / 1.133 GB, free: 13.67 MB / 0.698 GB Notification: Performance of pre-optimization done (n=99): time 3.146e-06/0.9797, allocations: 0 / 1.133 GB, free: 13.67 MB / 0.698 GB Notification: Performance of matching and sorting (n=99): time 0.005981/0.9857, allocations: 1.805 MB / 1.135 GB, free: 13.25 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001096/0.9858, allocations: 197.1 kB / 1.135 GB, free: 13.03 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008334/0.9866, allocations: 0.582 MB / 1.136 GB, free: 12.82 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 8.337e-05/0.9867, allocations: 42.98 kB / 1.136 GB, free: 12.79 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003235/0.9871, allocations: 414.3 kB / 1.136 GB, free: 12.54 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002841/0.9874, allocations: 332.3 kB / 1.137 GB, free: 12.3 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.533e-05/0.9874, allocations: 17.5 kB / 1.137 GB, free: 12.3 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002/0.9876, allocations: 388.5 kB / 1.137 GB, free: 11.96 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001374/0.989, allocations: 465.3 kB / 1.137 GB, free: 11.87 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001456/0.9905, allocations: 0.5674 MB / 1.138 GB, free: 11.71 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002952/0.9934, allocations: 1.008 MB / 1.139 GB, free: 11.52 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.078e-06/0.9935, allocations: 0 / 1.139 GB, free: 11.52 MB / 0.698 GB Notification: Performance of matching and sorting (n=113) (initialization): time 0.003762/0.9972, allocations: 1.263 MB / 1.14 GB, free: 11.23 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.356e-05/0.9973, allocations: 8.062 kB / 1.14 GB, free: 11.23 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.053e-05/0.9973, allocations: 5.328 kB / 1.14 GB, free: 11.22 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005992/0.9979, allocations: 87.5 kB / 1.14 GB, free: 11.19 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001333/0.9992, allocations: 249.3 kB / 1.141 GB, free: 11.12 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00202/1.001, allocations: 1.522 MB / 1.142 GB, free: 9.742 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001199/1.002, allocations: 151 kB / 1.142 GB, free: 9.676 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.926e-05/1.003, allocations: 44.62 kB / 1.142 GB, free: 9.668 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.000575/1.003, allocations: 280.2 kB / 1.143 GB, free: 9.523 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000152/1.003, allocations: 87.03 kB / 1.143 GB, free: 9.477 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00437/1.008, allocations: 1.557 MB / 1.144 GB, free: 9.039 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.23e-05/1.008, allocations: 11.34 kB / 1.144 GB, free: 9.039 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/1.008, allocations: 0 / 1.144 GB, free: 9.039 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.37e-05/1.008, allocations: 7.969 kB / 1.144 GB, free: 9.031 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001352/1.009, allocations: 1.084 MB / 1.145 GB, free: 8.539 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.789e-06/1.009, allocations: 4 kB / 1.145 GB, free: 8.535 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00129/1.01, allocations: 248.2 kB / 1.145 GB, free: 8.473 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005108/1.011, allocations: 80.41 kB / 1.146 GB, free: 8.441 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.05e-05/1.011, allocations: 33.38 kB / 1.146 GB, free: 8.434 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001808/1.013, allocations: 1.541 MB / 1.147 GB, free: 7.062 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/1.013, allocations: 1.062 kB / 1.147 GB, free: 7.062 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003767/1.017, allocations: 1.331 MB / 1.148 GB, free: 6.719 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005019/1.017, allocations: 317.3 kB / 1.149 GB, free: 6.5 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001413/1.017, allocations: 22.28 kB / 1.149 GB, free: 6.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001045/1.018, allocations: 114.7 kB / 1.149 GB, free: 6.469 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001704/1.019, allocations: 71.7 kB / 1.149 GB, free: 6.438 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.76e-05/1.019, allocations: 47.78 kB / 1.149 GB, free: 6.426 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0006206/1.019, allocations: 426.6 kB / 1.149 GB, free: 6.277 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.7e-07/1.019, allocations: 3.938 kB / 1.149 GB, free: 6.273 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001268/1.021, allocations: 338.3 kB / 1.15 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.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (111): * Single equations (assignments): 108 * 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.001357/1.022, allocations: 0.5708 MB / 1.15 GB, free: 5.973 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.003468/1.025, allocations: 1.28 MB / 1.151 GB, free: 5.641 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/1.025, allocations: 1.859 kB / 1.151 GB, free: 5.641 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001914/1.027, allocations: 0.7586 MB / 1.152 GB, free: 5.402 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00127/1.029, allocations: 266 kB / 1.152 GB, free: 5.316 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005332/1.034, allocations: 2.524 MB / 1.155 GB, free: 3.977 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006548/1.035, allocations: 1.05 MB / 1.156 GB, free: 3.137 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.00145/1.036, allocations: 324.7 kB / 1.156 GB, free: 2.957 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003663/1.036, allocations: 111.4 kB / 1.156 GB, free: 2.934 MB / 0.698 GB Notification: Performance of SimCode: time 3.6e-07/1.037, allocations: 2.938 kB / 1.156 GB, free: 2.934 MB / 0.698 GB Notification: Performance of Templates: time 0.02386/1.06, allocations: 15.15 MB / 1.171 GB, free: 11.3 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.makefile (rm -f Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe ; mkfifo Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe >> ../files/Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.sim & ./Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe 2>&1)