Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient") translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.691/1.691, allocations: 292.3 MB / 308.1 MB, free: 4.301 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.001295/0.001295, allocations: 188.5 kB / 376.9 MB, free: 1.828 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.71/1.71, allocations: 205.1 MB / 0.6354 GB, free: 9.801 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009268/0.0009268, allocations: 100.7 kB / 0.748 GB, free: 61.32 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001197/0.001197, allocations: 59.91 kB / 0.8704 GB, free: 13.12 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3117/0.3129, allocations: 114.5 MB / 0.9822 GB, free: 10.42 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient): time 0.007392/0.3204, allocations: 4.41 MB / 0.9865 GB, free: 5.977 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.8004/1.121, allocations: 148.1 MB / 1.131 GB, free: 6.926 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001342/1.122, allocations: 21.19 kB / 1.131 GB, free: 6.918 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0006783/1.123, allocations: 137.4 kB / 1.131 GB, free: 6.836 MB / 0.7448 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4-maint.8.1.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.1.4-maint.8.1.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.1.4-maint.8.1.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.001838/1.125, allocations: 357.2 kB / 1.132 GB, free: 6.645 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.002213/1.127, allocations: 0.7614 MB / 1.132 GB, free: 6.23 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.001347/1.128, allocations: 1.255 MB / 1.134 GB, free: 5.648 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008767/1.129, allocations: 0.679 MB / 1.134 GB, free: 5.281 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005452/1.13, allocations: 463.7 kB / 1.135 GB, free: 5.078 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005327/1.13, allocations: 0.5213 MB / 1.135 GB, free: 4.816 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.0001285/1.13, allocations: 73.97 kB / 1.135 GB, free: 4.812 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008378/1.131, allocations: 357.8 kB / 1.136 GB, free: 4.734 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0002366/1.132, allocations: 263.6 kB / 1.136 GB, free: 4.59 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0003989/1.132, allocations: 0.5299 MB / 1.136 GB, free: 4.242 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.001304/1.133, allocations: 1.561 MB / 1.138 GB, free: 3.605 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/1.133, allocations: 0 / 1.138 GB, free: 3.605 MB / 0.7448 GB Notification: Performance of FrontEnd: time 7.91e-07/1.133, allocations: 0.75 kB / 1.138 GB, free: 3.605 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.321e-05/1.133, allocations: 0 / 1.138 GB, free: 3.605 MB / 0.7448 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.002642/1.136, allocations: 1.52 MB / 1.139 GB, free: 2.613 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.61e-05/1.136, allocations: 9.312 kB / 1.139 GB, free: 2.613 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004641/1.141, allocations: 0.7133 MB / 1.14 GB, free: 2.527 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001076/1.142, allocations: 0.7663 MB / 1.141 GB, free: 2.023 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.472e-05/1.142, allocations: 75.12 kB / 1.141 GB, free: 1.988 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001359/1.142, allocations: 97.34 kB / 1.141 GB, free: 1.957 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002735/1.145, allocations: 1.334 MB / 1.142 GB, free: 1.406 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.14e-05/1.145, allocations: 0 / 1.142 GB, free: 1.406 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.895e-05/1.145, allocations: 41.78 kB / 1.142 GB, free: 1.375 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.117e-05/1.145, allocations: 25.97 kB / 1.142 GB, free: 1.375 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004024/1.149, allocations: 1.794 MB / 1.144 GB, free: 0.9766 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005323/1.154, allocations: 3.115 MB / 1.147 GB, free: 15.34 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003091/1.157, allocations: 1.216 MB / 1.148 GB, free: 14.91 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001351/1.159, allocations: 0.5466 MB / 1.149 GB, free: 14.71 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007533/1.159, allocations: 487.2 kB / 1.149 GB, free: 14.22 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001665/1.161, allocations: 0.7157 MB / 1.15 GB, free: 13.95 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=99): time 2.635e-06/1.161, allocations: 0 / 1.15 GB, free: 13.95 MB / 0.7605 GB Notification: Performance of matching and sorting (n=99): time 0.005489/1.167, allocations: 1.787 MB / 1.152 GB, free: 13.29 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000127/1.167, allocations: 194.8 kB / 1.152 GB, free: 13.07 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009903/1.168, allocations: 0.5894 MB / 1.153 GB, free: 12.81 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 8.973e-05/1.168, allocations: 44.73 kB / 1.153 GB, free: 12.76 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003938/1.168, allocations: 409.1 kB / 1.153 GB, free: 12.45 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003296/1.169, allocations: 332.6 kB / 1.153 GB, free: 12.19 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004/1.169, allocations: 188.2 kB / 1.153 GB, free: 12.1 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0002168/1.169, allocations: 387.6 kB / 1.154 GB, free: 11.75 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001352/1.171, allocations: 460.8 kB / 1.154 GB, free: 11.61 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001471/1.172, allocations: 0.5647 MB / 1.155 GB, free: 11.39 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002791/1.175, allocations: 0.9935 MB / 1.156 GB, free: 10.98 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.859e-06/1.175, allocations: 0 / 1.156 GB, free: 10.98 MB / 0.7605 GB Notification: Performance of matching and sorting (n=113) (initialization): time 0.003753/1.179, allocations: 1.257 MB / 1.157 GB, free: 10.53 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 2.475e-05/1.179, allocations: 7.188 kB / 1.157 GB, free: 10.53 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.377e-05/1.179, allocations: 3.219 kB / 1.157 GB, free: 10.53 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000602/1.179, allocations: 92.12 kB / 1.157 GB, free: 10.5 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001248/1.181, allocations: 244.6 kB / 1.157 GB, free: 10.48 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002914/1.184, allocations: 1.529 MB / 1.159 GB, free: 9.043 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001401/1.185, allocations: 132.5 kB / 1.159 GB, free: 8.992 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001561/1.185, allocations: 48.45 kB / 1.159 GB, free: 8.98 MB / 0.7605 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 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition1,$whenCondition2) * 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0009104/1.186, allocations: 281.7 kB / 1.159 GB, free: 8.77 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003503/1.186, allocations: 86.81 kB / 1.159 GB, free: 8.723 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004972/1.191, allocations: 1.548 MB / 1.161 GB, free: 8.148 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.4e-05/1.191, allocations: 12.31 kB / 1.161 GB, free: 8.148 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/1.191, allocations: 0.5 kB / 1.161 GB, free: 8.148 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.376e-05/1.191, allocations: 6.656 kB / 1.161 GB, free: 8.148 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001586/1.193, allocations: 1.082 MB / 1.162 GB, free: 7.562 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.084e-05/1.193, allocations: 0 / 1.162 GB, free: 7.562 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00118/1.194, allocations: 239.1 kB / 1.162 GB, free: 7.543 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00049/1.195, allocations: 82.61 kB / 1.162 GB, free: 7.523 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001112/1.195, allocations: 28.36 kB / 1.162 GB, free: 7.512 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001908/1.197, allocations: 1.552 MB / 1.164 GB, free: 6.066 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.095e-06/1.197, allocations: 3.469 kB / 1.164 GB, free: 6.066 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005757/1.203, allocations: 2.618 MB / 1.166 GB, free: 4.668 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005694/1.203, allocations: 288.3 kB / 1.167 GB, free: 4.465 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001783/1.203, allocations: 22.56 kB / 1.167 GB, free: 4.449 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001059/1.204, allocations: 105.1 kB / 1.167 GB, free: 4.43 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001912/1.205, allocations: 76.53 kB / 1.167 GB, free: 4.414 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001149/1.205, allocations: 40 kB / 1.167 GB, free: 4.406 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0006791/1.205, allocations: 445 kB / 1.167 GB, free: 4.211 MB / 0.7605 GB Notification: Performance of sort global known variables: time 1.813e-06/1.205, allocations: 0 / 1.167 GB, free: 4.211 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.001273/1.207, allocations: 346.6 kB / 1.168 GB, free: 4.105 MB / 0.7605 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001804/1.209, allocations: 0.5836 MB / 1.168 GB, free: 3.832 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.003679/1.212, allocations: 1.271 MB / 1.169 GB, free: 3.371 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 5.951e-06/1.212, allocations: 3.031 kB / 1.169 GB, free: 3.371 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.002009/1.214, allocations: 0.7557 MB / 1.17 GB, free: 3.055 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001525/1.216, allocations: 263.2 kB / 1.17 GB, free: 2.977 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006761/1.223, allocations: 3.067 MB / 1.173 GB, free: 1.164 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009531/1.224, allocations: 1.079 MB / 1.175 GB, free: 444 kB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.00176/1.225, allocations: 330.8 kB / 1.175 GB, free: 332 kB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004882/1.226, allocations: 115.9 kB / 1.175 GB, free: 312 kB / 0.7605 GB Notification: Performance of SimCode: time 8.22e-07/1.226, allocations: 0 / 1.175 GB, free: 312 kB / 0.7605 GB Notification: Performance of Templates: time 0.04758/1.273, allocations: 16.1 MB / 1.191 GB, free: 15.06 MB / 0.7761 GB make -j1 -f Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.makefile (rm -f Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe ; mkfifo Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe ; head -c 1048576 < Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe >> ../files/Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.sim & ./Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe 2>&1)