Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.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.HeatTransfer.Windows.Examples.ElectrochromicWindow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.Examples.ElectrochromicWindow") translateModel(Buildings.HeatTransfer.Windows.Examples.ElectrochromicWindow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.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.571/1.571, allocations: 288.4 MB / 304.3 MB, free: 8.148 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.0009795/0.0009796, allocations: 179.5 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.34/1.34, allocations: 205.4 MB / 0.6316 GB, free: 9.941 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.0007456/0.000746, allocations: 106.7 kB / 0.745 GB, free: 5.836 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003504/0.0003505, allocations: 11.69 kB / 0.8681 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1723/0.1727, allocations: 115.3 MB / 0.9807 GB, free: 27.39 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.ElectrochromicWindow): time 0.009457/0.1822, allocations: 11.67 MB / 0.9921 GB, free: 15.67 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.5329/0.7151, allocations: 144.9 MB / 1.134 GB, free: 1.648 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002957/0.7181, allocations: 56.81 kB / 1.134 GB, free: 1.629 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.005887/0.724, allocations: 2.069 MB / 1.136 GB, free: 1.207 MB / 0.6823 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.004045/0.7281, allocations: 1.195 MB / 1.137 GB, free: 0.8086 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.004926/0.733, allocations: 1.564 MB / 1.138 GB, free: 500 kB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.007431/0.7405, allocations: 6.3 MB / 1.145 GB, free: 15.35 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003586/0.7441, allocations: 1.789 MB / 1.146 GB, free: 14.76 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003822/0.748, allocations: 1.676 MB / 1.148 GB, free: 14.12 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003928/0.7519, allocations: 1.725 MB / 1.15 GB, free: 13.36 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.001386/0.7533, allocations: 118.6 kB / 1.15 GB, free: 13.36 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006208/0.7596, allocations: 2.285 MB / 1.152 GB, free: 12.67 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.00505/0.7647, allocations: 4.444 MB / 1.156 GB, free: 11.7 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.004565/0.7692, allocations: 1.814 MB / 1.158 GB, free: 10.79 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.009657/0.7789, allocations: 6.069 MB / 1.164 GB, free: 6.82 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/0.779, allocations: 0 / 1.164 GB, free: 6.82 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.325e-06/0.779, allocations: 0 / 1.164 GB, free: 6.82 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0002943/0.7793, allocations: 0 / 1.164 GB, free: 6.82 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: 569 * Number of variables: 569 Notification: Performance of Generate backend data structure: time 0.01051/0.7898, allocations: 4.554 MB / 1.168 GB, free: 3.609 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.285e-05/0.7899, allocations: 10.22 kB / 1.168 GB, free: 3.605 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01571/0.8056, allocations: 2.535 MB / 1.171 GB, free: 2.531 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02767/0.8333, allocations: 14.7 MB / 1.185 GB, free: 8.223 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002355/0.8336, allocations: 216.2 kB / 1.185 GB, free: 8.008 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009456/0.8345, allocations: 288 kB / 1.186 GB, free: 7.727 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007604/0.8421, allocations: 3.718 MB / 1.189 GB, free: 3.875 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.725e-05/0.8422, allocations: 4 kB / 1.189 GB, free: 3.871 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002453/0.8425, allocations: 91.98 kB / 1.189 GB, free: 3.781 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.583e-05/0.8425, allocations: 52 kB / 1.189 GB, free: 3.73 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007171/0.8497, allocations: 3.587 MB / 1.193 GB, free: 128 kB / 0.7136 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.02717/0.8769, allocations: 21.64 MB / 1.214 GB, free: 9.777 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006865/0.8838, allocations: 3.145 MB / 1.217 GB, free: 6.617 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004392/0.8882, allocations: 2.158 MB / 1.219 GB, free: 4.449 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004855/0.8888, allocations: 433.6 kB / 1.22 GB, free: 3.953 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004575/0.8933, allocations: 2.241 MB / 1.222 GB, free: 1.688 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=173): time 4.107e-06/0.8934, allocations: 0 / 1.222 GB, free: 1.688 MB / 0.7448 GB Notification: Performance of matching and sorting (n=173): time 0.02185/0.9152, allocations: 8.012 MB / 1.23 GB, free: 9.598 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002375/0.9155, allocations: 422.2 kB / 1.23 GB, free: 9.125 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03028/0.9458, allocations: 21.47 MB / 1.251 GB, free: 3.633 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 0.00072/0.9465, allocations: 89.7 kB / 1.251 GB, free: 3.539 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.001693/0.9482, allocations: 1.615 MB / 1.253 GB, free: 1.91 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006312/0.9489, allocations: 0.5854 MB / 1.253 GB, free: 1.316 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002847/0.9492, allocations: 75.94 kB / 1.253 GB, free: 1.242 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002279/0.9494, allocations: 469.9 kB / 1.254 GB, free: 0.7773 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0144/0.9638, allocations: 13.66 MB / 1.267 GB, free: 3.109 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01554/0.9794, allocations: 14.8 MB / 1.282 GB, free: 3.824 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02034/0.9998, allocations: 17.06 MB / 1.298 GB, free: 2.266 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.831e-05/0.9998, allocations: 8 kB / 1.298 GB, free: 2.258 MB / 0.823 GB Notification: Performance of matching and sorting (n=477) (initialization): time 0.03607/1.036, allocations: 30.02 MB / 1.328 GB, free: 4.176 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008202/1.037, allocations: 1.253 MB / 1.329 GB, free: 2.453 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01648/1.053, allocations: 6.878 MB / 1.336 GB, free: 11.52 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04603/1.099, allocations: 5.471 MB / 1.341 GB, free: 6.035 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004994/1.104, allocations: 0.9438 MB / 1.342 GB, free: 5.09 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007867/1.112, allocations: 6.36 MB / 1.348 GB, free: 14.29 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005131/1.117, allocations: 0.6205 MB / 1.349 GB, free: 13.67 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004765/1.118, allocations: 211.9 kB / 1.349 GB, free: 13.46 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 8.676e-06/1.118, allocations: 4.938 kB / 1.349 GB, free: 13.46 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0339/1.152, allocations: 29.73 MB / 1.378 GB, free: 15.68 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01515/1.167, allocations: 6.722 MB / 1.384 GB, free: 8.906 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00173/1.169, allocations: 0.5393 MB / 1.385 GB, free: 8.359 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005362/1.174, allocations: 0.9906 MB / 1.386 GB, free: 7.367 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008449/1.183, allocations: 8.348 MB / 1.394 GB, free: 14.47 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005136/1.188, allocations: 0.5166 MB / 1.395 GB, free: 13.95 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000684/1.188, allocations: 211.9 kB / 1.395 GB, free: 13.75 MB / 0.9323 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 150 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (413): * Single equations (assignments): 408 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 6} * Non-linear torn systems: 2 {6 22,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.003483/1.192, allocations: 2.833 MB / 1.398 GB, free: 10.89 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007175/1.193, allocations: 347.3 kB / 1.398 GB, free: 10.55 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01442/1.207, allocations: 6.119 MB / 1.404 GB, free: 4.391 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.84e-05/1.207, allocations: 7.969 kB / 1.404 GB, free: 4.383 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.03419/1.241, allocations: 6.612 MB / 1.41 GB, free: 13.75 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002117/1.244, allocations: 0.8822 MB / 1.411 GB, free: 12.84 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004707/1.244, allocations: 39.98 kB / 1.411 GB, free: 12.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002614/1.247, allocations: 254.4 kB / 1.411 GB, free: 12.56 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002727/1.247, allocations: 125.1 kB / 1.412 GB, free: 12.44 MB / 0.948 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01752/1.264, allocations: 6.436 MB / 1.418 GB, free: 5.957 MB / 0.948 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.01507/1.28, allocations: 7.519 MB / 1.425 GB, free: 14.41 MB / 0.9636 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004655/1.284, allocations: 2.873 MB / 1.428 GB, free: 11.54 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.3689/1.653, allocations: 13.39 MB / 1.441 GB, free: 355.9 MB / 0.9636 GB Notification: Performance of Backend: time 1.092e-06/1.653, allocations: 0 / 1.441 GB, free: 355.9 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.04332/1.697, allocations: 34.36 MB / 1.475 GB, free: 345.8 MB / 0.9636 GB Notification: Performance of SimCode: time 0.03499/1.732, allocations: 34.08 MB / 1.508 GB, free: 322.9 MB / 0.9636 GB Notification: Performance of Templates: time 0.1692/1.901, allocations: 124.4 MB / 1.629 GB, free: 200.8 MB / 0.9636 GB make -j1 -f Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.Examples.ElectrochromicWindow.makefile (rm -f Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.Examples.ElectrochromicWindow.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.Examples.ElectrochromicWindow.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.Examples.ElectrochromicWindow.pipe >> ../files/Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.Examples.ElectrochromicWindow.sim & ./Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.Examples.ElectrochromicWindow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.Examples.ElectrochromicWindow.pipe 2>&1)