Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.ThermalZones.Detailed.Examples.ElectroChromicWindow.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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.ThermalZones.Detailed.Examples.ElectroChromicWindow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.ThermalZones.Detailed.Examples.ElectroChromicWindow") translateModel(Buildings.ThermalZones.Detailed.Examples.ElectroChromicWindow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.ThermalZones.Detailed.Examples.ElectroChromicWindow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001064/0.001064, allocations: 113.4 kB / 16.38 MB, free: 6.02 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.001205/0.001206, allocations: 188.4 kB / 17.31 MB, free: 5.613 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.3/1.3, allocations: 205.1 MB / 223.2 MB, free: 12.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.762/1.762, allocations: 292.3 MB / 0.5496 GB, free: 17.55 MB / 462.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.001572/0.001572, allocations: 67.91 kB / 0.6729 GB, free: 5.883 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1853/0.1868, allocations: 114.6 MB / 0.7848 GB, free: 3.215 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.Examples.ElectroChromicWindow): time 0.5798/0.7667, allocations: 230.4 MB / 1.01 GB, free: 3.426 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.06389/0.8306, allocations: 40.25 MB / 1.049 GB, free: 11.07 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01118/0.8418, allocations: 318.1 kB / 1.049 GB, free: 10.76 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0182/0.8601, allocations: 7.255 MB / 1.057 GB, free: 3.469 MB / 0.8419 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:216:3-259:11:writable] Warning: Pure function 'Modelica.Utilities.Strings.find' contains a call to impure function 'Modelica.Utilities.Strings.length'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4-maint.8.1.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.1.4-maint.8.1.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.1.4-maint.8.1.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'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.01784/0.878, allocations: 5.754 MB / 1.062 GB, free: 13.7 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.01465/0.8927, allocations: 5.249 MB / 1.067 GB, free: 8.469 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.05186/0.9446, allocations: 47.65 MB / 1.114 GB, free: 8.777 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02594/0.9705, allocations: 17.57 MB / 1.131 GB, free: 7.156 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.8691/1.84, allocations: 19.61 MB / 1.15 GB, free: 35.89 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03262/1.872, allocations: 14.86 MB / 1.165 GB, free: 33.71 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.01201/1.884, allocations: 2.657 MB / 1.167 GB, free: 33.71 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02251/1.907, allocations: 6.738 MB / 1.174 GB, free: 33.71 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.01811/1.925, allocations: 11.55 MB / 1.185 GB, free: 32.66 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.02909/1.954, allocations: 14.79 MB / 1.2 GB, free: 28.54 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.05126/2.005, allocations: 48.95 MB / 1.247 GB, free: 18.45 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 6.702e-06/2.006, allocations: 0 / 1.247 GB, free: 18.45 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.743e-06/2.006, allocations: 1 kB / 1.247 GB, free: 18.45 MB / 0.92 GB Notification: Performance of Transformations before backend: time 0.00131/2.007, allocations: 0 / 1.247 GB, free: 18.45 MB / 0.92 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.09102/2.098, allocations: 33.46 MB / 1.28 GB, free: 1.516 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.874e-05/2.098, allocations: 8.031 kB / 1.28 GB, free: 1.508 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03649/2.134, allocations: 7.133 MB / 1.287 GB, free: 10.42 MB / 0.9357 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07491/2.209, allocations: 43.25 MB / 1.329 GB, free: 15.95 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001222/2.211, allocations: 1.363 MB / 1.331 GB, free: 14.43 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004663/2.215, allocations: 0.9094 MB / 1.331 GB, free: 13.52 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03164/2.247, allocations: 13.05 MB / 1.344 GB, free: 216 kB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001532/2.247, allocations: 21.38 kB / 1.344 GB, free: 204 kB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001384/2.249, allocations: 271 kB / 1.344 GB, free: 15.95 MB / 0.9982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002032/2.249, allocations: 241.5 kB / 1.345 GB, free: 15.72 MB / 0.9982 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02934/2.278, allocations: 13.05 MB / 1.357 GB, free: 2.734 MB / 0.9982 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.1542/2.432, allocations: 82.44 MB / 1.438 GB, free: 14.94 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02097/2.453, allocations: 10.03 MB / 1.448 GB, free: 4.906 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01397/2.467, allocations: 7.128 MB / 1.455 GB, free: 13.78 MB / 1.108 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001392/2.469, allocations: 0.8363 MB / 1.455 GB, free: 12.81 MB / 1.108 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0135/2.482, allocations: 6.33 MB / 1.462 GB, free: 6.461 MB / 1.108 GB Notification: Performance of pre-optimization done (n=469): time 8.116e-06/2.482, allocations: 0 / 1.462 GB, free: 6.461 MB / 1.108 GB Notification: Performance of matching and sorting (n=469): time 0.06716/2.55, allocations: 26.36 MB / 1.487 GB, free: 11.79 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002873/2.55, allocations: 399.3 kB / 1.488 GB, free: 11.35 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.5254/3.075, allocations: 63.2 MB / 1.55 GB, free: 477.9 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 0.004613/3.08, allocations: 229.7 kB / 1.55 GB, free: 477.8 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.02165/3.102, allocations: 11.43 MB / 1.561 GB, free: 477 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.003733/3.105, allocations: 1.664 MB / 1.563 GB, free: 476.7 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01782/3.123, allocations: 7.559 MB / 1.57 GB, free: 473.6 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 4.088e-05/3.123, allocations: 307.3 kB / 1.57 GB, free: 473.3 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0583/3.182, allocations: 52.31 MB / 1.621 GB, free: 454.7 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0562/3.238, allocations: 57.13 MB / 1.677 GB, free: 431.1 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.06846/3.306, allocations: 69.71 MB / 1.745 GB, free: 366.5 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001626/3.307, allocations: 32 kB / 1.745 GB, free: 366.5 MB / 1.186 GB Notification: Performance of matching and sorting (n=2890) (initialization): time 0.134/3.441, allocations: 125.4 MB / 1.868 GB, free: 246.7 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003203/3.441, allocations: 300 kB / 1.868 GB, free: 246.4 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.08813/3.529, allocations: 86.93 MB / 1.953 GB, free: 159.2 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1106/3.64, allocations: 37.06 MB / 1.989 GB, free: 122.3 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01588/3.656, allocations: 3.225 MB / 1.992 GB, free: 119 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02424/3.68, allocations: 32 MB / 2.023 GB, free: 84.81 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02461/3.705, allocations: 2.91 MB / 2.026 GB, free: 81.89 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00357/3.708, allocations: 0.5544 MB / 2.027 GB, free: 81.34 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0654/3.774, allocations: 65.49 MB / 2.091 GB, free: 15.82 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.4617/4.235, allocations: 57.06 MB / 2.146 GB, free: 465.8 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.07783/4.313, allocations: 69.6 MB / 2.214 GB, free: 434.4 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0001861/4.314, allocations: 32.27 kB / 2.214 GB, free: 434.4 MB / 1.186 GB Notification: Performance of matching and sorting (n=2890) (initialization_lambda0): time 0.1353/4.449, allocations: 124.8 MB / 2.336 GB, free: 323.6 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003715/4.449, allocations: 294.9 kB / 2.337 GB, free: 323.3 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.09018/4.539, allocations: 87.12 MB / 2.422 GB, free: 241.5 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008383/4.548, allocations: 3.105 MB / 2.425 GB, free: 238.4 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01514/4.563, allocations: 3.204 MB / 2.428 GB, free: 235.2 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02865/4.592, allocations: 34.32 MB / 2.461 GB, free: 199.3 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02472/4.616, allocations: 2.578 MB / 2.464 GB, free: 197 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003743/4.62, allocations: 0.5491 MB / 2.464 GB, free: 196.4 MB / 1.186 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.003485/4.624, allocations: 1.091 MB / 2.465 GB, free: 195.4 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007688/4.631, allocations: 2.348 MB / 2.468 GB, free: 193 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03682/4.668, allocations: 17.86 MB / 2.485 GB, free: 175.1 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02938/4.698, allocations: 14.39 MB / 2.499 GB, free: 160.6 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.02753/4.725, allocations: 13.51 MB / 2.512 GB, free: 147.1 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01741/4.743, allocations: 6.227 MB / 2.519 GB, free: 140.9 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.01018/4.753, allocations: 143.8 kB / 2.519 GB, free: 140.7 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01766/4.771, allocations: 1.282 MB / 2.52 GB, free: 139.4 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001703/4.772, allocations: 291.1 kB / 2.52 GB, free: 139.2 MB / 1.186 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.04337/4.816, allocations: 18.89 MB / 2.539 GB, free: 120.3 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.04197/4.858, allocations: 22.86 MB / 2.561 GB, free: 97.33 MB / 1.186 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.01047/4.868, allocations: 7.275 MB / 2.568 GB, free: 90.05 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.06547/4.934, allocations: 42.96 MB / 2.61 GB, free: 47.23 MB / 1.186 GB Notification: Performance of Backend: time 1.242e-06/4.934, allocations: 0 / 2.61 GB, free: 47.23 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.5076/5.441, allocations: 135.7 MB / 2.743 GB, free: 443.8 MB / 1.186 GB Notification: Performance of SimCode: time 0.1468/5.588, allocations: 77.8 MB / 2.819 GB, free: 397.4 MB / 1.186 GB Notification: Performance of Templates: time 1.277/6.865, allocations: 0.5357 GB / 3.354 GB, free: 392.2 MB / 1.186 GB make -j1 -f Buildings_8_Buildings.ThermalZones.Detailed.Examples.ElectroChromicWindow.makefile (rm -f Buildings_8_Buildings.ThermalZones.Detailed.Examples.ElectroChromicWindow.pipe ; mkfifo Buildings_8_Buildings.ThermalZones.Detailed.Examples.ElectroChromicWindow.pipe ; head -c 1048576 < Buildings_8_Buildings.ThermalZones.Detailed.Examples.ElectroChromicWindow.pipe >> ../files/Buildings_8_Buildings.ThermalZones.Detailed.Examples.ElectroChromicWindow.sim & ./Buildings_8_Buildings.ThermalZones.Detailed.Examples.ElectroChromicWindow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.ThermalZones.Detailed.Examples.ElectroChromicWindow.pipe 2>&1)