Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.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.WindowRadiationElectrochromic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.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.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.296/1.296, allocations: 251.5 MB / 267.4 MB, free: 11.06 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.0009313/0.0009313, allocations: 164 kB / 326.5 MB, free: 2.68 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.391/1.391, allocations: 205 MB / 0.5767 GB, free: 20.97 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.0006396/0.0006396, allocations: 89.23 kB / 0.6804 GB, free: 14.69 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002795/0.0002795, allocations: 8.875 kB / 0.7938 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1401/0.1403, allocations: 105.4 MB / 0.8968 GB, free: 68.14 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic): time 0.00522/0.1456, allocations: 6.689 MB / 0.9033 GB, free: 61.42 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.4734/0.619, allocations: 156.9 MB / 1.057 GB, free: 2.496 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001271/0.6203, allocations: 31.38 kB / 1.057 GB, free: 2.496 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.003987/0.6243, allocations: 1.78 MB / 1.058 GB, free: 2.496 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.001985/0.6263, allocations: 0.973 MB / 1.059 GB, free: 2.492 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.002498/0.6288, allocations: 1.186 MB / 1.06 GB, free: 2.473 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.004297/0.6331, allocations: 5.037 MB / 1.065 GB, free: 2.465 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001571/0.6347, allocations: 1.197 MB / 1.066 GB, free: 2.199 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00236/0.6371, allocations: 1.23 MB / 1.068 GB, free: 2.199 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001833/0.6389, allocations: 1.223 MB / 1.069 GB, free: 2.195 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.000289/0.6392, allocations: 63.84 kB / 1.069 GB, free: 2.195 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00371/0.6429, allocations: 2.127 MB / 1.071 GB, free: 2.172 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.003071/0.646, allocations: 4.076 MB / 1.075 GB, free: 2.168 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.001526/0.6476, allocations: 1.308 MB / 1.076 GB, free: 2.164 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.006108/0.6537, allocations: 5.618 MB / 1.082 GB, free: 1.652 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.6537, allocations: 2.375 kB / 1.082 GB, free: 1.652 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.854e-06/0.6537, allocations: 0 / 1.082 GB, free: 1.652 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.496e-05/0.6538, allocations: 0 / 1.082 GB, free: 1.652 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.004929/0.6587, allocations: 3.338 MB / 1.085 GB, free: 15.92 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.62e-05/0.6588, allocations: 13.41 kB / 1.085 GB, free: 15.91 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001149/0.6599, allocations: 419 kB / 1.085 GB, free: 15.74 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009509/0.6694, allocations: 12.24 MB / 1.097 GB, free: 15.09 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001766/0.6697, allocations: 169.8 kB / 1.098 GB, free: 15.08 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000272/0.6699, allocations: 225.8 kB / 1.098 GB, free: 15.08 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003031/0.673, allocations: 2.275 MB / 1.1 GB, free: 14.88 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.849e-05/0.673, allocations: 9.812 kB / 1.1 GB, free: 14.88 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001272/0.6731, allocations: 62.88 kB / 1.1 GB, free: 14.88 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.182e-05/0.6732, allocations: 41.59 kB / 1.1 GB, free: 14.87 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002854/0.676, allocations: 2.395 MB / 1.102 GB, free: 14.85 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01458/0.6906, allocations: 14.88 MB / 1.117 GB, free: 13.44 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002292/0.693, allocations: 1.865 MB / 1.119 GB, free: 13.39 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001273/0.6942, allocations: 1.244 MB / 1.12 GB, free: 13.38 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001049/0.6944, allocations: 34.38 kB / 1.12 GB, free: 13.38 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001654/0.696, allocations: 1.282 MB / 1.121 GB, free: 12.79 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=126): time 2.665e-06/0.696, allocations: 0 / 1.121 GB, free: 12.79 MB / 0.7136 GB Notification: Performance of matching and sorting (n=126): time 0.006193/0.7022, allocations: 3.673 MB / 1.125 GB, free: 10.14 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001782/0.7024, allocations: 363.4 kB / 1.125 GB, free: 9.766 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02875/0.7312, allocations: 20.53 MB / 1.145 GB, free: 6.613 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0005684/0.7318, allocations: 81.7 kB / 1.145 GB, free: 6.527 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.001315/0.7331, allocations: 1.136 MB / 1.146 GB, free: 5.402 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005626/0.7337, allocations: 436.2 kB / 1.147 GB, free: 4.984 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003298/0.737, allocations: 4.504 MB / 1.151 GB, free: 464 kB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.862e-05/0.7371, allocations: 305.1 kB / 1.152 GB, free: 156 kB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03161/0.7687, allocations: 38.65 MB / 1.189 GB, free: 9.496 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03394/0.8027, allocations: 40.04 MB / 1.228 GB, free: 1.219 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03928/0.842, allocations: 47.67 MB / 1.275 GB, free: 1.148 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.281e-05/0.8421, allocations: 8 kB / 1.275 GB, free: 1.141 MB / 0.8542 GB Notification: Performance of matching and sorting (n=1836) (initialization): time 0.08126/0.9233, allocations: 90.87 MB / 1.364 GB, free: 5.973 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002412/0.9236, allocations: 197.6 kB / 1.364 GB, free: 5.773 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.727e-05/0.9237, allocations: 20 kB / 1.364 GB, free: 5.754 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006288/0.9243, allocations: 112.9 kB / 1.364 GB, free: 5.641 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002397/0.9267, allocations: 0.5983 MB / 1.365 GB, free: 5.082 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001899/0.9286, allocations: 1.553 MB / 1.366 GB, free: 3.402 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002869/0.9315, allocations: 369.8 kB / 1.366 GB, free: 3.043 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003192/0.9318, allocations: 154.8 kB / 1.367 GB, free: 2.895 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 83 * 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 (380): * Single equations (assignments): 339 * Array equations: 39 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.002712/0.9346, allocations: 2.483 MB / 1.369 GB, free: 456 kB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004868/0.935, allocations: 248.6 kB / 1.369 GB, free: 204 kB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004919/0.94, allocations: 3.371 MB / 1.373 GB, free: 12.81 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.298e-05/0.94, allocations: 3.984 kB / 1.373 GB, free: 12.81 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/0.94, allocations: 4 kB / 1.373 GB, free: 12.8 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008406/0.9409, allocations: 0.5208 MB / 1.373 GB, free: 12.26 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00029/0.9412, allocations: 31.09 kB / 1.373 GB, free: 12.23 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000904/0.9421, allocations: 103.9 kB / 1.373 GB, free: 12.13 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000189/0.9423, allocations: 76.89 kB / 1.373 GB, free: 12.06 MB / 0.9636 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004449/0.9467, allocations: 3.558 MB / 1.377 GB, free: 8.496 MB / 0.9636 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.005733/0.9525, allocations: 4.857 MB / 1.381 GB, free: 3.609 MB / 0.9636 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001961/0.9545, allocations: 1.98 MB / 1.383 GB, free: 1.633 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.01047/0.9649, allocations: 12.75 MB / 1.396 GB, free: 4.883 MB / 0.9792 GB Notification: Performance of Backend: time 9.32e-07/0.965, allocations: 4 kB / 1.396 GB, free: 4.879 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.3454/1.31, allocations: 50.72 MB / 1.445 GB, free: 410.6 MB / 0.9792 GB Notification: Performance of SimCode: time 0.01947/1.33, allocations: 21.07 MB / 1.466 GB, free: 391.3 MB / 0.9792 GB Notification: Performance of Templates: time 0.07424/1.404, allocations: 51.26 MB / 1.516 GB, free: 341.8 MB / 0.9792 GB make -j1 -f Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.makefile (rm -f Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe >> ../files/Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.sim & ./Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe 2>&1)