Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.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.Controls.Validation.ElectrochromicWindow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow") translateModel(Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.788/1.788, allocations: 285.4 MB / 298 MB, free: 5.945 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.001572/0.001572, allocations: 184.8 kB / 366.4 MB, free: 2.082 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.918/1.918, allocations: 205.1 MB / 0.6248 GB, free: 7.75 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008375/0.0008376, allocations: 87.28 kB / 0.738 GB, free: 40.29 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.058e-05/3.061e-05, allocations: 4 kB / 0.8583 GB, free: 13.08 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8059/0.806, allocations: 115.3 MB / 0.9709 GB, free: 77.75 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2353/1.041, allocations: 140.6 MB / 1.108 GB, free: 11.21 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002231/1.042, allocations: 83.94 kB / 1.108 GB, free: 11.13 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.01138/1.053, allocations: 3.697 MB / 1.112 GB, free: 7.492 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.262e-06/1.053, allocations: 0 / 1.112 GB, free: 7.492 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.087e-05/1.053, allocations: 4 kB / 1.112 GB, free: 7.488 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: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.001196/1.054, allocations: 0.5924 MB / 1.112 GB, free: 6.84 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.948e-05/1.054, allocations: 8.031 kB / 1.112 GB, free: 6.832 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001044/1.054, allocations: 24.84 kB / 1.112 GB, free: 6.809 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003936/1.055, allocations: 263.5 kB / 1.113 GB, free: 6.508 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.455e-05/1.055, allocations: 12 kB / 1.113 GB, free: 6.496 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.889e-05/1.055, allocations: 16 kB / 1.113 GB, free: 6.48 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003744/1.055, allocations: 189.1 kB / 1.113 GB, free: 6.281 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.958e-06/1.055, allocations: 0 / 1.113 GB, free: 6.281 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.842e-05/1.055, allocations: 4 kB / 1.113 GB, free: 6.277 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.147e-05/1.055, allocations: 4 kB / 1.113 GB, free: 6.273 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002371/1.056, allocations: 104 kB / 1.113 GB, free: 6.172 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009655/1.057, allocations: 0.5549 MB / 1.114 GB, free: 5.566 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003654/1.057, allocations: 154.6 kB / 1.114 GB, free: 5.406 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001233/1.057, allocations: 61.8 kB / 1.114 GB, free: 5.344 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.517e-05/1.057, allocations: 0 / 1.114 GB, free: 5.344 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002615/1.057, allocations: 143.2 kB / 1.114 GB, free: 5.191 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=15): time 1.804e-06/1.057, allocations: 0 / 1.114 GB, free: 5.191 MB / 0.7136 GB Notification: Performance of matching and sorting (n=15): time 0.0003766/1.058, allocations: 159.4 kB / 1.114 GB, free: 5.031 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.326e-05/1.058, allocations: 106.8 kB / 1.114 GB, free: 4.902 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001982/1.058, allocations: 190.1 kB / 1.114 GB, free: 4.711 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.354e-05/1.058, allocations: 25.7 kB / 1.114 GB, free: 4.68 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 9.886e-05/1.058, allocations: 146.5 kB / 1.115 GB, free: 4.531 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.985e-05/1.058, allocations: 39.45 kB / 1.115 GB, free: 4.492 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.334e-05/1.058, allocations: 4 kB / 1.115 GB, free: 4.488 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001258/1.059, allocations: 334.8 kB / 1.115 GB, free: 4.152 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001167/1.059, allocations: 52 kB / 1.115 GB, free: 4.102 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001439/1.059, allocations: 82.56 kB / 1.115 GB, free: 4.012 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001396/1.059, allocations: 102.4 kB / 1.115 GB, free: 3.902 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/1.059, allocations: 0 / 1.115 GB, free: 3.902 MB / 0.7136 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003749/1.059, allocations: 242.3 kB / 1.115 GB, free: 3.648 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 9.489e-05/1.059, allocations: 161.6 kB / 1.116 GB, free: 3.473 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/1.059, allocations: 0 / 1.116 GB, free: 3.473 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.312e-05/1.059, allocations: 0 / 1.116 GB, free: 3.473 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003616/1.06, allocations: 71.92 kB / 1.116 GB, free: 3.402 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.02e-05/1.06, allocations: 0 / 1.116 GB, free: 3.402 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003665/1.06, allocations: 75.78 kB / 1.116 GB, free: 3.328 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.867e-05/1.06, allocations: 9.922 kB / 1.116 GB, free: 3.32 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.189e-05/1.06, allocations: 4 kB / 1.116 GB, free: 3.316 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003182/1.061, allocations: 203.3 kB / 1.116 GB, free: 3.105 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/1.061, allocations: 2.266 kB / 1.116 GB, free: 3.105 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.687e-06/1.061, allocations: 3.938 kB / 1.116 GB, free: 3.102 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002616/1.061, allocations: 59.94 kB / 1.116 GB, free: 3.043 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.655e-06/1.061, allocations: 0 / 1.116 GB, free: 3.043 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003056/1.061, allocations: 59.8 kB / 1.116 GB, free: 2.984 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.421e-05/1.061, allocations: 8 kB / 1.116 GB, free: 2.977 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$whenCondition1,$PRE.TMea.T_start,TMea.T_start,$PRE.TMea.count,TMea.count,$PRE.HMea.T_start,HMea.T_start,$PRE.HMea.count,HMea.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.825e-05/1.061, allocations: 125.2 kB / 1.116 GB, free: 2.852 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.046e-05/1.061, allocations: 23.8 kB / 1.116 GB, free: 2.828 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.976e-05/1.061, allocations: 17.66 kB / 1.116 GB, free: 2.805 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/1.061, allocations: 0 / 1.116 GB, free: 2.805 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.114e-06/1.061, allocations: 4 kB / 1.116 GB, free: 2.801 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/1.061, allocations: 3.984 kB / 1.116 GB, free: 2.797 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002637/1.062, allocations: 285.3 kB / 1.116 GB, free: 2.469 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/1.062, allocations: 0 / 1.116 GB, free: 2.469 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003024/1.062, allocations: 70 kB / 1.116 GB, free: 2.402 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.927e-06/1.062, allocations: 0 / 1.116 GB, free: 2.402 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.047e-05/1.062, allocations: 11.98 kB / 1.116 GB, free: 2.391 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.893e-06/1.062, allocations: 4 kB / 1.116 GB, free: 2.387 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/1.062, allocations: 0 / 1.116 GB, free: 2.387 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003105/1.062, allocations: 188.8 kB / 1.117 GB, free: 2.184 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.507e-05/1.063, allocations: 100.8 kB / 1.117 GB, free: 2.066 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4e-05/1.063, allocations: 4 kB / 1.117 GB, free: 2.062 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000344/1.063, allocations: 67.92 kB / 1.117 GB, free: 1.996 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001081/1.063, allocations: 27.95 kB / 1.117 GB, free: 1.969 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.657e-05/1.063, allocations: 4 kB / 1.117 GB, free: 1.965 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0001421/1.063, allocations: 156.7 kB / 1.117 GB, free: 1.812 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.8e-07/1.063, allocations: 2.906 kB / 1.117 GB, free: 1.812 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003477/1.064, allocations: 79.84 kB / 1.117 GB, free: 1.734 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,TMea.T_start,TMea.count,HMea.T_start,HMea.count) * Number of discrete states: 2 (TMea.count,HMea.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001521/1.064, allocations: 115.4 kB / 1.117 GB, free: 1.613 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0005692/1.064, allocations: 431.4 kB / 1.118 GB, free: 1.145 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/1.064, allocations: 0 / 1.118 GB, free: 1.145 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001531/1.064, allocations: 77.47 kB / 1.118 GB, free: 1.07 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002828/1.065, allocations: 35.27 kB / 1.118 GB, free: 1.035 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005696/1.065, allocations: 234.1 kB / 1.118 GB, free: 0.7852 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002951/1.066, allocations: 0.7409 MB / 1.119 GB, free: 16 kB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0002017/1.066, allocations: 33.59 kB / 1.119 GB, free: 15.98 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.508e-05/1.066, allocations: 23.38 kB / 1.119 GB, free: 15.96 MB / 0.7292 GB Notification: Performance of SimCode: time 4.11e-07/1.066, allocations: 0 / 1.119 GB, free: 15.96 MB / 0.7292 GB Notification: Performance of Templates: time 0.007586/1.074, allocations: 3.435 MB / 1.122 GB, free: 12.62 MB / 0.7292 GB make -j1 -f Buildings_maint.8.0.x_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.makefile (rm -f Buildings_maint.8.0.x_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.pipe >> ../files/Buildings_maint.8.0.x_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.sim & ./Buildings_maint.8.0.x_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.pipe 2>&1)