Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.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.AbsorbedRadiationElectrochromic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic") translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.561/1.561, allocations: 288.4 MB / 304.3 MB, free: 8.113 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.0009647/0.0009647, allocations: 168.6 kB / 372.9 MB, free: 10.15 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.259/1.259, allocations: 205.4 MB / 0.6316 GB, free: 9.895 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.0007639/0.0007639, allocations: 104 kB / 0.745 GB, free: 5.809 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003352/0.0003352, allocations: 16.75 kB / 0.8681 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1525/0.1528, allocations: 115.3 MB / 0.9807 GB, free: 27.35 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic): time 0.004526/0.1574, allocations: 5.027 MB / 0.9857 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.4795/0.637, allocations: 140.2 MB / 1.123 GB, free: 2.316 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008575/0.6379, allocations: 21.09 kB / 1.123 GB, free: 2.309 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.003446/0.6413, allocations: 1.564 MB / 1.124 GB, free: 2.062 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.001519/0.6429, allocations: 0.5572 MB / 1.125 GB, free: 1.93 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.001785/0.6446, allocations: 0.7275 MB / 1.125 GB, free: 1.879 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.002253/0.6469, allocations: 2.889 MB / 1.128 GB, free: 1.605 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009843/0.6479, allocations: 0.8778 MB / 1.129 GB, free: 1.379 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001211/0.6491, allocations: 0.8257 MB / 1.13 GB, free: 1.215 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009213/0.6501, allocations: 0.7547 MB / 1.131 GB, free: 1.059 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0001547/0.6502, allocations: 44.2 kB / 1.131 GB, free: 1.059 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002878/0.6531, allocations: 1.783 MB / 1.132 GB, free: 0.9844 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.00135/0.6545, allocations: 1.769 MB / 1.134 GB, free: 0.9023 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0008033/0.6553, allocations: 0.8518 MB / 1.135 GB, free: 0.5703 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.00364/0.6589, allocations: 3.027 MB / 1.138 GB, free: 15.37 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.659, allocations: 4.562 kB / 1.138 GB, free: 15.37 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.004e-06/0.659, allocations: 4 kB / 1.138 GB, free: 15.36 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.328e-05/0.659, allocations: 0 / 1.138 GB, free: 15.36 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: 309 * Number of variables: 309 Notification: Performance of Generate backend data structure: time 0.004366/0.6634, allocations: 2.365 MB / 1.14 GB, free: 13.78 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.174e-05/0.6634, allocations: 9.406 kB / 1.14 GB, free: 13.78 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008663/0.6643, allocations: 303 kB / 1.141 GB, free: 13.63 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005132/0.6695, allocations: 4.499 MB / 1.145 GB, free: 12.72 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.482e-05/0.6696, allocations: 125.7 kB / 1.145 GB, free: 12.72 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002326/0.6698, allocations: 169.8 kB / 1.145 GB, free: 12.72 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002323/0.6722, allocations: 1.559 MB / 1.147 GB, free: 12.28 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.088e-05/0.6722, allocations: 0.9062 kB / 1.147 GB, free: 12.28 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.359e-05/0.6723, allocations: 47.72 kB / 1.147 GB, free: 12.28 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.502e-05/0.6723, allocations: 27.78 kB / 1.147 GB, free: 12.28 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00234/0.6747, allocations: 1.638 MB / 1.148 GB, free: 11.94 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009491/0.6842, allocations: 6.783 MB / 1.155 GB, free: 9.77 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001706/0.6859, allocations: 1.462 MB / 1.156 GB, free: 9.602 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009246/0.6869, allocations: 1.001 MB / 1.157 GB, free: 9.512 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 7.078e-05/0.6869, allocations: 29.88 kB / 1.157 GB, free: 9.508 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001057/0.688, allocations: 0.8865 MB / 1.158 GB, free: 9.305 MB / 0.698 GB Notification: Performance of pre-optimization done (n=106): time 3.907e-06/0.688, allocations: 0 / 1.158 GB, free: 9.305 MB / 0.698 GB Notification: Performance of matching and sorting (n=106): time 0.003478/0.6915, allocations: 2.674 MB / 1.161 GB, free: 8.863 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001787/0.6917, allocations: 339.7 kB / 1.161 GB, free: 8.594 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008645/0.7003, allocations: 7.322 MB / 1.168 GB, free: 6.695 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0004088/0.7008, allocations: 68.89 kB / 1.168 GB, free: 6.652 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007235/0.7015, allocations: 0.7498 MB / 1.169 GB, free: 6.113 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003675/0.7019, allocations: 351.2 kB / 1.17 GB, free: 5.773 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001225/0.702, allocations: 52 kB / 1.17 GB, free: 5.723 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001936/0.7022, allocations: 414.7 kB / 1.17 GB, free: 5.312 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004277/0.7065, allocations: 4.652 MB / 1.175 GB, free: 0.6562 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004896/0.7114, allocations: 5.397 MB / 1.18 GB, free: 10.94 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006403/0.7179, allocations: 6.783 MB / 1.186 GB, free: 3.832 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.658e-05/0.7179, allocations: 4 kB / 1.186 GB, free: 3.828 MB / 0.7136 GB Notification: Performance of matching and sorting (n=303) (initialization): time 0.0112/0.7291, allocations: 10.56 MB / 1.197 GB, free: 9.266 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001911/0.7293, allocations: 189.6 kB / 1.197 GB, free: 9.074 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.457e-05/0.7294, allocations: 20 kB / 1.197 GB, free: 9.055 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.861e-05/0.7294, allocations: 36 kB / 1.197 GB, free: 9.02 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001811/0.7313, allocations: 497.1 kB / 1.197 GB, free: 8.535 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.185e-05/0.7313, allocations: 51.8 kB / 1.198 GB, free: 8.484 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001617/0.7329, allocations: 281.2 kB / 1.198 GB, free: 8.211 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002057/0.7332, allocations: 120 kB / 1.198 GB, free: 8.094 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (274): * Single equations (assignments): 273 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001572/0.7347, allocations: 1.233 MB / 1.199 GB, free: 6.848 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002499/0.735, allocations: 165.8 kB / 1.199 GB, free: 6.684 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003835/0.7388, allocations: 2.595 MB / 1.202 GB, free: 4.066 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.37e-05/0.7389, allocations: 11.97 kB / 1.202 GB, free: 4.055 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.7389, allocations: 0 / 1.202 GB, free: 4.055 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007125/0.7396, allocations: 446.1 kB / 1.202 GB, free: 3.598 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001864/0.7398, allocations: 20 kB / 1.202 GB, free: 3.578 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006968/0.7405, allocations: 79.88 kB / 1.202 GB, free: 3.5 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000163/0.7407, allocations: 64.91 kB / 1.202 GB, free: 3.434 MB / 0.7292 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003524/0.7442, allocations: 2.85 MB / 1.205 GB, free: 0.5781 MB / 0.7292 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.00313/0.7474, allocations: 2.643 MB / 1.208 GB, free: 13.91 MB / 0.7448 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00161/0.749, allocations: 1.695 MB / 1.209 GB, free: 12.21 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.004321/0.7533, allocations: 4.599 MB / 1.214 GB, free: 7.625 MB / 0.7448 GB Notification: Performance of Backend: time 3.5e-07/0.7533, allocations: 1.859 kB / 1.214 GB, free: 7.625 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.009765/0.7631, allocations: 7.896 MB / 1.222 GB, free: 15.94 MB / 0.7605 GB Notification: Performance of SimCode: time 0.01466/0.7778, allocations: 12.8 MB / 1.234 GB, free: 3.059 MB / 0.7605 GB Notification: Performance of Templates: time 0.0624/0.8402, allocations: 32.32 MB / 1.266 GB, free: 2.879 MB / 0.7917 GB make -j1 -f Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.makefile (rm -f Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.pipe >> ../files/Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.sim & ./Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.pipe 2>&1)