Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.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.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.297/1.297, allocations: 251.5 MB / 267.4 MB, free: 11.04 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009311/0.0009311, allocations: 166.7 kB / 326.5 MB, free: 2.672 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.356/1.356, allocations: 205 MB / 0.5766 GB, free: 20.62 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000719/0.000719, allocations: 86.36 kB / 0.6804 GB, free: 14.29 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002894/0.0002894, allocations: 13.41 kB / 0.7938 GB, free: 136.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1384/0.1387, allocations: 105.4 MB / 0.8967 GB, free: 67.64 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic): time 0.004484/0.1432, allocations: 5.45 MB / 0.9021 GB, free: 62.15 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.1303/0.2735, allocations: 152.9 MB / 1.051 GB, free: 4.668 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000608/0.2742, allocations: 23.88 kB / 1.051 GB, free: 4.645 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.003669/0.2778, allocations: 1.624 MB / 1.053 GB, free: 3.016 MB / 0.698 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3-maint.7.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 7.0.3-maint.7.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 7.0.3-maint.7.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.001199/0.2791, allocations: 0.5804 MB / 1.054 GB, free: 2.438 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001671/0.2807, allocations: 0.8186 MB / 1.054 GB, free: 1.625 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.3241/0.6049, allocations: 3.129 MB / 1.057 GB, free: 3.422 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001052/0.6059, allocations: 0.8804 MB / 1.058 GB, free: 3.254 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009813/0.6069, allocations: 0.8378 MB / 1.059 GB, free: 3.254 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008542/0.6078, allocations: 0.7822 MB / 1.06 GB, free: 3.254 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001437/0.6079, allocations: 42.03 kB / 1.06 GB, free: 3.254 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002719/0.6107, allocations: 1.879 MB / 1.062 GB, free: 3.254 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.001462/0.6121, allocations: 1.717 MB / 1.063 GB, free: 3.254 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0009/0.6131, allocations: 0.8773 MB / 1.064 GB, free: 3.254 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.005211/0.6183, allocations: 3.871 MB / 1.068 GB, free: 3.09 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.397e-06/0.6183, allocations: 0 / 1.068 GB, free: 3.09 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.453e-06/0.6183, allocations: 0.75 kB / 1.068 GB, free: 3.09 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.629e-05/0.6184, allocations: 0 / 1.068 GB, free: 3.09 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.003972/0.6223, allocations: 2.366 MB / 1.07 GB, free: 1.801 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.897e-05/0.6224, allocations: 9 kB / 1.07 GB, free: 1.801 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007927/0.6232, allocations: 296.5 kB / 1.071 GB, free: 1.676 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004224/0.6274, allocations: 4.511 MB / 1.075 GB, free: 1.223 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.387e-05/0.6275, allocations: 122.2 kB / 1.075 GB, free: 1.219 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002082/0.6277, allocations: 176.8 kB / 1.075 GB, free: 1.215 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002132/0.6299, allocations: 1.561 MB / 1.077 GB, free: 1.035 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.428e-05/0.6299, allocations: 0 / 1.077 GB, free: 1.035 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.265e-05/0.63, allocations: 46.09 kB / 1.077 GB, free: 1.035 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.307e-05/0.63, allocations: 27.06 kB / 1.077 GB, free: 1.035 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001915/0.6319, allocations: 1.654 MB / 1.079 GB, free: 1.012 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007499/0.6395, allocations: 6.765 MB / 1.085 GB, free: 16.05 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001527/0.641, allocations: 1.472 MB / 1.087 GB, free: 16.01 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008439/0.6419, allocations: 0.9909 MB / 1.088 GB, free: 16 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 8.157e-05/0.642, allocations: 40.42 kB / 1.088 GB, free: 15.99 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009843/0.6429, allocations: 0.8856 MB / 1.088 GB, free: 15.94 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=106): time 2.815e-06/0.643, allocations: 3.75 kB / 1.088 GB, free: 15.94 MB / 0.7136 GB Notification: Performance of matching and sorting (n=106): time 0.003267/0.6462, allocations: 2.683 MB / 1.091 GB, free: 15.74 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001702/0.6464, allocations: 342.2 kB / 1.091 GB, free: 15.49 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008951/0.6554, allocations: 7.308 MB / 1.099 GB, free: 15.27 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0003835/0.6558, allocations: 67.58 kB / 1.099 GB, free: 15.23 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005341/0.6563, allocations: 0.755 MB / 1.099 GB, free: 14.97 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002866/0.6566, allocations: 364.9 kB / 1.1 GB, free: 14.74 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009005/0.6575, allocations: 1.596 MB / 1.101 GB, free: 14.4 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.403e-05/0.6576, allocations: 305.1 kB / 1.102 GB, free: 14.1 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008701/0.6663, allocations: 12.95 MB / 1.114 GB, free: 14.09 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01111/0.6775, allocations: 13.65 MB / 1.128 GB, free: 6.164 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02509/0.7026, allocations: 17.9 MB / 1.145 GB, free: 7.57 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.582e-05/0.7026, allocations: 4 kB / 1.145 GB, free: 7.566 MB / 0.7292 GB Notification: Performance of matching and sorting (n=778) (initialization): time 0.0293/0.7319, allocations: 31.17 MB / 1.175 GB, free: 8.426 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 0.000228/0.7322, allocations: 184.2 kB / 1.176 GB, free: 8.242 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.589e-05/0.7322, allocations: 8 kB / 1.176 GB, free: 8.234 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.038e-05/0.7323, allocations: 27 kB / 1.176 GB, free: 8.211 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001864/0.7342, allocations: 460.5 kB / 1.176 GB, free: 7.789 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.055e-05/0.7342, allocations: 27.08 kB / 1.176 GB, free: 7.766 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001558/0.7358, allocations: 270.3 kB / 1.176 GB, free: 7.5 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000177/0.7359, allocations: 106.6 kB / 1.176 GB, free: 7.398 MB / 0.7605 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * Number of states: 0 () * Number of discrete variables: 8 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (274): * Single equations (assignments): 260 * Array equations: 13 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001418/0.7374, allocations: 1.212 MB / 1.178 GB, free: 6.207 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002677/0.7376, allocations: 165.8 kB / 1.178 GB, free: 6.043 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003427/0.7411, allocations: 2.61 MB / 1.18 GB, free: 3.414 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.13e-05/0.7411, allocations: 7.984 kB / 1.18 GB, free: 3.406 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.454e-06/0.7411, allocations: 3 kB / 1.18 GB, free: 3.406 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005635/0.7417, allocations: 402.4 kB / 1.181 GB, free: 2.992 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001961/0.7419, allocations: 31.88 kB / 1.181 GB, free: 2.961 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006568/0.7425, allocations: 75.94 kB / 1.181 GB, free: 2.887 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001397/0.7427, allocations: 60.92 kB / 1.181 GB, free: 2.824 MB / 0.7605 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003225/0.7459, allocations: 2.856 MB / 1.184 GB, free: 15.96 MB / 0.7761 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.002961/0.7489, allocations: 2.65 MB / 1.186 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001507/0.7504, allocations: 1.695 MB / 1.188 GB, free: 11.59 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.003973/0.7544, allocations: 4.595 MB / 1.192 GB, free: 7.008 MB / 0.7761 GB Notification: Performance of Backend: time 4.11e-07/0.7544, allocations: 0 / 1.192 GB, free: 7.008 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.01837/0.7728, allocations: 18.96 MB / 1.211 GB, free: 4.34 MB / 0.7917 GB Notification: Performance of SimCode: time 0.01161/0.7844, allocations: 9.501 MB / 1.22 GB, free: 10.78 MB / 0.8073 GB Notification: Performance of Templates: time 0.05156/0.836, allocations: 32.1 MB / 1.252 GB, free: 10.89 MB / 0.8386 GB make -j1 -f Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.makefile (rm -f Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.pipe >> ../files/Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.sim & ./Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.pipe 2>&1)