Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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 Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_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_latest_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.714/1.714, allocations: 297.8 MB / 313.7 MB, free: 124 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001042/0.001042, allocations: 180.5 kB / 384.6 MB, free: 10.86 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.706/1.706, allocations: 223.2 MB / 0.6626 GB, free: 4.348 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009325/0.0009326, allocations: 97.94 kB / 0.7808 GB, free: 43.26 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0005292/0.0005293, allocations: 8 kB / 0.9088 GB, free: 0.6719 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8525/0.8531, allocations: 120.3 MB / 1.026 GB, free: 55.39 MB / 0.698 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2379/1.091, allocations: 143.9 MB / 1.167 GB, free: 14.36 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003559/1.091, allocations: 84.78 kB / 1.167 GB, free: 14.28 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.01191/1.103, allocations: 3.743 MB / 1.171 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of FrontEnd: time 4.128e-06/1.103, allocations: 4 kB / 1.171 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 2.71e-05/1.103, allocations: 4 kB / 1.171 GB, free: 10.57 MB / 0.7448 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.001495/1.105, allocations: 0.6167 MB / 1.171 GB, free: 9.887 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 6.247e-05/1.105, allocations: 12.03 kB / 1.171 GB, free: 9.875 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001205/1.105, allocations: 20.75 kB / 1.171 GB, free: 9.855 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004823/1.106, allocations: 270.2 kB / 1.171 GB, free: 9.555 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.791e-05/1.106, allocations: 12.38 kB / 1.171 GB, free: 9.543 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.894e-05/1.106, allocations: 12.38 kB / 1.171 GB, free: 9.531 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008052/1.107, allocations: 293.1 kB / 1.172 GB, free: 9.23 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.643e-05/1.107, allocations: 192 / 1.172 GB, free: 9.23 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.707e-05/1.107, allocations: 11.92 kB / 1.172 GB, free: 9.219 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.305e-05/1.107, allocations: 4 kB / 1.172 GB, free: 9.215 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009889/1.108, allocations: 319.7 kB / 1.172 GB, free: 8.902 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00109/1.109, allocations: 0.5509 MB / 1.173 GB, free: 8.301 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001121/1.11, allocations: 382.4 kB / 1.173 GB, free: 7.918 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004779/1.11, allocations: 168.7 kB / 1.173 GB, free: 7.75 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 4.21e-05/1.11, allocations: 4 kB / 1.173 GB, free: 7.746 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007145/1.111, allocations: 248.8 kB / 1.173 GB, free: 7.492 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=15): time 2.846e-06/1.111, allocations: 0 / 1.173 GB, free: 7.492 MB / 0.7448 GB Notification: Performance of matching and sorting (n=15): time 0.00157/1.113, allocations: 0.5166 MB / 1.174 GB, free: 6.969 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.679e-05/1.113, allocations: 110.8 kB / 1.174 GB, free: 6.836 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000263/1.113, allocations: 207.5 kB / 1.174 GB, free: 6.621 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 4e-05/1.113, allocations: 37.69 kB / 1.174 GB, free: 6.578 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001033/1.113, allocations: 128.2 kB / 1.174 GB, free: 6.445 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 5.99e-05/1.113, allocations: 51.38 kB / 1.174 GB, free: 6.395 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.133e-05/1.113, allocations: 0 / 1.174 GB, free: 6.395 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001888/1.114, allocations: 330.8 kB / 1.175 GB, free: 6.062 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004842/1.114, allocations: 159.9 kB / 1.175 GB, free: 5.906 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004956/1.115, allocations: 194.4 kB / 1.175 GB, free: 5.707 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009257/1.116, allocations: 363 kB / 1.175 GB, free: 5.34 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/1.116, allocations: 4 kB / 1.175 GB, free: 5.336 MB / 0.7448 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.00112/1.117, allocations: 456.5 kB / 1.176 GB, free: 4.871 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001409/1.117, allocations: 156.3 kB / 1.176 GB, free: 4.699 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.335e-06/1.117, allocations: 1.547 kB / 1.176 GB, free: 4.699 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.871e-05/1.117, allocations: 0 / 1.176 GB, free: 4.699 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003382/1.117, allocations: 67.94 kB / 1.176 GB, free: 4.633 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.358e-06/1.117, allocations: 0 / 1.176 GB, free: 4.633 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000347/1.118, allocations: 71.84 kB / 1.176 GB, free: 4.562 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.679e-05/1.118, allocations: 7.984 kB / 1.176 GB, free: 4.555 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.207e-05/1.118, allocations: 4 kB / 1.176 GB, free: 4.551 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008785/1.119, allocations: 366.9 kB / 1.176 GB, free: 4.184 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.855e-06/1.119, allocations: 0 / 1.176 GB, free: 4.184 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.584e-06/1.119, allocations: 4 kB / 1.176 GB, free: 4.18 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002258/1.119, allocations: 59.89 kB / 1.177 GB, free: 4.121 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.196e-06/1.119, allocations: 0 / 1.177 GB, free: 4.121 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002847/1.119, allocations: 63.78 kB / 1.177 GB, free: 4.059 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.792e-05/1.119, allocations: 8 kB / 1.177 GB, free: 4.051 MB / 0.7448 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 () * Number of clocked 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.0002052/1.119, allocations: 209.1 kB / 1.177 GB, free: 3.836 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.995e-05/1.119, allocations: 23.73 kB / 1.177 GB, free: 3.812 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.07e-05/1.119, allocations: 21.47 kB / 1.177 GB, free: 3.797 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.761e-06/1.119, allocations: 4 kB / 1.177 GB, free: 3.793 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.356e-06/1.119, allocations: 0 / 1.177 GB, free: 3.793 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/1.119, allocations: 4 kB / 1.177 GB, free: 3.789 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000335/1.12, allocations: 293.3 kB / 1.177 GB, free: 3.453 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/1.12, allocations: 0 / 1.177 GB, free: 3.453 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002736/1.12, allocations: 67.94 kB / 1.177 GB, free: 3.387 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.409e-06/1.12, allocations: 0 / 1.177 GB, free: 3.387 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.285e-05/1.12, allocations: 5.297 kB / 1.177 GB, free: 3.383 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.107e-06/1.12, allocations: 7.922 kB / 1.177 GB, free: 3.375 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/1.12, allocations: 0 / 1.177 GB, free: 3.375 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00102/1.121, allocations: 398.5 kB / 1.178 GB, free: 2.969 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 8.768e-05/1.121, allocations: 104.8 kB / 1.178 GB, free: 2.848 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.257e-05/1.121, allocations: 7.938 kB / 1.178 GB, free: 2.84 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003252/1.122, allocations: 63.94 kB / 1.178 GB, free: 2.777 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001103/1.122, allocations: 31.95 kB / 1.178 GB, free: 2.746 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.791e-05/1.122, allocations: 4 kB / 1.178 GB, free: 2.742 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001734/1.122, allocations: 160.4 kB / 1.178 GB, free: 2.586 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.71e-07/1.122, allocations: 4 kB / 1.178 GB, free: 2.582 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003778/1.122, allocations: 79.84 kB / 1.178 GB, free: 2.504 MB / 0.7448 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) * Number of clocked states: 0 () * 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.0001896/1.123, allocations: 104.5 kB / 1.178 GB, free: 2.395 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.001595/1.124, allocations: 0.712 MB / 1.179 GB, free: 1.633 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/1.124, allocations: 0 / 1.179 GB, free: 1.633 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0004999/1.125, allocations: 175.8 kB / 1.179 GB, free: 1.461 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003903/1.125, allocations: 41.94 kB / 1.179 GB, free: 1.422 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001068/1.126, allocations: 440.5 kB / 1.179 GB, free: 0.9648 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004023/1.127, allocations: 0.7326 MB / 1.18 GB, free: 212 kB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0001678/1.127, allocations: 22.53 kB / 1.18 GB, free: 192 kB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.889e-05/1.127, allocations: 23.44 kB / 1.18 GB, free: 168 kB / 0.7448 GB Notification: Performance of SimCode: time 4.91e-07/1.127, allocations: 4 kB / 1.18 GB, free: 164 kB / 0.7448 GB Notification: Performance of Templates: time 0.008276/1.135, allocations: 3.173 MB / 1.183 GB, free: 13.07 MB / 0.7605 GB make -j1 -f Buildings_latest_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.makefile (rm -f Buildings_latest_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.sim & ./Buildings_latest_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.pipe 2>&1)