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.646/1.646, allocations: 288.4 MB / 303.7 MB, free: 8.16 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.001071/0.001071, allocations: 172.5 kB / 372.3 MB, free: 10.13 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.563/1.563, allocations: 205.4 MB / 0.631 GB, free: 9.879 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.000812/0.0008119, allocations: 94.95 kB / 0.7444 GB, free: 5.801 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004091/0.0004091, allocations: 12.84 kB / 0.8675 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2342/0.2346, allocations: 115.3 MB / 0.9801 GB, free: 27.34 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic): time 0.005133/0.2398, allocations: 5.027 MB / 0.985 GB, free: 22.28 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.7069/0.9468, allocations: 140.2 MB / 1.122 GB, free: 2.332 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001209/0.948, allocations: 20.81 kB / 1.122 GB, free: 2.324 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.00442/0.9525, allocations: 1.571 MB / 1.124 GB, free: 2.074 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.001978/0.9545, allocations: 0.5497 MB / 1.124 GB, free: 1.945 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.002421/0.9569, allocations: 0.7306 MB / 1.125 GB, free: 1.891 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.003628/0.9605, allocations: 2.894 MB / 1.128 GB, free: 1.617 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001197/0.9617, allocations: 0.8732 MB / 1.128 GB, free: 1.395 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001587/0.9633, allocations: 0.8247 MB / 1.129 GB, free: 1.23 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009999/0.9643, allocations: 0.7628 MB / 1.13 GB, free: 1.066 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0001333/0.9645, allocations: 43.44 kB / 1.13 GB, free: 1.066 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003465/0.968, allocations: 1.782 MB / 1.132 GB, free: 0.9922 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.001328/0.9693, allocations: 1.761 MB / 1.134 GB, free: 0.9141 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0008023/0.9701, allocations: 0.8537 MB / 1.134 GB, free: 0.582 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.004169/0.9743, allocations: 3.025 MB / 1.137 GB, free: 15.37 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.9743, allocations: 4 kB / 1.137 GB, free: 15.37 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.733e-06/0.9743, allocations: 0 / 1.137 GB, free: 15.37 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.982e-05/0.9744, allocations: 0 / 1.137 GB, free: 15.37 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.004492/0.9789, allocations: 2.367 MB / 1.14 GB, free: 13.79 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.046e-05/0.9789, allocations: 8.938 kB / 1.14 GB, free: 13.79 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008295/0.9797, allocations: 302.9 kB / 1.14 GB, free: 13.64 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005882/0.9856, allocations: 4.504 MB / 1.144 GB, free: 12.73 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001319/0.9858, allocations: 122.8 kB / 1.144 GB, free: 12.72 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000275/0.9861, allocations: 176 kB / 1.145 GB, free: 12.72 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002839/0.9889, allocations: 1.547 MB / 1.146 GB, free: 12.29 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.162e-05/0.989, allocations: 2.781 kB / 1.146 GB, free: 12.29 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001018/0.9891, allocations: 48.81 kB / 1.146 GB, free: 12.29 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.628e-05/0.9891, allocations: 27.5 kB / 1.146 GB, free: 12.29 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00243/0.9916, allocations: 1.646 MB / 1.148 GB, free: 11.94 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01022/1.002, allocations: 6.768 MB / 1.154 GB, free: 9.785 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0018/1.004, allocations: 1.464 MB / 1.156 GB, free: 9.613 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009576/1.005, allocations: 0.996 MB / 1.157 GB, free: 9.527 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 7.537e-05/1.005, allocations: 36.95 kB / 1.157 GB, free: 9.52 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001129/1.006, allocations: 0.8886 MB / 1.158 GB, free: 9.316 MB / 0.698 GB Notification: Performance of pre-optimization done (n=106): time 4.028e-06/1.006, allocations: 0 / 1.158 GB, free: 9.316 MB / 0.698 GB Notification: Performance of matching and sorting (n=106): time 0.003765/1.01, allocations: 2.675 MB / 1.16 GB, free: 8.871 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002263/1.01, allocations: 341.8 kB / 1.161 GB, free: 8.598 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01026/1.02, allocations: 7.32 MB / 1.168 GB, free: 6.695 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0005461/1.021, allocations: 68.45 kB / 1.168 GB, free: 6.652 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008672/1.022, allocations: 0.7471 MB / 1.169 GB, free: 6.121 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004642/1.022, allocations: 363.5 kB / 1.169 GB, free: 5.77 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001387/1.022, allocations: 44 kB / 1.169 GB, free: 5.727 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002234/1.022, allocations: 418.7 kB / 1.169 GB, free: 5.312 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004559/1.027, allocations: 4.652 MB / 1.174 GB, free: 0.6562 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005086/1.032, allocations: 5.395 MB / 1.179 GB, free: 10.94 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007103/1.039, allocations: 6.776 MB / 1.186 GB, free: 3.84 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.658e-05/1.039, allocations: 8 kB / 1.186 GB, free: 3.832 MB / 0.7136 GB Notification: Performance of matching and sorting (n=303) (initialization): time 0.0128/1.052, allocations: 10.56 MB / 1.196 GB, free: 9.266 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002507/1.052, allocations: 181.6 kB / 1.196 GB, free: 9.082 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.672e-05/1.052, allocations: 25.86 kB / 1.196 GB, free: 9.059 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.329e-05/1.053, allocations: 36 kB / 1.196 GB, free: 9.023 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002058/1.055, allocations: 495.1 kB / 1.197 GB, free: 8.539 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.019e-05/1.055, allocations: 51.8 kB / 1.197 GB, free: 8.488 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001768/1.056, allocations: 283.4 kB / 1.197 GB, free: 8.215 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002238/1.057, allocations: 116 kB / 1.197 GB, free: 8.102 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.001728/1.058, allocations: 1.236 MB / 1.198 GB, free: 6.852 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003783/1.059, allocations: 165.8 kB / 1.199 GB, free: 6.688 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003949/1.063, allocations: 2.597 MB / 1.201 GB, free: 4.07 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.241e-05/1.063, allocations: 12 kB / 1.201 GB, free: 4.059 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.005e-06/1.063, allocations: 7.922 kB / 1.201 GB, free: 4.051 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.082e-05/1.063, allocations: 3.984 kB / 1.201 GB, free: 4.047 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006046/1.069, allocations: 4.079 MB / 1.205 GB, free: 15.93 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.523e-06/1.069, allocations: 0 / 1.205 GB, free: 15.93 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006337/1.07, allocations: 161.6 kB / 1.205 GB, free: 15.77 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.177e-06/1.07, allocations: 7.938 kB / 1.205 GB, free: 15.77 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.84e-05/1.07, allocations: 31.98 kB / 1.205 GB, free: 15.73 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.969e-06/1.07, allocations: 4 kB / 1.205 GB, free: 15.73 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/1.07, allocations: 3.938 kB / 1.205 GB, free: 15.73 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003396/1.073, allocations: 2.565 MB / 1.208 GB, free: 13.14 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008585/1.074, allocations: 438.2 kB / 1.208 GB, free: 12.69 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003395/1.074, allocations: 24 kB / 1.208 GB, free: 12.66 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008955/1.075, allocations: 83.86 kB / 1.208 GB, free: 12.58 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001961/1.075, allocations: 64.91 kB / 1.208 GB, free: 12.52 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.097e-05/1.076, allocations: 39.98 kB / 1.209 GB, free: 12.48 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.004876/1.08, allocations: 4.603 MB / 1.213 GB, free: 7.887 MB / 0.7448 GB Notification: Performance of sort global known variables: time 2.51e-07/1.08, allocations: 0 / 1.213 GB, free: 7.887 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.003322/1.084, allocations: 0.9912 MB / 1.214 GB, free: 6.902 MB / 0.7448 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 (90): * Single equations (assignments): 87 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00308/1.087, allocations: 0.9063 MB / 1.215 GB, free: 6.188 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.008075/1.095, allocations: 7.791 MB / 1.222 GB, free: 14.39 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 5.881e-06/1.095, allocations: 0 / 1.222 GB, free: 14.39 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.002215/1.097, allocations: 2.18 MB / 1.225 GB, free: 12.2 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001938/1.099, allocations: 301.5 kB / 1.225 GB, free: 11.9 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01657/1.116, allocations: 12.65 MB / 1.237 GB, free: 15.21 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004118/1.12, allocations: 2.847 MB / 1.24 GB, free: 12.33 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.001665/1.122, allocations: 435.6 kB / 1.24 GB, free: 11.9 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005691/1.122, allocations: 147.3 kB / 1.241 GB, free: 11.76 MB / 0.7761 GB Notification: Performance of SimCode: time 6.81e-07/1.122, allocations: 7.938 kB / 1.241 GB, free: 11.75 MB / 0.7761 GB Notification: Performance of Templates: time 0.05821/1.18, allocations: 30.75 MB / 1.271 GB, free: 13.16 MB / 0.8073 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)