Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.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.WindowRadiationElectrochromic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic") translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 2.104/2.104, allocations: 288.4 MB / 304.3 MB, free: 8.02 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.001554/0.001554, allocations: 195.2 kB / 372.9 MB, free: 10.12 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.243/1.243, allocations: 205.4 MB / 0.6316 GB, free: 9.914 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.0007401/0.0007401, allocations: 98.34 kB / 0.745 GB, free: 5.832 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003329/0.0003329, allocations: 12.06 kB / 0.8681 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.158/0.1583, allocations: 115.3 MB / 0.9807 GB, free: 27.36 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic): time 0.005173/0.1635, allocations: 6.157 MB / 0.9867 GB, free: 21.17 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.4753/0.6388, allocations: 141.1 MB / 1.125 GB, free: 2.281 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009166/0.6398, allocations: 32.5 kB / 1.125 GB, free: 2.266 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.003676/0.6435, allocations: 1.69 MB / 1.126 GB, free: 1.977 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.001983/0.6455, allocations: 0.8926 MB / 1.127 GB, free: 1.785 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.002629/0.6481, allocations: 1.019 MB / 1.128 GB, free: 1.707 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.004001/0.6521, allocations: 4.608 MB / 1.133 GB, free: 1.312 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001263/0.6534, allocations: 1.189 MB / 1.134 GB, free: 1.023 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001625/0.655, allocations: 1.219 MB / 1.135 GB, free: 0.7734 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001291/0.6563, allocations: 1.192 MB / 1.136 GB, free: 0.5508 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0002084/0.6565, allocations: 63.12 kB / 1.136 GB, free: 0.5508 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003265/0.6598, allocations: 2.016 MB / 1.138 GB, free: 272 kB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.004999/0.6648, allocations: 4.35 MB / 1.142 GB, free: 15.82 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.001518/0.6664, allocations: 1.257 MB / 1.144 GB, free: 15.27 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.005356/0.6717, allocations: 4.534 MB / 1.148 GB, free: 12.99 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.6717, allocations: 3.25 kB / 1.148 GB, free: 12.99 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.703e-06/0.6717, allocations: 1.859 kB / 1.148 GB, free: 12.99 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.877e-05/0.6718, allocations: 1.156 kB / 1.148 GB, free: 12.99 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: 400 * Number of variables: 400 Notification: Performance of Generate backend data structure: time 0.005449/0.6773, allocations: 3.327 MB / 1.151 GB, free: 10.86 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.688e-05/0.6773, allocations: 12.41 kB / 1.151 GB, free: 10.85 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001166/0.6785, allocations: 421.4 kB / 1.152 GB, free: 10.64 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01021/0.6887, allocations: 12.26 MB / 1.164 GB, free: 8.941 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001013/0.6888, allocations: 163.7 kB / 1.164 GB, free: 8.938 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002867/0.6891, allocations: 222.6 kB / 1.164 GB, free: 8.938 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003263/0.6924, allocations: 2.269 MB / 1.166 GB, free: 8.148 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.435e-05/0.6924, allocations: 0 / 1.166 GB, free: 8.148 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001398/0.6926, allocations: 64.38 kB / 1.166 GB, free: 8.102 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.216e-05/0.6926, allocations: 35.78 kB / 1.166 GB, free: 8.102 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003283/0.6959, allocations: 2.383 MB / 1.169 GB, free: 7.066 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01694/0.7128, allocations: 14.9 MB / 1.183 GB, free: 8.574 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002586/0.7155, allocations: 1.853 MB / 1.185 GB, free: 6.715 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00146/0.7169, allocations: 1.249 MB / 1.186 GB, free: 5.465 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 8.475e-05/0.717, allocations: 41.73 kB / 1.186 GB, free: 5.434 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001707/0.7187, allocations: 1.266 MB / 1.188 GB, free: 4.148 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=126): time 2.785e-06/0.7188, allocations: 0 / 1.188 GB, free: 4.148 MB / 0.7136 GB Notification: Performance of matching and sorting (n=126): time 0.005928/0.7247, allocations: 3.662 MB / 1.191 GB, free: 464 kB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002326/0.7249, allocations: 366.5 kB / 1.191 GB, free: 44 kB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02889/0.7538, allocations: 20.53 MB / 1.212 GB, free: 11.49 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.0005303/0.7544, allocations: 81.69 kB / 1.212 GB, free: 11.41 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.001127/0.7555, allocations: 1.133 MB / 1.213 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003935/0.7559, allocations: 434.5 kB / 1.213 GB, free: 9.863 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001714/0.7561, allocations: 60 kB / 1.213 GB, free: 9.805 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002304/0.7564, allocations: 452.7 kB / 1.214 GB, free: 9.355 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01005/0.7664, allocations: 12.36 MB / 1.226 GB, free: 12.99 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01071/0.7771, allocations: 13.34 MB / 1.239 GB, free: 15.23 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01326/0.7904, allocations: 15.1 MB / 1.253 GB, free: 15.7 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.199e-05/0.7905, allocations: 11.98 kB / 1.253 GB, free: 15.69 MB / 0.7917 GB Notification: Performance of matching and sorting (n=411) (initialization): time 0.02247/0.8129, allocations: 26.43 MB / 1.279 GB, free: 5.242 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 0.000201/0.8132, allocations: 209.9 kB / 1.279 GB, free: 5.031 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.611e-05/0.8132, allocations: 32 kB / 1.28 GB, free: 5 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006253/0.8139, allocations: 124.8 kB / 1.28 GB, free: 4.875 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002428/0.8163, allocations: 0.6853 MB / 1.28 GB, free: 4.191 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001902/0.8182, allocations: 1.586 MB / 1.282 GB, free: 2.469 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002204/0.8204, allocations: 370.3 kB / 1.282 GB, free: 2.109 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002755/0.8207, allocations: 162.5 kB / 1.282 GB, free: 1.953 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 135 * 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 (380): * Single equations (assignments): 378 * 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: 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.002799/0.8235, allocations: 2.514 MB / 1.285 GB, free: 15.43 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003554/0.8239, allocations: 248.6 kB / 1.285 GB, free: 15.18 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004758/0.8287, allocations: 3.366 MB / 1.288 GB, free: 11.79 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.154e-05/0.8287, allocations: 3.984 kB / 1.288 GB, free: 11.79 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.985e-06/0.8287, allocations: 3.938 kB / 1.288 GB, free: 11.79 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008401/0.8295, allocations: 0.5947 MB / 1.289 GB, free: 11.17 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002526/0.8298, allocations: 32 kB / 1.289 GB, free: 11.14 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009085/0.8307, allocations: 107.8 kB / 1.289 GB, free: 11.03 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001865/0.8309, allocations: 80.89 kB / 1.289 GB, free: 10.95 MB / 0.823 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004607/0.8355, allocations: 3.548 MB / 1.293 GB, free: 7.391 MB / 0.823 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.005656/0.8412, allocations: 4.838 MB / 1.297 GB, free: 2.523 MB / 0.823 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001865/0.8431, allocations: 1.969 MB / 1.299 GB, free: 0.5586 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.01032/0.8534, allocations: 12.75 MB / 1.312 GB, free: 3.809 MB / 0.8386 GB Notification: Performance of Backend: time 9.42e-07/0.8534, allocations: 4 kB / 1.312 GB, free: 3.805 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.01591/0.8693, allocations: 16.05 MB / 1.327 GB, free: 3.945 MB / 0.8542 GB Notification: Performance of SimCode: time 0.03258/0.902, allocations: 31.44 MB / 1.358 GB, free: 4.406 MB / 0.8855 GB Notification: Performance of Templates: time 0.1004/1.002, allocations: 52.6 MB / 1.409 GB, free: 92 kB / 0.9323 GB make -j1 -f Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.makefile (rm -f Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe >> ../files/Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.sim & ./Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe 2>&1)