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 1.7/1.7, allocations: 288.4 MB / 303.7 MB, free: 8.129 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.0009616/0.0009618, allocations: 175.2 kB / 372.3 MB, free: 10.14 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.414/1.414, allocations: 205.4 MB / 0.631 GB, free: 9.918 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.0006519/0.000652, allocations: 94.31 kB / 0.7444 GB, free: 5.816 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004533/0.0004533, allocations: 13.94 kB / 0.8675 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1933/0.1938, allocations: 115.3 MB / 0.9801 GB, free: 27.36 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic): time 0.005306/0.1991, allocations: 6.149 MB / 0.9861 GB, free: 21.17 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.5525/0.7516, allocations: 141.1 MB / 1.124 GB, free: 2.285 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001352/0.753, allocations: 28.84 kB / 1.124 GB, free: 2.273 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.004838/0.7579, allocations: 1.693 MB / 1.126 GB, free: 1.98 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.002284/0.7602, allocations: 0.8892 MB / 1.126 GB, free: 1.793 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.003076/0.7633, allocations: 1.017 MB / 1.127 GB, free: 1.719 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.004573/0.7678, allocations: 4.614 MB / 1.132 GB, free: 1.32 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001394/0.7692, allocations: 1.195 MB / 1.133 GB, free: 1.031 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001891/0.7711, allocations: 1.218 MB / 1.134 GB, free: 0.7852 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001338/0.7725, allocations: 1.195 MB / 1.136 GB, free: 0.5586 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0001861/0.7727, allocations: 63.94 kB / 1.136 GB, free: 0.5586 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003764/0.7765, allocations: 2.014 MB / 1.138 GB, free: 260 kB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.005916/0.7824, allocations: 4.401 MB / 1.142 GB, free: 0 / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.001666/0.7841, allocations: 1.261 MB / 1.143 GB, free: 15.46 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.005793/0.7899, allocations: 4.543 MB / 1.148 GB, free: 13.15 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.7899, allocations: 0 / 1.148 GB, free: 13.15 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.495e-06/0.7899, allocations: 0 / 1.148 GB, free: 13.15 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.661e-05/0.79, allocations: 0 / 1.148 GB, free: 13.15 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.006058/0.796, allocations: 3.329 MB / 1.151 GB, free: 11.02 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.788e-05/0.7961, allocations: 9.094 kB / 1.151 GB, free: 11.02 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001222/0.7973, allocations: 428.7 kB / 1.151 GB, free: 10.8 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01114/0.8085, allocations: 12.25 MB / 1.163 GB, free: 9.105 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.715e-05/0.8086, allocations: 162 kB / 1.163 GB, free: 9.102 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002912/0.8089, allocations: 228.1 kB / 1.164 GB, free: 9.102 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003491/0.8124, allocations: 2.266 MB / 1.166 GB, free: 8.066 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.58e-05/0.8124, allocations: 2.781 kB / 1.166 GB, free: 8.066 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001451/0.8126, allocations: 63.94 kB / 1.166 GB, free: 8.02 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.885e-05/0.8126, allocations: 35.88 kB / 1.166 GB, free: 8.02 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003285/0.8159, allocations: 2.383 MB / 1.168 GB, free: 6.984 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01806/0.834, allocations: 14.89 MB / 1.183 GB, free: 8.496 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00269/0.8367, allocations: 1.853 MB / 1.185 GB, free: 6.637 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001533/0.8383, allocations: 1.246 MB / 1.186 GB, free: 5.391 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 9.52e-05/0.8384, allocations: 41.33 kB / 1.186 GB, free: 5.359 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001788/0.8402, allocations: 1.265 MB / 1.187 GB, free: 4.078 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=126): time 2.334e-06/0.8402, allocations: 4 kB / 1.187 GB, free: 4.074 MB / 0.7136 GB Notification: Performance of matching and sorting (n=126): time 0.006278/0.8465, allocations: 3.66 MB / 1.191 GB, free: 388 kB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002495/0.8467, allocations: 358.5 kB / 1.191 GB, free: 15.98 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02961/0.8764, allocations: 20.53 MB / 1.211 GB, free: 11.42 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.0006486/0.8771, allocations: 77.7 kB / 1.211 GB, free: 11.34 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.001488/0.8786, allocations: 1.137 MB / 1.212 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004584/0.879, allocations: 434.7 kB / 1.213 GB, free: 9.789 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000212/0.8792, allocations: 63.94 kB / 1.213 GB, free: 9.727 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002333/0.8795, allocations: 456.7 kB / 1.213 GB, free: 9.273 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01067/0.8902, allocations: 12.35 MB / 1.225 GB, free: 12.91 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01219/0.9024, allocations: 13.34 MB / 1.238 GB, free: 15.15 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01365/0.9161, allocations: 15.11 MB / 1.253 GB, free: 15.62 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.351e-05/0.9161, allocations: 8 kB / 1.253 GB, free: 15.61 MB / 0.7917 GB Notification: Performance of matching and sorting (n=411) (initialization): time 0.02484/0.941, allocations: 26.44 MB / 1.279 GB, free: 5.16 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001972/0.9412, allocations: 201.6 kB / 1.279 GB, free: 4.957 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.714e-05/0.9413, allocations: 32 kB / 1.279 GB, free: 4.926 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006081/0.9419, allocations: 124.8 kB / 1.279 GB, free: 4.801 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002575/0.9445, allocations: 0.6896 MB / 1.28 GB, free: 4.113 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001976/0.9465, allocations: 1.575 MB / 1.281 GB, free: 2.398 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002381/0.9489, allocations: 377.9 kB / 1.282 GB, free: 2.031 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002875/0.9492, allocations: 173.4 kB / 1.282 GB, free: 1.867 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.002843/0.952, allocations: 2.507 MB / 1.284 GB, free: 15.35 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004387/0.9525, allocations: 252.6 kB / 1.285 GB, free: 15.1 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00517/0.9576, allocations: 3.358 MB / 1.288 GB, free: 11.71 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.121e-05/0.9577, allocations: 12 kB / 1.288 GB, free: 11.7 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.676e-06/0.9577, allocations: 0 / 1.288 GB, free: 11.7 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.692e-05/0.9577, allocations: 7.984 kB / 1.288 GB, free: 11.7 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00784/0.9656, allocations: 5.391 MB / 1.293 GB, free: 6.254 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.342e-06/0.9656, allocations: 0 / 1.293 GB, free: 6.254 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000839/0.9665, allocations: 207.7 kB / 1.293 GB, free: 6.051 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005095/0.967, allocations: 84.77 kB / 1.293 GB, free: 5.965 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.125e-05/0.9671, allocations: 35.98 kB / 1.293 GB, free: 5.93 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001727/0.9688, allocations: 1.548 MB / 1.295 GB, free: 4.246 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.9688, allocations: 64 / 1.295 GB, free: 4.246 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004563/0.9734, allocations: 3.283 MB / 1.298 GB, free: 0.9336 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001187/0.9746, allocations: 0.5947 MB / 1.299 GB, free: 324 kB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002573/0.9749, allocations: 32 kB / 1.299 GB, free: 292 kB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009607/0.9758, allocations: 103.9 kB / 1.299 GB, free: 188 kB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002007/0.9761, allocations: 84.88 kB / 1.299 GB, free: 100 kB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001179/0.9762, allocations: 55.98 kB / 1.299 GB, free: 44 kB / 0.823 GB Notification: Performance of sorting global known variables: time 0.01228/0.9885, allocations: 12.75 MB / 1.311 GB, free: 3.293 MB / 0.8386 GB Notification: Performance of sort global known variables: time 7.52e-07/0.9885, allocations: 0 / 1.311 GB, free: 3.293 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.005102/0.9936, allocations: 1.242 MB / 1.313 GB, free: 2.055 MB / 0.8386 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): 107 * 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: 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.002858/0.9965, allocations: 0.9731 MB / 1.314 GB, free: 1.266 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.01459/1.011, allocations: 16.13 MB / 1.329 GB, free: 1.121 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 8.135e-06/1.011, allocations: 0 / 1.329 GB, free: 1.121 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.003157/1.014, allocations: 2.659 MB / 1.332 GB, free: 14.44 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002393/1.017, allocations: 416.6 kB / 1.332 GB, free: 14.03 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03841/1.055, allocations: 31.43 MB / 1.363 GB, free: 14.54 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008134/1.063, allocations: 6.345 MB / 1.369 GB, free: 8.16 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.002113/1.065, allocations: 0.6392 MB / 1.37 GB, free: 7.516 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005186/1.066, allocations: 199.4 kB / 1.37 GB, free: 7.32 MB / 0.9011 GB Notification: Performance of SimCode: time 8.32e-07/1.066, allocations: 0 / 1.37 GB, free: 7.32 MB / 0.9011 GB Notification: Performance of Templates: time 0.1167/1.183, allocations: 51.05 MB / 1.42 GB, free: 4.566 MB / 0.948 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)