Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.ThermalZones.Detailed.Examples.ElectroChromicWindow.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.ThermalZones.Detailed.Examples.ElectroChromicWindow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.ThermalZones.Detailed.Examples.ElectroChromicWindow") translateModel(Buildings.ThermalZones.Detailed.Examples.ElectroChromicWindow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.ThermalZones.Detailed.Examples.ElectroChromicWindow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.559/1.559, allocations: 288.4 MB / 304.3 MB, free: 8.137 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.001119/0.001119, allocations: 187.8 kB / 372.9 MB, free: 10.16 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.311/1.311, allocations: 205.4 MB / 0.6316 GB, free: 9.895 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.0008148/0.0008147, allocations: 94.3 kB / 0.745 GB, free: 5.801 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003424/0.0003424, allocations: 10.19 kB / 0.8681 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1695/0.1698, allocations: 115.3 MB / 0.9807 GB, free: 27.38 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.Examples.ElectroChromicWindow): time 0.564/0.7339, allocations: 209 MB / 1.185 GB, free: 272 kB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.05177/0.7857, allocations: 33.49 MB / 1.217 GB, free: 4.984 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01175/0.7975, allocations: 241.2 kB / 1.218 GB, free: 4.887 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.01675/0.8143, allocations: 6.491 MB / 1.224 GB, free: 0.9727 MB / 0.7448 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.0162/0.8305, allocations: 4.831 MB / 1.229 GB, free: 12.52 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.01209/0.8426, allocations: 3.508 MB / 1.232 GB, free: 9.035 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.07114/0.9137, allocations: 62.72 MB / 1.293 GB, free: 10.24 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0238/0.9376, allocations: 14.28 MB / 1.307 GB, free: 11.83 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.04072/0.9783, allocations: 25.62 MB / 1.332 GB, free: 2.156 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02178/1, allocations: 13.24 MB / 1.345 GB, free: 4.871 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 0.007205/1.007, allocations: 1.184 MB / 1.347 GB, free: 3.688 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01576/1.023, allocations: 5.122 MB / 1.352 GB, free: 14.55 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 0.01549/1.039, allocations: 9.859 MB / 1.361 GB, free: 4.672 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 0.0248/1.064, allocations: 12.25 MB / 1.373 GB, free: 8.352 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.04176/1.105, allocations: 40.63 MB / 1.413 GB, free: 15.63 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/1.105, allocations: 4 kB / 1.413 GB, free: 15.63 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.315e-06/1.105, allocations: 0 / 1.413 GB, free: 15.63 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.001373/1.107, allocations: 3.938 kB / 1.413 GB, free: 15.62 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1636 * Number of variables: 1636 Notification: Performance of Generate backend data structure: time 0.7646/1.871, allocations: 28.79 MB / 1.441 GB, free: 303.5 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.704e-05/1.872, allocations: 9.094 kB / 1.441 GB, free: 303.5 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03495/1.906, allocations: 6.975 MB / 1.448 GB, free: 301.9 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06835/1.975, allocations: 42.06 MB / 1.489 GB, free: 279.8 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001066/1.976, allocations: 1.366 MB / 1.49 GB, free: 278.3 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003729/1.98, allocations: 0.9215 MB / 1.491 GB, free: 277.4 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02506/2.005, allocations: 13.01 MB / 1.504 GB, free: 264.1 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001168/2.005, allocations: 15.88 kB / 1.504 GB, free: 264.1 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008604/2.006, allocations: 267.4 kB / 1.504 GB, free: 263.8 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001555/2.006, allocations: 239.7 kB / 1.504 GB, free: 263.6 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02311/2.029, allocations: 13.05 MB / 1.517 GB, free: 250.6 MB / 0.948 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.13/2.159, allocations: 84.64 MB / 1.6 GB, free: 164.2 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01718/2.176, allocations: 10.02 MB / 1.609 GB, free: 154.2 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01135/2.188, allocations: 7.286 MB / 1.617 GB, free: 146.9 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001036/2.189, allocations: 0.8353 MB / 1.617 GB, free: 145.9 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01054/2.199, allocations: 6.319 MB / 1.624 GB, free: 139.6 MB / 0.948 GB Notification: Performance of pre-optimization done (n=469): time 8.256e-06/2.199, allocations: 3.938 kB / 1.624 GB, free: 139.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=469): time 0.05845/2.258, allocations: 26.36 MB / 1.649 GB, free: 112.9 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000214/2.258, allocations: 391.3 kB / 1.65 GB, free: 112.4 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1101/2.368, allocations: 64.04 MB / 1.712 GB, free: 48.59 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.002521/2.371, allocations: 237.7 kB / 1.712 GB, free: 48.35 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.01703/2.388, allocations: 11.43 MB / 1.724 GB, free: 36.96 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0029/2.391, allocations: 1.648 MB / 1.725 GB, free: 35.32 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002211/2.393, allocations: 232 kB / 1.725 GB, free: 35.09 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.00122/2.394, allocations: 0.8282 MB / 1.726 GB, free: 34.26 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02606/2.42, allocations: 23.07 MB / 1.749 GB, free: 11.17 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03298/2.453, allocations: 27.51 MB / 1.776 GB, free: 13.84 MB / 0.9793 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.7868/3.24, allocations: 34.09 MB / 1.809 GB, free: 333.3 MB / 0.995 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001138/3.24, allocations: 35.62 kB / 1.809 GB, free: 333.3 MB / 0.995 GB Notification: Performance of matching and sorting (n=1465) (initialization): time 0.08185/3.322, allocations: 55.56 MB / 1.863 GB, free: 316.7 MB / 0.995 GB Notification: Performance of prepare postOptimizeDAE: time 0.001879/3.324, allocations: 4.209 MB / 1.867 GB, free: 311.2 MB / 0.995 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03809/3.362, allocations: 21.76 MB / 1.889 GB, free: 292 MB / 0.995 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1066/3.469, allocations: 36.73 MB / 1.924 GB, free: 255.2 MB / 0.995 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0153/3.484, allocations: 3.29 MB / 1.928 GB, free: 251.9 MB / 0.995 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02267/3.507, allocations: 30.22 MB / 1.957 GB, free: 219.7 MB / 0.995 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02376/3.531, allocations: 3.026 MB / 1.96 GB, free: 217.4 MB / 0.995 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003248/3.534, allocations: 0.5694 MB / 1.961 GB, free: 216.8 MB / 0.995 GB Notification: Performance of prepare postOptimizeDAE: time 1.234e-05/3.534, allocations: 4 kB / 1.961 GB, free: 216.8 MB / 0.995 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.06578/3.6, allocations: 53.22 MB / 2.013 GB, free: 163.5 MB / 0.995 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.04096/3.641, allocations: 22.15 MB / 2.034 GB, free: 141.2 MB / 0.995 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007954/3.649, allocations: 3.023 MB / 2.037 GB, free: 138.2 MB / 0.995 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01493/3.664, allocations: 3.259 MB / 2.04 GB, free: 134.9 MB / 0.995 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02694/3.691, allocations: 32.11 MB / 2.072 GB, free: 101.4 MB / 0.995 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.023/3.714, allocations: 2.71 MB / 2.074 GB, free: 98.8 MB / 0.995 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003017/3.717, allocations: 0.5652 MB / 2.075 GB, free: 98.23 MB / 0.995 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 578 * Number of states: 0 () * Number of discrete variables: 25 ($whenCondition3,$whenCondition2,$whenCondition1,$PRE.weaDat1.conTimMin.tNext,weaDat1.conTimMin.tNext,$PRE.weaDat1.conTim.tNext,weaDat1.conTim.tNext,$PRE.nPer.T_start,nPer.T_start,$PRE.nPer.count,nPer.count,roo.solRadExc.isFlo[1],roo.solRadExc.isFlo[2],roo.solRadExc.isFlo[3],roo.solRadExc.isFlo[4],roo.solRadExc.isFlo[5],roo.solRadExc.isFlo[6],roo.solRadExc.isFlo[7],roo.solRadExc.isFlo[8],roo.solRadExc.isFlo[9],roo.solRadExc.isFlo[10],roo.solRadExc.isFlo[11],roo.solRadExc.isFlo[12],weaDat1.conTimMin.canRepeatWeatherFile,weaDat1.conTim.canRepeatWeatherFile) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1357): * Single equations (assignments): 1338 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 5 {1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 10 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 2 {14 53,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.01901/3.736, allocations: 14.13 MB / 2.089 GB, free: 84.08 MB / 0.995 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006967/3.743, allocations: 2.348 MB / 2.091 GB, free: 81.7 MB / 0.995 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03605/3.779, allocations: 17.92 MB / 2.109 GB, free: 63.7 MB / 0.995 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02675/3.806, allocations: 14.38 MB / 2.123 GB, free: 49.23 MB / 0.995 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.02529/3.831, allocations: 13.58 MB / 2.136 GB, free: 35.59 MB / 0.995 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01835/3.849, allocations: 6.513 MB / 2.142 GB, free: 29.03 MB / 0.995 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.01015/3.86, allocations: 135.9 kB / 2.142 GB, free: 28.89 MB / 0.995 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01679/3.876, allocations: 1.388 MB / 2.144 GB, free: 27.5 MB / 0.995 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001401/3.878, allocations: 307.1 kB / 2.144 GB, free: 27.2 MB / 0.995 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.04279/3.921, allocations: 18.83 MB / 2.162 GB, free: 8.359 MB / 0.995 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.043/3.964, allocations: 22.79 MB / 2.185 GB, free: 1.492 MB / 1.011 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.4441/4.408, allocations: 7.248 MB / 2.192 GB, free: 330.8 MB / 1.011 GB Notification: Performance of sorting global known variables: time 0.07425/4.482, allocations: 43.44 MB / 2.234 GB, free: 318.1 MB / 1.011 GB Notification: Performance of Backend: time 1.643e-06/4.482, allocations: 0 / 2.234 GB, free: 318.1 MB / 1.011 GB Notification: Performance of simCode: created initialization part: time 0.09245/4.575, allocations: 60.68 MB / 2.293 GB, free: 275.4 MB / 1.011 GB Notification: Performance of SimCode: time 0.1385/4.713, allocations: 95.9 MB / 2.387 GB, free: 181 MB / 1.011 GB Notification: Performance of Templates: time 1.064/5.777, allocations: 0.5015 GB / 2.889 GB, free: 56.73 MB / 1.026 GB make -j1 -f Buildings_maint.8.0.x_Buildings.ThermalZones.Detailed.Examples.ElectroChromicWindow.makefile (rm -f Buildings_maint.8.0.x_Buildings.ThermalZones.Detailed.Examples.ElectroChromicWindow.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.ThermalZones.Detailed.Examples.ElectroChromicWindow.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.ThermalZones.Detailed.Examples.ElectroChromicWindow.pipe >> ../files/Buildings_maint.8.0.x_Buildings.ThermalZones.Detailed.Examples.ElectroChromicWindow.sim & ./Buildings_maint.8.0.x_Buildings.ThermalZones.Detailed.Examples.ElectroChromicWindow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.ThermalZones.Detailed.Examples.ElectroChromicWindow.pipe 2>&1)