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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009932/0.0009933, allocations: 97.41 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.007667/0.007667, allocations: 169.5 kB / 16.26 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.38/1.38, allocations: 205.4 MB / 222.5 MB, free: 5.551 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.498/1.498, allocations: 252 MB / 0.5105 GB, free: 4.633 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004848/0.0004848, allocations: 16 kB / 0.6249 GB, free: 0.7109 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4504/0.4509, allocations: 106.3 MB / 0.7287 GB, free: 11.26 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic): time 0.006991/0.4579, allocations: 6.548 MB / 0.7351 GB, free: 4.676 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.1603/0.6183, allocations: 151.5 MB / 0.883 GB, free: 12.64 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001805/0.6201, allocations: 31.81 kB / 0.8831 GB, free: 12.61 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.005213/0.6254, allocations: 1.775 MB / 0.8848 GB, free: 10.82 MB / 0.7012 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.002759/0.6281, allocations: 0.9724 MB / 0.8858 GB, free: 9.852 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.002896/0.631, allocations: 1.175 MB / 0.8869 GB, free: 8.684 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.005141/0.6362, allocations: 5.041 MB / 0.8918 GB, free: 3.633 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001511/0.6377, allocations: 1.182 MB / 0.893 GB, free: 2.398 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001943/0.6397, allocations: 1.233 MB / 0.8942 GB, free: 1.16 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001495/0.6412, allocations: 1.218 MB / 0.8954 GB, free: 15.94 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001965/0.6414, allocations: 68 kB / 0.8954 GB, free: 15.87 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003394/0.6448, allocations: 2.126 MB / 0.8975 GB, free: 13.74 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.003156/0.648, allocations: 4.077 MB / 0.9015 GB, free: 9.66 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.001411/0.6494, allocations: 1.325 MB / 0.9028 GB, free: 8.32 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.00647/0.6559, allocations: 5.623 MB / 0.9083 GB, free: 2.68 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.915e-06/0.6559, allocations: 0 / 0.9083 GB, free: 2.68 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.543e-06/0.6559, allocations: 4 kB / 0.9083 GB, free: 2.676 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.981e-05/0.6559, allocations: 0 / 0.9083 GB, free: 2.676 MB / 0.7169 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.4045/1.06, allocations: 3.326 MB / 0.9115 GB, free: 178 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.945e-05/1.061, allocations: 9.938 kB / 0.9115 GB, free: 178 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002222/1.063, allocations: 426.1 kB / 0.912 GB, free: 177.9 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01583/1.079, allocations: 12.25 MB / 0.9239 GB, free: 174.3 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001094/1.079, allocations: 163.5 kB / 0.9241 GB, free: 174.3 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003131/1.079, allocations: 224.9 kB / 0.9243 GB, free: 174.2 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003524/1.083, allocations: 2.28 MB / 0.9265 GB, free: 172.6 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.264e-05/1.083, allocations: 0 / 0.9265 GB, free: 172.6 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001413/1.083, allocations: 67.94 kB / 0.9266 GB, free: 172.5 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.188e-05/1.083, allocations: 36 kB / 0.9266 GB, free: 172.5 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003129/1.086, allocations: 2.409 MB / 0.929 GB, free: 170.5 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01532/1.101, allocations: 14.88 MB / 0.9435 GB, free: 155.7 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002203/1.104, allocations: 1.862 MB / 0.9453 GB, free: 153.9 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001153/1.105, allocations: 1.253 MB / 0.9465 GB, free: 152.6 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 9.041e-05/1.105, allocations: 41.8 kB / 0.9466 GB, free: 152.6 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001394/1.106, allocations: 1.268 MB / 0.9478 GB, free: 151.3 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=126): time 2.424e-06/1.106, allocations: 0 / 0.9478 GB, free: 151.3 MB / 0.7169 GB Notification: Performance of matching and sorting (n=126): time 0.00536/1.112, allocations: 3.665 MB / 0.9514 GB, free: 147.6 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001438/1.112, allocations: 358.5 kB / 0.9517 GB, free: 147.2 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02408/1.136, allocations: 20.53 MB / 0.9718 GB, free: 126.6 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0005514/1.136, allocations: 81.7 kB / 0.9719 GB, free: 126.5 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.001265/1.138, allocations: 1.137 MB / 0.973 GB, free: 125.4 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004221/1.138, allocations: 447.7 kB / 0.9734 GB, free: 125 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002469/1.141, allocations: 4.501 MB / 0.9778 GB, free: 120.5 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.29e-05/1.141, allocations: 301.1 kB / 0.9781 GB, free: 120.2 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02503/1.166, allocations: 38.65 MB / 1.016 GB, free: 81.5 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02739/1.193, allocations: 40.03 MB / 1.055 GB, free: 41.2 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03311/1.226, allocations: 47.67 MB / 1.101 GB, free: 9.051 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.201e-05/1.226, allocations: 8 kB / 1.101 GB, free: 9.043 MB / 0.7325 GB Notification: Performance of matching and sorting (n=1836) (initialization): time 0.08665/1.313, allocations: 90.89 MB / 1.19 GB, free: 13.86 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002725/1.313, allocations: 199.5 kB / 1.19 GB, free: 13.66 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.877e-05/1.313, allocations: 23.94 kB / 1.19 GB, free: 13.63 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006678/1.314, allocations: 116.3 kB / 1.191 GB, free: 13.52 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002447/1.317, allocations: 0.6006 MB / 1.191 GB, free: 12.92 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002364/1.319, allocations: 1.551 MB / 1.193 GB, free: 11.22 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002937/1.322, allocations: 364 kB / 1.193 GB, free: 10.87 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003223/1.322, allocations: 151.8 kB / 1.193 GB, free: 10.72 MB / 0.8262 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.002878/1.325, allocations: 2.491 MB / 1.196 GB, free: 8.223 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005374/1.326, allocations: 251.7 kB / 1.196 GB, free: 7.977 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005252/1.331, allocations: 3.365 MB / 1.199 GB, free: 4.594 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.259e-05/1.331, allocations: 12 kB / 1.199 GB, free: 4.582 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/1.331, allocations: 0 / 1.199 GB, free: 4.582 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.431e-05/1.331, allocations: 11.86 kB / 1.199 GB, free: 4.57 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007851/1.339, allocations: 5.415 MB / 1.204 GB, free: 15.11 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.172e-06/1.339, allocations: 0 / 1.204 GB, free: 15.11 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008004/1.34, allocations: 199.7 kB / 1.205 GB, free: 14.92 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005333/1.34, allocations: 84.77 kB / 1.205 GB, free: 14.83 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.39e-05/1.34, allocations: 35.98 kB / 1.205 GB, free: 14.8 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001903/1.342, allocations: 1.544 MB / 1.206 GB, free: 13.11 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/1.342, allocations: 0 / 1.206 GB, free: 13.11 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00512/1.347, allocations: 3.296 MB / 1.209 GB, free: 9.789 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001131/1.349, allocations: 0.5869 MB / 1.21 GB, free: 9.18 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002506/1.349, allocations: 31.94 kB / 1.21 GB, free: 9.148 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009951/1.35, allocations: 108 kB / 1.21 GB, free: 9.043 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001945/1.35, allocations: 80.89 kB / 1.21 GB, free: 8.965 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001207/1.35, allocations: 63.97 kB / 1.21 GB, free: 8.902 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.01067/1.361, allocations: 12.75 MB / 1.223 GB, free: 12.15 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.91e-07/1.361, allocations: 0 / 1.223 GB, free: 12.15 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.005042/1.366, allocations: 1.706 MB / 1.224 GB, free: 10.52 MB / 0.8575 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 (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,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002571/1.368, allocations: 0.9608 MB / 1.225 GB, free: 9.809 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.4072/1.776, allocations: 50.81 MB / 1.275 GB, free: 287.1 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 9.297e-06/1.776, allocations: 0 / 1.275 GB, free: 287.1 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.002581/1.778, allocations: 2.662 MB / 1.278 GB, free: 284.6 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002434/1.781, allocations: 435.7 kB / 1.278 GB, free: 284.3 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02215/1.803, allocations: 21.1 MB / 1.299 GB, free: 264.8 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004205/1.807, allocations: 4.607 MB / 1.303 GB, free: 260.2 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.002051/1.809, allocations: 0.6359 MB / 1.304 GB, free: 259.6 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000504/1.81, allocations: 203.3 kB / 1.304 GB, free: 259.4 MB / 0.8575 GB Notification: Performance of SimCode: time 6.72e-07/1.81, allocations: 0 / 1.304 GB, free: 259.4 MB / 0.8575 GB Notification: Performance of Templates: time 0.07965/1.889, allocations: 49.66 MB / 1.352 GB, free: 210 MB / 0.8575 GB make -j1 -f Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: