Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.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.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation") translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.595/1.595, allocations: 288.4 MB / 303.7 MB, free: 7.961 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.001091/0.001091, allocations: 187.4 kB / 372.3 MB, free: 10.09 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.446/1.446, 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.0008474/0.0008473, allocations: 92.19 kB / 0.7444 GB, free: 5.789 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004753/0.0004753, allocations: 17.34 kB / 0.8675 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2021/0.2026, allocations: 115.3 MB / 0.9801 GB, free: 27.31 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation): time 0.004486/0.2071, allocations: 4.742 MB / 0.9848 GB, free: 22.54 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.553/0.7601, allocations: 140.2 MB / 1.122 GB, free: 2.207 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001171/0.7613, allocations: 20.47 kB / 1.122 GB, free: 2.199 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.00458/0.7659, allocations: 1.583 MB / 1.123 GB, free: 1.934 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.002003/0.768, allocations: 0.5812 MB / 1.124 GB, free: 1.801 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.002228/0.7702, allocations: 0.6913 MB / 1.124 GB, free: 1.734 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.002531/0.7727, allocations: 2.077 MB / 1.127 GB, free: 1.461 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001416/0.7742, allocations: 0.8979 MB / 1.127 GB, free: 1.234 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001139/0.7753, allocations: 0.5775 MB / 1.128 GB, free: 1.086 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001166/0.7765, allocations: 0.6257 MB / 1.129 GB, free: 0.9297 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0003534/0.7769, allocations: 34.28 kB / 1.129 GB, free: 0.9297 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003484/0.7804, allocations: 1.813 MB / 1.13 GB, free: 0.8516 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.001022/0.7814, allocations: 0.9734 MB / 1.131 GB, free: 0.7852 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.001071/0.7825, allocations: 0.636 MB / 1.132 GB, free: 16.52 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.003738/0.7862, allocations: 2.497 MB / 1.134 GB, free: 15.96 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 7.154e-06/0.7863, allocations: 0 / 1.134 GB, free: 15.96 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.846e-06/0.7863, allocations: 0 / 1.134 GB, free: 15.96 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001172/0.7864, allocations: 1.031 kB / 1.134 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: 300 * Number of variables: 300 Notification: Performance of Generate backend data structure: time 0.005432/0.7918, allocations: 1.855 MB / 1.136 GB, free: 14.67 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.413e-05/0.7919, allocations: 9.156 kB / 1.136 GB, free: 14.67 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00144/0.7933, allocations: 263.4 kB / 1.136 GB, free: 14.54 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004312/0.7977, allocations: 2.853 MB / 1.139 GB, free: 13.79 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.485e-05/0.7978, allocations: 93.89 kB / 1.139 GB, free: 13.78 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000252/0.798, allocations: 125.1 kB / 1.139 GB, free: 13.78 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002509/0.8005, allocations: 1.244 MB / 1.141 GB, free: 13.37 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.29e-05/0.8006, allocations: 9.438 kB / 1.141 GB, free: 13.36 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001085/0.8007, allocations: 50.5 kB / 1.141 GB, free: 13.36 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.617e-05/0.8007, allocations: 28.59 kB / 1.141 GB, free: 13.36 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002429/0.8032, allocations: 1.411 MB / 1.142 GB, free: 13.03 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008364/0.8115, allocations: 4.828 MB / 1.147 GB, free: 11.23 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001898/0.8135, allocations: 0.9921 MB / 1.148 GB, free: 11.07 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007164/0.8142, allocations: 402.7 kB / 1.148 GB, free: 11.02 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 9.376e-05/0.8143, allocations: 38.95 kB / 1.148 GB, free: 11 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009399/0.8153, allocations: 0.5657 MB / 1.149 GB, free: 10.79 MB / 0.698 GB Notification: Performance of pre-optimization done (n=88): time 4.829e-06/0.8153, allocations: 0 / 1.149 GB, free: 10.79 MB / 0.698 GB Notification: Performance of matching and sorting (n=88): time 0.003542/0.8189, allocations: 1.48 MB / 1.15 GB, free: 10.38 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.998e-05/0.819, allocations: 198.9 kB / 1.15 GB, free: 10.15 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004772/0.8238, allocations: 4.017 MB / 1.154 GB, free: 9.621 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001592/0.8239, allocations: 46.3 kB / 1.154 GB, free: 9.59 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005384/0.8245, allocations: 0.6191 MB / 1.155 GB, free: 9.277 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002915/0.8248, allocations: 295.4 kB / 1.155 GB, free: 9.07 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.152e-05/0.8249, allocations: 23.97 kB / 1.155 GB, free: 9.07 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001542/0.8251, allocations: 355.7 kB / 1.156 GB, free: 8.75 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001783/0.8268, allocations: 2.166 MB / 1.158 GB, free: 8.578 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001886/0.8287, allocations: 2.292 MB / 1.16 GB, free: 8.328 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002461/0.8312, allocations: 2.693 MB / 1.163 GB, free: 8.062 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.572e-06/0.8312, allocations: 0 / 1.163 GB, free: 8.062 MB / 0.698 GB Notification: Performance of matching and sorting (n=145) (initialization): time 0.004736/0.836, allocations: 4.804 MB / 1.167 GB, free: 7.012 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.168e-05/0.836, allocations: 8 kB / 1.167 GB, free: 7.004 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.057e-06/0.836, allocations: 3.938 kB / 1.167 GB, free: 7 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005976/0.8366, allocations: 90.3 kB / 1.167 GB, free: 6.918 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001019/0.8377, allocations: 245.9 kB / 1.168 GB, free: 6.684 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001988/0.8397, allocations: 1.529 MB / 1.169 GB, free: 5.133 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001075/0.8408, allocations: 131.3 kB / 1.169 GB, free: 5.027 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001501/0.8409, allocations: 56.09 kB / 1.169 GB, free: 4.973 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 (143): * Single equations (assignments): 142 * 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.001014/0.8419, allocations: 0.5995 MB / 1.17 GB, free: 4.367 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003029/0.8422, allocations: 126.4 kB / 1.17 GB, free: 4.242 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002951/0.8452, allocations: 1.34 MB / 1.171 GB, free: 2.887 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.768e-06/0.8452, allocations: 9.859 kB / 1.171 GB, free: 2.879 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/0.8452, allocations: 0 / 1.171 GB, free: 2.879 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.041e-05/0.8453, allocations: 7.984 kB / 1.171 GB, free: 2.871 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004682/0.8499, allocations: 2.531 MB / 1.174 GB, free: 312 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.889e-06/0.85, allocations: 0 / 1.174 GB, free: 312 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007478/0.8507, allocations: 175.7 kB / 1.174 GB, free: 136 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005234/0.8513, allocations: 84.77 kB / 1.174 GB, free: 48 kB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.65e-05/0.8514, allocations: 31.98 kB / 1.174 GB, free: 16 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00188/0.8532, allocations: 1.548 MB / 1.176 GB, free: 14.33 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.8533, allocations: 0 / 1.176 GB, free: 14.33 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002404/0.8557, allocations: 1.204 MB / 1.177 GB, free: 13.11 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006936/0.8564, allocations: 363 kB / 1.177 GB, free: 12.74 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002766/0.8567, allocations: 24 kB / 1.177 GB, free: 12.71 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008197/0.8575, allocations: 73.69 kB / 1.177 GB, free: 12.64 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001746/0.8577, allocations: 72.89 kB / 1.177 GB, free: 12.57 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.427e-05/0.8578, allocations: 39.98 kB / 1.177 GB, free: 12.54 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.003121/0.8609, allocations: 2.573 MB / 1.18 GB, free: 9.957 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8609, allocations: 4 kB / 1.18 GB, free: 9.953 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.002921/0.8638, allocations: 0.8683 MB / 1.181 GB, free: 9.09 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 (102): * Single equations (assignments): 99 * 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.003223/0.8671, allocations: 0.9038 MB / 1.182 GB, free: 8.375 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.00393/0.871, allocations: 2.883 MB / 1.184 GB, free: 5.48 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.448e-06/0.871, allocations: 0 / 1.184 GB, free: 5.48 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.00115/0.8722, allocations: 0.616 MB / 1.185 GB, free: 4.852 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002026/0.8742, allocations: 289.3 kB / 1.185 GB, free: 4.574 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01109/0.8853, allocations: 7.151 MB / 1.192 GB, free: 13.39 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002369/0.8877, allocations: 1.961 MB / 1.194 GB, free: 11.4 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.001409/0.8892, allocations: 365.5 kB / 1.195 GB, free: 11.04 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004662/0.8896, allocations: 135.4 kB / 1.195 GB, free: 10.91 MB / 0.7292 GB Notification: Performance of SimCode: time 1.944e-06/0.8897, allocations: 4 kB / 1.195 GB, free: 10.9 MB / 0.7292 GB Notification: Performance of Templates: time 0.05891/0.9486, allocations: 25.26 MB / 1.219 GB, free: 1.801 MB / 0.7448 GB make -j1 -f Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.makefile (rm -f Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.pipe >> ../files/Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.sim & ./Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.pipe 2>&1)