Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.ThermalZones.Detailed.Examples.ElectroChromicWindow.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.ThermalZones.Detailed.Examples.ElectroChromicWindow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.ThermalZones.Detailed.Examples.ElectroChromicWindow") translateModel(Buildings.ThermalZones.Detailed.Examples.ElectroChromicWindow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.ThermalZones.Detailed.Examples.ElectroChromicWindow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.294/1.294, allocations: 251.5 MB / 267.4 MB, free: 11.05 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.0009043/0.0009043, allocations: 180.7 kB / 326.5 MB, free: 2.664 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.397/1.397, allocations: 205 MB / 0.5766 GB, free: 20.98 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.0007652/0.0007653, allocations: 102.2 kB / 0.6804 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003713/0.0003712, allocations: 13.86 kB / 0.7938 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1506/0.151, allocations: 105.4 MB / 0.8967 GB, free: 68.17 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.Examples.ElectroChromicWindow): time 0.5343/0.6853, allocations: 227.3 MB / 1.119 GB, free: 1.488 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.04851/0.7339, allocations: 40.56 MB / 1.158 GB, free: 14.77 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01227/0.7462, allocations: 258.9 kB / 1.159 GB, free: 14.77 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.01734/0.7635, allocations: 6.933 MB / 1.165 GB, free: 12.56 MB / 0.7136 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.01695/0.7805, allocations: 5.323 MB / 1.171 GB, free: 9.871 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0128/0.7933, allocations: 4.723 MB / 1.175 GB, free: 6.477 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.05998/0.8533, allocations: 58.69 MB / 1.232 GB, free: 3.07 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01922/0.8726, allocations: 14.28 MB / 1.246 GB, free: 4.809 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03834/0.9109, allocations: 22.94 MB / 1.269 GB, free: 14.09 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0201/0.9311, allocations: 13.63 MB / 1.282 GB, free: 0.793 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 0.00651/0.9376, allocations: 1.18 MB / 1.283 GB, free: 15.61 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0151/0.9527, allocations: 5.272 MB / 1.288 GB, free: 10.53 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.01217/0.9649, allocations: 9.802 MB / 1.298 GB, free: 0.7422 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.02142/0.9864, allocations: 12.82 MB / 1.31 GB, free: 3.895 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.04986/1.036, allocations: 46.73 MB / 1.356 GB, free: 6.039 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/1.036, allocations: 0 / 1.356 GB, free: 6.039 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.285e-06/1.036, allocations: 4 kB / 1.356 GB, free: 6.035 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.001254/1.038, allocations: 0 / 1.356 GB, free: 6.035 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1640 * Number of variables: 1640 Notification: Performance of Generate backend data structure: time 0.06077/1.098, allocations: 28.79 MB / 1.384 GB, free: 9.246 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 5.001e-05/1.098, allocations: 8.031 kB / 1.384 GB, free: 9.238 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03303/1.131, allocations: 6.985 MB / 1.391 GB, free: 2.215 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.6912/1.823, allocations: 42.05 MB / 1.432 GB, free: 328.2 MB / 0.9324 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009803/1.824, allocations: 1.37 MB / 1.433 GB, free: 327.1 MB / 0.9324 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003197/1.827, allocations: 0.9164 MB / 1.434 GB, free: 326.8 MB / 0.9324 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.024/1.851, allocations: 13.08 MB / 1.447 GB, free: 321.2 MB / 0.9324 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001202/1.851, allocations: 15.78 kB / 1.447 GB, free: 321.2 MB / 0.9324 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007271/1.852, allocations: 269.2 kB / 1.447 GB, free: 321 MB / 0.9324 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001533/1.852, allocations: 241 kB / 1.448 GB, free: 321 MB / 0.9324 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02258/1.875, allocations: 13.1 MB / 1.46 GB, free: 314.5 MB / 0.9324 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.1191/1.994, allocations: 84.68 MB / 1.543 GB, free: 231.9 MB / 0.9324 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01656/2.01, allocations: 9.939 MB / 1.553 GB, free: 222 MB / 0.9324 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01092/2.021, allocations: 7.293 MB / 1.56 GB, free: 214.7 MB / 0.9324 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001049/2.022, allocations: 0.8348 MB / 1.561 GB, free: 213.7 MB / 0.9324 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00976/2.032, allocations: 6.342 MB / 1.567 GB, free: 207.3 MB / 0.9324 GB Notification: Performance of pre-optimization done (n=469): time 7.404e-06/2.032, allocations: 0 / 1.567 GB, free: 207.3 MB / 0.9324 GB Notification: Performance of matching and sorting (n=469): time 0.05144/2.084, allocations: 26.37 MB / 1.593 GB, free: 180.6 MB / 0.9324 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001778/2.084, allocations: 395.3 kB / 1.593 GB, free: 180.2 MB / 0.9324 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.09753/2.181, allocations: 64.26 MB / 1.656 GB, free: 116.1 MB / 0.9324 GB Notification: Performance of collectPreVariables (initialization): time 0.002355/2.184, allocations: 237.7 kB / 1.656 GB, free: 115.9 MB / 0.9324 GB Notification: Performance of collectInitialEqns (initialization): time 0.01367/2.197, allocations: 11.43 MB / 1.667 GB, free: 104.5 MB / 0.9324 GB Notification: Performance of collectInitialBindings (initialization): time 0.002365/2.2, allocations: 1.666 MB / 1.669 GB, free: 102.8 MB / 0.9324 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004834/2.205, allocations: 5.843 MB / 1.675 GB, free: 96.96 MB / 0.9324 GB Notification: Performance of setup shared object (initialization): time 3.658e-05/2.205, allocations: 305.1 kB / 1.675 GB, free: 96.66 MB / 0.9324 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.04078/2.246, allocations: 52.21 MB / 1.726 GB, free: 44.44 MB / 0.9324 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.6894/2.935, allocations: 57.11 MB / 1.782 GB, free: 310.5 MB / 0.9325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.06288/2.998, allocations: 69.66 MB / 1.85 GB, free: 270.8 MB / 0.9325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001897/2.998, allocations: 36 kB / 1.85 GB, free: 270.7 MB / 0.9325 GB Notification: Performance of matching and sorting (n=2890) (initialization): time 0.1202/3.118, allocations: 125.3 MB / 1.972 GB, free: 151.5 MB / 0.9325 GB Notification: Performance of prepare postOptimizeDAE: time 0.002042/3.12, allocations: 3.924 MB / 1.976 GB, free: 145.9 MB / 0.9325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.08274/3.203, allocations: 86.87 MB / 2.061 GB, free: 59.04 MB / 0.9325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1008/3.304, allocations: 36.78 MB / 2.097 GB, free: 22.25 MB / 0.9325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01445/3.318, allocations: 3.198 MB / 2.1 GB, free: 19.05 MB / 0.9325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3885/3.707, allocations: 30.19 MB / 2.129 GB, free: 294.8 MB / 0.9325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02367/3.731, allocations: 3.045 MB / 2.132 GB, free: 294.7 MB / 0.9325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003405/3.734, allocations: 0.5533 MB / 2.133 GB, free: 294.7 MB / 0.9325 GB Notification: Performance of prepare postOptimizeDAE: time 1.184e-05/3.734, allocations: 5.906 kB / 2.133 GB, free: 294.7 MB / 0.9325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.1164/3.851, allocations: 122.8 MB / 2.253 GB, free: 209.2 MB / 0.9325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0817/3.932, allocations: 87.08 MB / 2.338 GB, free: 122.2 MB / 0.9325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007315/3.94, allocations: 3.003 MB / 2.341 GB, free: 119.2 MB / 0.9325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0135/3.953, allocations: 3.172 MB / 2.344 GB, free: 116.1 MB / 0.9325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02542/3.979, allocations: 32.1 MB / 2.375 GB, free: 82.62 MB / 0.9325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02142/4, allocations: 2.728 MB / 2.378 GB, free: 80.15 MB / 0.9325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002825/4.003, allocations: 0.5489 MB / 2.378 GB, free: 79.61 MB / 0.9325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 526 * Number of states: 0 () * Number of discrete variables: 25 (weaDat1.conTim.canRepeatWeatherFile,weaDat1.conTimMin.canRepeatWeatherFile,roo.solRadExc.isFlo[12],roo.solRadExc.isFlo[11],roo.solRadExc.isFlo[10],roo.solRadExc.isFlo[9],roo.solRadExc.isFlo[8],roo.solRadExc.isFlo[7],roo.solRadExc.isFlo[6],roo.solRadExc.isFlo[5],roo.solRadExc.isFlo[4],roo.solRadExc.isFlo[3],roo.solRadExc.isFlo[2],roo.solRadExc.isFlo[1],nPer.count,$PRE.nPer.count,nPer.T_start,$PRE.nPer.T_start,weaDat1.conTim.tNext,$PRE.weaDat1.conTim.tNext,weaDat1.conTimMin.tNext,$PRE.weaDat1.conTimMin.tNext,$whenCondition1,$whenCondition2,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1357): * Single equations (assignments): 1299 * Array equations: 39 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 5 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 5 systems {1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 10 systems {(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,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(14,53), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.01888/4.022, allocations: 14.1 MB / 2.392 GB, free: 65.48 MB / 0.9325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007477/4.029, allocations: 2.352 MB / 2.394 GB, free: 64.4 MB / 0.9325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0362/4.066, allocations: 17.95 MB / 2.412 GB, free: 46.39 MB / 0.9325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0245/4.09, allocations: 14.4 MB / 2.426 GB, free: 31.91 MB / 0.9325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.02273/4.113, allocations: 13.59 MB / 2.439 GB, free: 18.25 MB / 0.9325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01509/4.128, allocations: 6.42 MB / 2.445 GB, free: 11.78 MB / 0.9325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007727/4.136, allocations: 143.9 kB / 2.446 GB, free: 11.64 MB / 0.9325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01509/4.151, allocations: 1.407 MB / 2.447 GB, free: 10.23 MB / 0.9325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001262/4.152, allocations: 283.2 kB / 2.447 GB, free: 9.953 MB / 0.9325 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.04251/4.195, allocations: 18.86 MB / 2.466 GB, free: 7.09 MB / 0.9482 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.4152/4.61, allocations: 22.83 MB / 2.488 GB, free: 309.7 MB / 0.9482 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.01005/4.62, allocations: 7.269 MB / 2.495 GB, free: 308.6 MB / 0.9482 GB Notification: Performance of sorting global known variables: time 0.05577/4.676, allocations: 43.65 MB / 2.538 GB, free: 294.8 MB / 0.9482 GB Notification: Performance of Backend: time 1.072e-06/4.676, allocations: 0 / 2.538 GB, free: 294.8 MB / 0.9482 GB Notification: Performance of simCode: created initialization part: time 0.1248/4.801, allocations: 135.6 MB / 2.67 GB, free: 161.8 MB / 0.9482 GB Notification: Performance of SimCode: time 0.1237/4.924, allocations: 85.19 MB / 2.753 GB, free: 77.55 MB / 0.9482 GB Notification: Performance of Templates: time 1.391/6.315, allocations: 0.5057 GB / 3.259 GB, free: 283.4 MB / 0.9794 GB make -j1 -f Buildings_maint.7.0.x_Buildings.ThermalZones.Detailed.Examples.ElectroChromicWindow.makefile (rm -f Buildings_maint.7.0.x_Buildings.ThermalZones.Detailed.Examples.ElectroChromicWindow.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.ThermalZones.Detailed.Examples.ElectroChromicWindow.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.ThermalZones.Detailed.Examples.ElectroChromicWindow.pipe >> ../files/Buildings_maint.7.0.x_Buildings.ThermalZones.Detailed.Examples.ElectroChromicWindow.sim & ./Buildings_maint.7.0.x_Buildings.ThermalZones.Detailed.Examples.ElectroChromicWindow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.ThermalZones.Detailed.Examples.ElectroChromicWindow.pipe 2>&1)