Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.166/2.166, allocations: 251.1 MB / 266.1 MB, free: 11.62 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001708/0.001708, allocations: 181.1 kB / 325.6 MB, free: 2.832 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.323/2.323, allocations: 205.4 MB / 0.5766 GB, free: 20.73 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001148/0.001148, allocations: 92.59 kB / 0.6811 GB, free: 13.59 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004651/0.0004653, allocations: 12.19 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.227/0.2275, allocations: 106.3 MB / 0.8989 GB, free: 65.45 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2269/0.4545, allocations: 134 MB / 1.03 GB, free: 11.26 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003483/0.4549, allocations: 83.95 kB / 1.03 GB, free: 11.18 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01824/0.4732, allocations: 3.71 MB / 1.033 GB, free: 7.453 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.234e-06/0.4732, allocations: 0 / 1.033 GB, free: 7.453 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 2.114e-05/0.4733, allocations: 4 kB / 1.033 GB, free: 7.449 MB / 0.6823 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.001875/0.4751, allocations: 0.6181 MB / 1.034 GB, free: 6.773 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.743e-05/0.4752, allocations: 12.03 kB / 1.034 GB, free: 6.762 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001033/0.4753, allocations: 23.72 kB / 1.034 GB, free: 6.738 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004455/0.4758, allocations: 267.5 kB / 1.034 GB, free: 6.434 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.596e-05/0.4758, allocations: 12 kB / 1.034 GB, free: 6.422 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.808e-05/0.4759, allocations: 16 kB / 1.034 GB, free: 6.406 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001261/0.4772, allocations: 284 kB / 1.035 GB, free: 6.113 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.375e-05/0.4772, allocations: 0 / 1.035 GB, free: 6.113 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.16e-05/0.4773, allocations: 12 kB / 1.035 GB, free: 6.102 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.464e-06/0.4773, allocations: 0 / 1.035 GB, free: 6.102 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001882/0.4792, allocations: 319.7 kB / 1.035 GB, free: 5.789 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001406/0.4806, allocations: 0.5664 MB / 1.036 GB, free: 5.172 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002223/0.4829, allocations: 390.4 kB / 1.036 GB, free: 4.781 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 4.553e-05/0.4829, allocations: 4 kB / 1.036 GB, free: 4.777 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001155/0.4841, allocations: 240.8 kB / 1.036 GB, free: 4.531 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=15): time 5.209e-06/0.4841, allocations: 4 kB / 1.036 GB, free: 4.527 MB / 0.6823 GB Notification: Performance of matching and sorting (n=15): time 0.002999/0.4871, allocations: 0.5166 MB / 1.037 GB, free: 4.004 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.395e-05/0.4873, allocations: 110.8 kB / 1.037 GB, free: 3.871 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003107/0.4876, allocations: 190.3 kB / 1.037 GB, free: 3.68 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 5.91e-05/0.4877, allocations: 37.69 kB / 1.037 GB, free: 3.637 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001112/0.4878, allocations: 120.4 kB / 1.037 GB, free: 3.512 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 7.464e-05/0.4879, allocations: 51.3 kB / 1.037 GB, free: 3.461 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.491e-05/0.4879, allocations: 0 / 1.037 GB, free: 3.461 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001355/0.4881, allocations: 334.8 kB / 1.037 GB, free: 3.125 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009382/0.489, allocations: 163.8 kB / 1.038 GB, free: 2.965 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009731/0.49, allocations: 196.5 kB / 1.038 GB, free: 2.766 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009799/0.491, allocations: 208 kB / 1.038 GB, free: 2.551 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/0.491, allocations: 0 / 1.038 GB, free: 2.551 MB / 0.6823 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.002105/0.4931, allocations: 458.3 kB / 1.038 GB, free: 2.086 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001155/0.4933, allocations: 156.4 kB / 1.039 GB, free: 1.914 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/0.4933, allocations: 0 / 1.039 GB, free: 1.914 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.934e-05/0.4933, allocations: 0 / 1.039 GB, free: 1.914 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005863/0.4939, allocations: 71.92 kB / 1.039 GB, free: 1.844 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.145e-06/0.4939, allocations: 3.938 kB / 1.039 GB, free: 1.84 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006683/0.4946, allocations: 75.78 kB / 1.039 GB, free: 1.766 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.389e-05/0.4947, allocations: 4 kB / 1.039 GB, free: 1.762 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.017e-05/0.4947, allocations: 4 kB / 1.039 GB, free: 1.758 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001721/0.4964, allocations: 363.1 kB / 1.039 GB, free: 1.391 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.677e-06/0.4964, allocations: 4 kB / 1.039 GB, free: 1.387 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.518e-06/0.4965, allocations: 0 / 1.039 GB, free: 1.387 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004609/0.4969, allocations: 59.94 kB / 1.039 GB, free: 1.328 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.127e-06/0.4969, allocations: 4 kB / 1.039 GB, free: 1.324 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005693/0.4975, allocations: 55.73 kB / 1.039 GB, free: 1.27 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.759e-05/0.4976, allocations: 12 kB / 1.039 GB, free: 1.258 MB / 0.6823 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.0002451/0.4978, allocations: 216 kB / 1.039 GB, free: 1.039 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.265e-05/0.4979, allocations: 19.81 kB / 1.039 GB, free: 1.02 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.911e-05/0.498, allocations: 17.53 kB / 1.039 GB, free: 1 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.498, allocations: 0 / 1.039 GB, free: 1 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.032e-06/0.498, allocations: 0 / 1.039 GB, free: 1 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.016e-06/0.498, allocations: 3.984 kB / 1.039 GB, free: 0.9961 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000359/0.4984, allocations: 285.4 kB / 1.04 GB, free: 0.668 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.4984, allocations: 4 kB / 1.04 GB, free: 0.6641 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005866/0.499, allocations: 63.94 kB / 1.04 GB, free: 0.6016 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.183e-06/0.499, allocations: 0 / 1.04 GB, free: 0.6016 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.98e-05/0.4991, allocations: 19.92 kB / 1.04 GB, free: 0.582 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.4991, allocations: 0 / 1.04 GB, free: 0.582 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.4991, allocations: 0 / 1.04 GB, free: 0.582 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00196/0.5011, allocations: 406.9 kB / 1.04 GB, free: 172 kB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 7.845e-05/0.5012, allocations: 92.91 kB / 1.04 GB, free: 60 kB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.748e-05/0.5012, allocations: 8 kB / 1.04 GB, free: 52 kB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006372/0.5019, allocations: 63.98 kB / 1.04 GB, free: 15.98 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001444/0.502, allocations: 27.91 kB / 1.04 GB, free: 15.96 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.814e-05/0.5021, allocations: 15.92 kB / 1.04 GB, free: 15.95 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002068/0.5023, allocations: 151.2 kB / 1.041 GB, free: 15.8 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.51e-07/0.5023, allocations: 0 / 1.041 GB, free: 15.8 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0005507/0.5029, allocations: 84.09 kB / 1.041 GB, free: 15.71 MB / 0.698 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.0001753/0.5031, allocations: 119.1 kB / 1.041 GB, free: 15.59 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002926/0.506, allocations: 0.7066 MB / 1.041 GB, free: 14.84 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.638e-06/0.506, allocations: 0 / 1.041 GB, free: 14.84 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001023/0.5071, allocations: 179.7 kB / 1.042 GB, free: 14.66 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004471/0.5075, allocations: 42.84 kB / 1.042 GB, free: 14.62 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001441/0.509, allocations: 446.8 kB / 1.042 GB, free: 14.15 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003193/0.5093, allocations: 0.7367 MB / 1.043 GB, free: 13.38 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.000236/0.5096, allocations: 29.52 kB / 1.043 GB, free: 13.35 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001238/0.5097, allocations: 15.44 kB / 1.043 GB, free: 13.34 MB / 0.698 GB Notification: Performance of SimCode: time 9.62e-07/0.5097, allocations: 0 / 1.043 GB, free: 13.34 MB / 0.698 GB Notification: Performance of Templates: time 0.0101/0.5198, allocations: 3.135 MB / 1.046 GB, free: 10.25 MB / 0.698 GB