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.703/1.703, allocations: 285.6 MB / 293.1 MB, free: 10.27 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.00137/0.00137, allocations: 176.9 kB / 361.4 MB, free: 6.859 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.795/1.795, allocations: 205.2 MB / 0.62 GB, free: 11.66 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.000883/0.0008827, allocations: 90.16 kB / 0.733 GB, free: 44.21 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.601e-05/2.586e-05, allocations: 4 kB / 0.8517 GB, free: 2.746 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7701/0.7701, allocations: 115.3 MB / 0.9644 GB, free: 78.84 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2009/0.9711, allocations: 139.9 MB / 1.101 GB, free: 15.96 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002769/0.9714, allocations: 79.95 kB / 1.101 GB, free: 15.88 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.01129/0.9827, allocations: 3.671 MB / 1.105 GB, free: 12.27 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.422e-06/0.9828, allocations: 3.938 kB / 1.105 GB, free: 12.27 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.936e-05/0.9828, allocations: 4 kB / 1.105 GB, free: 12.26 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.001245/0.9841, allocations: 0.5848 MB / 1.105 GB, free: 11.62 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.027e-05/0.9841, allocations: 8.031 kB / 1.105 GB, free: 11.61 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001258/0.9843, allocations: 24.75 kB / 1.105 GB, free: 11.59 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004406/0.9847, allocations: 267.5 kB / 1.106 GB, free: 11.28 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.222e-05/0.9847, allocations: 7.562 kB / 1.106 GB, free: 11.28 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.33e-05/0.9848, allocations: 12 kB / 1.106 GB, free: 11.27 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002551/0.9851, allocations: 99.98 kB / 1.106 GB, free: 11.17 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003104/0.9854, allocations: 171 kB / 1.106 GB, free: 10.99 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.113e-05/0.9854, allocations: 0 / 1.106 GB, free: 10.99 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.74e-05/0.9854, allocations: 3.984 kB / 1.106 GB, free: 10.98 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.622e-06/0.9854, allocations: 4 kB / 1.106 GB, free: 10.98 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009539/0.9864, allocations: 0.5125 MB / 1.106 GB, free: 10.43 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003423/0.9868, allocations: 156.8 kB / 1.106 GB, free: 10.27 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001128/0.9869, allocations: 58.31 kB / 1.107 GB, free: 10.21 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 4.166e-05/0.9869, allocations: 7.938 kB / 1.107 GB, free: 10.2 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002507/0.9872, allocations: 128.3 kB / 1.107 GB, free: 10.07 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=15): time 1.623e-06/0.9872, allocations: 0 / 1.107 GB, free: 10.07 MB / 0.7136 GB Notification: Performance of matching and sorting (n=15): time 0.000379/0.9876, allocations: 158 kB / 1.107 GB, free: 9.906 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.191e-05/0.9877, allocations: 104 kB / 1.107 GB, free: 9.781 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001902/0.9879, allocations: 175 kB / 1.107 GB, free: 9.605 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.529e-05/0.9879, allocations: 33.7 kB / 1.107 GB, free: 9.566 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 8.892e-05/0.988, allocations: 128.3 kB / 1.107 GB, free: 9.438 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 5.122e-05/0.9881, allocations: 43.45 kB / 1.107 GB, free: 9.395 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.309e-05/0.9881, allocations: 0 / 1.107 GB, free: 9.395 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001402/0.9882, allocations: 330.8 kB / 1.108 GB, free: 9.062 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001099/0.9884, allocations: 55.92 kB / 1.108 GB, free: 9.008 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001218/0.9885, allocations: 80.62 kB / 1.108 GB, free: 8.922 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.594e-05/0.9886, allocations: 47.94 kB / 1.108 GB, free: 8.875 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.9886, allocations: 0 / 1.108 GB, free: 8.875 MB / 0.7136 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003181/0.9889, allocations: 175.6 kB / 1.108 GB, free: 8.699 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 9.912e-05/0.989, allocations: 152.4 kB / 1.108 GB, free: 8.531 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.555e-06/0.989, allocations: 2.906 kB / 1.108 GB, free: 8.531 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.687e-05/0.9891, allocations: 4 kB / 1.108 GB, free: 8.527 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003296/0.9894, allocations: 75.86 kB / 1.108 GB, free: 8.453 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.242e-06/0.9894, allocations: 0 / 1.108 GB, free: 8.453 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003603/0.9898, allocations: 71.78 kB / 1.108 GB, free: 8.383 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.57e-05/0.9898, allocations: 8 kB / 1.108 GB, free: 8.375 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.251e-05/0.9898, allocations: 4 kB / 1.108 GB, free: 8.371 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002487/0.9901, allocations: 128.7 kB / 1.108 GB, free: 8.246 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.9901, allocations: 3.984 kB / 1.108 GB, free: 8.242 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.226e-06/0.9901, allocations: 3.938 kB / 1.108 GB, free: 8.238 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002467/0.9904, allocations: 59.89 kB / 1.108 GB, free: 8.18 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.024e-06/0.9904, allocations: 0 / 1.108 GB, free: 8.18 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002953/0.9907, allocations: 43.95 kB / 1.108 GB, free: 8.137 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.997e-05/0.9907, allocations: 15.98 kB / 1.108 GB, free: 8.121 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 0.0001121/0.9908, allocations: 110.9 kB / 1.109 GB, free: 8.008 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.88e-05/0.9909, allocations: 23.67 kB / 1.109 GB, free: 7.984 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.61e-05/0.9909, allocations: 21.95 kB / 1.109 GB, free: 7.965 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.9909, allocations: 0 / 1.109 GB, free: 7.965 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.344e-06/0.991, allocations: 4 kB / 1.109 GB, free: 7.961 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/0.991, allocations: 0 / 1.109 GB, free: 7.961 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002357/0.9912, allocations: 246 kB / 1.109 GB, free: 7.684 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.9912, allocations: 1.625 kB / 1.109 GB, free: 7.684 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002901/0.9915, allocations: 79.86 kB / 1.109 GB, free: 7.605 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.9915, allocations: 0 / 1.109 GB, free: 7.605 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.845e-05/0.9915, allocations: 3.953 kB / 1.109 GB, free: 7.602 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.637e-06/0.9916, allocations: 8 kB / 1.109 GB, free: 7.594 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.9916, allocations: 0 / 1.109 GB, free: 7.594 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002673/0.9918, allocations: 179 kB / 1.109 GB, free: 7.402 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.217e-05/0.9919, allocations: 92.83 kB / 1.109 GB, free: 7.293 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.239e-05/0.992, allocations: 4 kB / 1.109 GB, free: 7.289 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003226/0.9923, allocations: 67.88 kB / 1.109 GB, free: 7.223 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.45e-05/0.9924, allocations: 29.17 kB / 1.109 GB, free: 7.195 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.45e-05/0.9924, allocations: 4 kB / 1.109 GB, free: 7.191 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.000113/0.9925, allocations: 140.2 kB / 1.109 GB, free: 7.055 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.31e-07/0.9925, allocations: 0 / 1.109 GB, free: 7.055 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003401/0.9929, allocations: 75.84 kB / 1.11 GB, free: 6.98 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.0001761/0.9931, allocations: 118.8 kB / 1.11 GB, free: 6.855 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0005481/0.9936, allocations: 419.9 kB / 1.11 GB, free: 6.395 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.9936, allocations: 0 / 1.11 GB, free: 6.395 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001284/0.9938, allocations: 67.92 kB / 1.11 GB, free: 6.328 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002947/0.9941, allocations: 42.12 kB / 1.11 GB, free: 6.293 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000515/0.9946, allocations: 220.5 kB / 1.11 GB, free: 6.059 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002932/0.9949, allocations: 0.7289 MB / 1.111 GB, free: 5.297 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0001593/0.9951, allocations: 41.39 kB / 1.111 GB, free: 5.262 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.623e-05/0.9951, allocations: 23.42 kB / 1.111 GB, free: 5.238 MB / 0.7136 GB Notification: Performance of SimCode: time 2.5e-07/0.9951, allocations: 0 / 1.111 GB, free: 5.238 MB / 0.7136 GB Notification: Performance of Templates: time 0.006086/1.001, allocations: 3.113 MB / 1.114 GB, free: 2.207 MB / 0.7136 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)