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.001378/0.001382, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001757/0.001758, allocations: 191.9 kB / 16.25 MB, free: 6.625 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.376/1.376, allocations: 205.1 MB / 222.1 MB, free: 4.711 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.449/1.449, allocations: 251.7 MB / 0.5089 GB, free: 3.305 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.001346/0.001346, allocations: 67.91 kB / 0.6217 GB, free: 1.871 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.432/0.4334, allocations: 104.7 MB / 0.724 GB, free: 13.12 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic): time 0.007516/0.4409, allocations: 7.037 MB / 0.7309 GB, free: 6.055 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.1488/0.5897, allocations: 156.6 MB / 0.8838 GB, free: 8.84 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001882/0.5917, allocations: 31.81 kB / 0.8839 GB, free: 8.809 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.004639/0.5964, allocations: 1.779 MB / 0.8856 GB, free: 7.023 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.002482/0.5989, allocations: 0.9682 MB / 0.8865 GB, free: 6.055 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.002738/0.6016, allocations: 1.236 MB / 0.8877 GB, free: 4.828 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.004394/0.6061, allocations: 5.069 MB / 0.8927 GB, free: 15.75 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001575/0.6076, allocations: 1.253 MB / 0.8939 GB, free: 14.44 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002245/0.6099, allocations: 1.678 MB / 0.8956 GB, free: 12.75 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001853/0.6118, allocations: 1.506 MB / 0.897 GB, free: 11.24 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0003613/0.6121, allocations: 268 kB / 0.8973 GB, free: 10.98 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003629/0.6158, allocations: 2.438 MB / 0.8997 GB, free: 8.539 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.003031/0.6188, allocations: 4.327 MB / 0.9039 GB, free: 4.207 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.001618/0.6205, allocations: 1.605 MB / 0.9055 GB, free: 2.594 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.4653/1.086, allocations: 5.897 MB / 0.9112 GB, free: 15.83 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 8.245e-06/1.086, allocations: 0 / 0.9112 GB, free: 15.83 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.054e-06/1.086, allocations: 0.7812 kB / 0.9112 GB, free: 15.83 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.000204/1.086, allocations: 0 / 0.9112 GB, free: 15.83 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.01061/1.097, allocations: 3.996 MB / 0.9151 GB, free: 14.06 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.833e-05/1.097, allocations: 9.625 kB / 0.9151 GB, free: 14.06 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001924/1.099, allocations: 413.3 kB / 0.9155 GB, free: 13.88 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01489/1.114, allocations: 12.24 MB / 0.9275 GB, free: 13.25 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001533/1.114, allocations: 168.5 kB / 0.9276 GB, free: 13.25 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006816/1.114, allocations: 224.8 kB / 0.9278 GB, free: 13.25 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003505/1.118, allocations: 2.271 MB / 0.9301 GB, free: 13.05 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.161e-05/1.118, allocations: 0 / 0.9301 GB, free: 13.05 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001648/1.118, allocations: 63.7 kB / 0.9301 GB, free: 13.05 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.425e-05/1.118, allocations: 37.12 kB / 0.9302 GB, free: 13.05 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003419/1.122, allocations: 2.382 MB / 0.9325 GB, free: 13.04 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01908/1.141, allocations: 14.77 MB / 0.9469 GB, free: 11.7 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002822/1.144, allocations: 1.846 MB / 0.9487 GB, free: 11.68 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001267/1.145, allocations: 1.247 MB / 0.9499 GB, free: 11.66 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 9.11e-05/1.145, allocations: 37.52 kB / 0.95 GB, free: 11.66 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001587/1.147, allocations: 1.26 MB / 0.9512 GB, free: 11.59 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=126): time 2.425e-06/1.147, allocations: 0 / 0.9512 GB, free: 11.59 MB / 0.7169 GB Notification: Performance of matching and sorting (n=126): time 0.006281/1.153, allocations: 3.64 MB / 0.9548 GB, free: 11.25 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001797/1.153, allocations: 360.8 kB / 0.9551 GB, free: 11 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02658/1.18, allocations: 20.52 MB / 0.9751 GB, free: 0.5898 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0008454/1.181, allocations: 82.73 kB / 0.9752 GB, free: 0.5039 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.001873/1.182, allocations: 1.15 MB / 0.9763 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006538/1.183, allocations: 440.6 kB / 0.9768 GB, free: 15.18 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004156/1.187, allocations: 4.904 MB / 0.9815 GB, free: 10.75 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001066/1.187, allocations: 303.6 kB / 0.9818 GB, free: 10.45 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.04241/1.23, allocations: 39.7 MB / 1.021 GB, free: 7.172 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03435/1.264, allocations: 40.02 MB / 1.06 GB, free: 14.91 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04151/1.306, allocations: 47.65 MB / 1.106 GB, free: 15.16 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.66e-05/1.306, allocations: 8.969 kB / 1.106 GB, free: 15.15 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1836) (initialization): time 0.1177/1.424, allocations: 90.86 MB / 1.195 GB, free: 4.559 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002854/1.424, allocations: 201.6 kB / 1.195 GB, free: 4.355 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.187e-05/1.424, allocations: 20.86 kB / 1.195 GB, free: 4.34 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006541/1.425, allocations: 112.7 kB / 1.195 GB, free: 4.23 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002689/1.427, allocations: 0.5988 MB / 1.196 GB, free: 3.672 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002169/1.429, allocations: 1.66 MB / 1.197 GB, free: 1.895 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003311/1.433, allocations: 358.8 kB / 1.198 GB, free: 1.551 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005556/1.433, allocations: 147.2 kB / 1.198 GB, free: 1.41 MB / 0.9356 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.003489/1.437, allocations: 2.484 MB / 1.2 GB, free: 14.96 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007276/1.438, allocations: 248.6 kB / 1.201 GB, free: 14.72 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00538/1.443, allocations: 3.352 MB / 1.204 GB, free: 11.38 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.28e-05/1.443, allocations: 12 kB / 1.204 GB, free: 11.37 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/1.443, allocations: 0 / 1.204 GB, free: 11.37 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.437e-05/1.443, allocations: 9.031 kB / 1.204 GB, free: 11.36 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01081/1.454, allocations: 5.391 MB / 1.209 GB, free: 5.93 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.109e-05/1.454, allocations: 1.312 kB / 1.209 GB, free: 5.93 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000954/1.455, allocations: 198.6 kB / 1.209 GB, free: 5.746 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005093/1.455, allocations: 67.58 kB / 1.209 GB, free: 5.68 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001678/1.456, allocations: 44.5 kB / 1.209 GB, free: 5.637 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002022/1.458, allocations: 1.656 MB / 1.211 GB, free: 3.852 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-06/1.458, allocations: 8.922 kB / 1.211 GB, free: 3.844 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005455/1.463, allocations: 3.269 MB / 1.214 GB, free: 0.5586 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00126/1.464, allocations: 0.517 MB / 1.215 GB, free: 20 kB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006941/1.465, allocations: 27.95 kB / 1.215 GB, free: 15.99 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001375/1.467, allocations: 91.05 kB / 1.215 GB, free: 15.91 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002299/1.467, allocations: 88.89 kB / 1.215 GB, free: 15.82 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000153/1.467, allocations: 60.72 kB / 1.215 GB, free: 15.76 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.01236/1.479, allocations: 12.74 MB / 1.228 GB, free: 3.016 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.412e-06/1.479, allocations: 0 / 1.228 GB, free: 3.016 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.006622/1.486, allocations: 1.709 MB / 1.229 GB, free: 1.32 MB / 0.9669 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.003201/1.489, allocations: 0.9636 MB / 1.23 GB, free: 0.6172 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.4059/1.895, allocations: 51.56 MB / 1.28 GB, free: 453.8 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 9.658e-06/1.895, allocations: 0 / 1.28 GB, free: 453.8 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.002556/1.898, allocations: 2.653 MB / 1.283 GB, free: 451.9 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002601/1.9, allocations: 458.7 kB / 1.284 GB, free: 451.6 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02161/1.922, allocations: 21.02 MB / 1.304 GB, free: 431.7 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004999/1.927, allocations: 4.613 MB / 1.309 GB, free: 427 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.002245/1.929, allocations: 0.6295 MB / 1.309 GB, free: 426.4 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005338/1.93, allocations: 211.4 kB / 1.309 GB, free: 426.2 MB / 0.9981 GB Notification: Performance of SimCode: time 8.92e-07/1.93, allocations: 0 / 1.309 GB, free: 426.2 MB / 0.9981 GB Notification: Performance of Templates: time 0.1602/2.09, allocations: 58 MB / 1.366 GB, free: 368.6 MB / 0.9981 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)