Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.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.HeatTransfer.Windows.Examples.ElectrochromicWindow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.Examples.ElectrochromicWindow") translateModel(Buildings.HeatTransfer.Windows.Examples.ElectrochromicWindow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.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.306/1.306, allocations: 251.5 MB / 267.4 MB, free: 11.07 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.0008907/0.0008907, allocations: 181.4 kB / 326.5 MB, free: 2.715 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.436/1.436, allocations: 205 MB / 0.5766 GB, free: 21.07 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.0008135/0.0008134, allocations: 96.94 kB / 0.6804 GB, free: 14.72 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003548/0.0003549, allocations: 12.16 kB / 0.7938 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1537/0.1541, allocations: 105.4 MB / 0.8967 GB, free: 68.24 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.ElectrochromicWindow): time 0.009629/0.1638, allocations: 12.77 MB / 0.9092 GB, free: 55.41 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.495/0.6588, allocations: 160.9 MB / 1.066 GB, free: 1.754 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002527/0.6614, allocations: 62.64 kB / 1.066 GB, free: 1.754 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.005114/0.6665, allocations: 2.17 MB / 1.068 GB, free: 1.699 MB / 0.698 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.003506/0.67, allocations: 1.3 MB / 1.07 GB, free: 1.66 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.004412/0.6745, allocations: 1.845 MB / 1.072 GB, free: 1.609 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.006912/0.6814, allocations: 6.825 MB / 1.078 GB, free: 1.582 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002078/0.6835, allocations: 1.79 MB / 1.08 GB, free: 1.191 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002688/0.6862, allocations: 1.713 MB / 1.082 GB, free: 1.188 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001694/0.6879, allocations: 1.778 MB / 1.083 GB, free: 1.184 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0002993/0.6882, allocations: 117.7 kB / 1.083 GB, free: 1.184 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004011/0.6922, allocations: 2.396 MB / 1.086 GB, free: 1.152 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.002543/0.6948, allocations: 4.309 MB / 1.09 GB, free: 1.152 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.001551/0.6963, allocations: 1.884 MB / 1.092 GB, free: 0.7539 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.006159/0.7025, allocations: 7.477 MB / 1.099 GB, free: 15.79 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.7025, allocations: 0 / 1.099 GB, free: 15.79 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.713e-06/0.7025, allocations: 3.938 kB / 1.099 GB, free: 15.79 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 8.227e-05/0.7026, allocations: 0 / 1.099 GB, free: 15.79 MB / 0.7136 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.007568/0.7102, allocations: 4.545 MB / 1.104 GB, free: 13.57 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.807e-05/0.7102, allocations: 13 kB / 1.104 GB, free: 13.56 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01477/0.725, allocations: 2.532 MB / 1.106 GB, free: 13.25 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02433/0.7494, allocations: 14.71 MB / 1.12 GB, free: 11.65 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001276/0.7495, allocations: 216.4 kB / 1.121 GB, free: 11.64 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004872/0.75, allocations: 292.5 kB / 1.121 GB, free: 11.64 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0067/0.7567, allocations: 3.735 MB / 1.125 GB, free: 10.56 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.016e-05/0.7568, allocations: 6.891 kB / 1.125 GB, free: 10.56 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002182/0.757, allocations: 93.58 kB / 1.125 GB, free: 10.55 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.989e-05/0.757, allocations: 52.72 kB / 1.125 GB, free: 10.55 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006347/0.7634, allocations: 3.603 MB / 1.128 GB, free: 9.852 MB / 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.02569/0.7891, allocations: 21.65 MB / 1.149 GB, free: 6.762 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006645/0.7958, allocations: 3.142 MB / 1.152 GB, free: 3.613 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004179/0.8, allocations: 2.159 MB / 1.155 GB, free: 1.441 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004412/0.8004, allocations: 420.6 kB / 1.155 GB, free: 0.9688 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004443/0.8049, allocations: 2.256 MB / 1.157 GB, free: 14.69 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=173): time 3.537e-06/0.8049, allocations: 0 / 1.157 GB, free: 14.69 MB / 0.7448 GB Notification: Performance of matching and sorting (n=173): time 0.02124/0.8261, allocations: 8.028 MB / 1.165 GB, free: 6.602 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002328/0.8264, allocations: 418.3 kB / 1.165 GB, free: 6.133 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02948/0.8559, allocations: 21.48 MB / 1.186 GB, free: 0.6328 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.0007701/0.8567, allocations: 93.7 kB / 1.186 GB, free: 0.5352 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.001759/0.8585, allocations: 1.623 MB / 1.188 GB, free: 14.95 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006104/0.8591, allocations: 0.5847 MB / 1.189 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003439/0.8625, allocations: 4.548 MB / 1.193 GB, free: 9.805 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 8.606e-05/0.8626, allocations: 301.1 kB / 1.193 GB, free: 9.508 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03696/0.8996, allocations: 39.98 MB / 1.232 GB, free: 1.551 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.04044/0.9401, allocations: 41.54 MB / 1.273 GB, free: 7.723 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0485/0.9886, allocations: 49.67 MB / 1.321 GB, free: 5.613 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.116e-05/0.9887, allocations: 8 kB / 1.321 GB, free: 5.605 MB / 0.9011 GB Notification: Performance of matching and sorting (n=1902) (initialization): time 0.4015/1.39, allocations: 94.55 MB / 1.414 GB, free: 413.5 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005396/1.391, allocations: 0.9709 MB / 1.415 GB, free: 412.5 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0687/1.459, allocations: 66.74 MB / 1.48 GB, free: 367.1 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04209/1.502, allocations: 5.483 MB / 1.485 GB, free: 363.2 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00417/1.506, allocations: 0.8436 MB / 1.486 GB, free: 362.4 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006192/1.512, allocations: 6.352 MB / 1.492 GB, free: 355.7 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005255/1.517, allocations: 0.6016 MB / 1.493 GB, free: 355.3 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004301/1.518, allocations: 198.7 kB / 1.493 GB, free: 355.1 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 6.933e-06/1.518, allocations: 4 kB / 1.493 GB, free: 355.1 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.06774/1.585, allocations: 93.79 MB / 1.585 GB, free: 261.4 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.04937/1.635, allocations: 65.7 MB / 1.649 GB, free: 195.4 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001536/1.636, allocations: 0.5166 MB / 1.649 GB, free: 194.9 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004434/1.641, allocations: 0.9009 MB / 1.65 GB, free: 194 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006554/1.647, allocations: 8.356 MB / 1.658 GB, free: 185.1 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005692/1.653, allocations: 0.5091 MB / 1.659 GB, free: 184.6 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001083/1.654, allocations: 194.9 kB / 1.659 GB, free: 184.4 MB / 0.9792 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 98 * 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 (413): * Single equations (assignments): 369 * Array equations: 39 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 3 * 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): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(6,22), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.003561/1.658, allocations: 2.807 MB / 1.662 GB, free: 181.6 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009214/1.659, allocations: 359.2 kB / 1.662 GB, free: 181.2 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01306/1.672, allocations: 6.128 MB / 1.668 GB, free: 175.1 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.759e-05/1.672, allocations: 7.969 kB / 1.668 GB, free: 175.1 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.03054/1.702, allocations: 6.625 MB / 1.675 GB, free: 168.4 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002035/1.705, allocations: 0.8119 MB / 1.675 GB, free: 167.6 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001009/1.706, allocations: 32 kB / 1.675 GB, free: 167.6 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002946/1.709, allocations: 262.7 kB / 1.676 GB, free: 167.3 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003454/1.709, allocations: 117.1 kB / 1.676 GB, free: 167.2 MB / 0.9792 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01514/1.724, allocations: 6.45 MB / 1.682 GB, free: 160.8 MB / 0.9792 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.01256/1.737, allocations: 7.537 MB / 1.689 GB, free: 153.2 MB / 0.9792 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003818/1.74, allocations: 2.885 MB / 1.692 GB, free: 150.3 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.008696/1.749, allocations: 13.39 MB / 1.705 GB, free: 136.9 MB / 0.9792 GB Notification: Performance of Backend: time 5.71e-07/1.749, allocations: 0 / 1.705 GB, free: 136.9 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.07254/1.822, allocations: 103.7 MB / 1.807 GB, free: 33.44 MB / 0.9792 GB Notification: Performance of SimCode: time 0.02397/1.846, allocations: 23.75 MB / 1.83 GB, free: 9.621 MB / 0.9792 GB Notification: Performance of Templates: time 0.4537/2.3, allocations: 124 MB / 1.951 GB, free: 334.1 MB / 0.9792 GB make -j1 -f Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.Examples.ElectrochromicWindow.makefile (rm -f Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.Examples.ElectrochromicWindow.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.Examples.ElectrochromicWindow.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.Examples.ElectrochromicWindow.pipe >> ../files/Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.Examples.ElectrochromicWindow.sim & ./Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.Examples.ElectrochromicWindow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.Examples.ElectrochromicWindow.pipe 2>&1)