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.223/2.223, allocations: 252.6 MB / 265.2 MB, free: 5.777 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001473/0.001473, allocations: 182.1 kB / 324.5 MB, free: 14.39 MB / 266.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.996/1.996, allocations: 205.4 MB / 0.5754 GB, free: 10.47 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.001198/0.001198, allocations: 97.44 kB / 0.6797 GB, free: 15.71 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.429e-05/3.431e-05, allocations: 4 kB / 0.7911 GB, free: 96.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2118/0.2119, allocations: 106.2 MB / 0.8949 GB, free: 6.27 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8662/1.078, allocations: 133.9 MB / 1.026 GB, free: 0.6211 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003679/1.079, allocations: 82.38 kB / 1.026 GB, free: 0.5742 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01816/1.097, allocations: 3.703 MB / 1.029 GB, free: 13.36 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.875e-06/1.097, allocations: 0 / 1.029 GB, free: 13.36 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 2.641e-05/1.097, allocations: 4 kB / 1.029 GB, free: 13.35 MB / 0.6511 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.001835/1.099, allocations: 0.5919 MB / 1.03 GB, free: 12.72 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.718e-05/1.099, allocations: 8.031 kB / 1.03 GB, free: 12.71 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001469/1.099, allocations: 23.72 kB / 1.03 GB, free: 12.69 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005161/1.099, allocations: 267.5 kB / 1.03 GB, free: 12.41 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.971e-05/1.1, allocations: 7.312 kB / 1.03 GB, free: 12.41 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.4e-05/1.1, allocations: 15.06 kB / 1.03 GB, free: 12.39 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005155/1.1, allocations: 181.2 kB / 1.03 GB, free: 12.25 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.508e-05/1.1, allocations: 0 / 1.03 GB, free: 12.25 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4e-05/1.1, allocations: 6.688 kB / 1.03 GB, free: 12.25 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.391e-05/1.1, allocations: 7.984 kB / 1.03 GB, free: 12.24 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003624/1.101, allocations: 98.12 kB / 1.031 GB, free: 12.18 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001406/1.102, allocations: 0.5803 MB / 1.031 GB, free: 11.64 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006112/1.103, allocations: 140.5 kB / 1.031 GB, free: 11.54 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001992/1.103, allocations: 58.92 kB / 1.031 GB, free: 11.5 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 5.565e-05/1.103, allocations: 10.94 kB / 1.031 GB, free: 11.5 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003953/1.103, allocations: 135.5 kB / 1.031 GB, free: 11.38 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=15): time 5.911e-06/1.103, allocations: 4 kB / 1.031 GB, free: 11.37 MB / 0.6511 GB Notification: Performance of matching and sorting (n=15): time 0.0005921/1.104, allocations: 159.5 kB / 1.032 GB, free: 11.24 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.017e-05/1.104, allocations: 105.6 kB / 1.032 GB, free: 11.12 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000293/1.104, allocations: 194.8 kB / 1.032 GB, free: 10.95 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 5e-05/1.104, allocations: 33.52 kB / 1.032 GB, free: 10.91 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.00012/1.105, allocations: 132.8 kB / 1.032 GB, free: 10.8 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 7.292e-05/1.105, allocations: 50.41 kB / 1.032 GB, free: 10.76 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.209e-05/1.105, allocations: 3.312 kB / 1.032 GB, free: 10.76 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.000144/1.105, allocations: 329.9 kB / 1.032 GB, free: 10.43 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001864/1.105, allocations: 61.17 kB / 1.032 GB, free: 10.39 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000232/1.105, allocations: 86.75 kB / 1.033 GB, free: 10.33 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002054/1.106, allocations: 98.73 kB / 1.033 GB, free: 10.24 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/1.106, allocations: 0 / 1.033 GB, free: 10.24 MB / 0.6511 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0006179/1.106, allocations: 239.4 kB / 1.033 GB, free: 10.03 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001197/1.106, allocations: 145.2 kB / 1.033 GB, free: 9.871 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.746e-06/1.106, allocations: 4.031 kB / 1.033 GB, free: 9.867 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.766e-05/1.106, allocations: 4 kB / 1.033 GB, free: 9.863 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000663/1.107, allocations: 75.73 kB / 1.033 GB, free: 9.793 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.208e-06/1.107, allocations: 4 kB / 1.033 GB, free: 9.789 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006821/1.108, allocations: 63.88 kB / 1.033 GB, free: 9.727 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.868e-05/1.108, allocations: 11.06 kB / 1.033 GB, free: 9.719 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.482e-05/1.108, allocations: 4 kB / 1.033 GB, free: 9.715 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005554/1.108, allocations: 208 kB / 1.033 GB, free: 9.547 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.927e-06/1.108, allocations: 0 / 1.033 GB, free: 9.547 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.953e-06/1.108, allocations: 0 / 1.033 GB, free: 9.547 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004689/1.109, allocations: 58.89 kB / 1.033 GB, free: 9.492 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.268e-06/1.109, allocations: 4 kB / 1.033 GB, free: 9.488 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006107/1.11, allocations: 67.53 kB / 1.033 GB, free: 9.426 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.792e-05/1.11, allocations: 4 kB / 1.033 GB, free: 9.422 MB / 0.6511 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.0001693/1.11, allocations: 116.2 kB / 1.034 GB, free: 9.305 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.495e-05/1.11, allocations: 19.81 kB / 1.034 GB, free: 9.285 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.876e-05/1.11, allocations: 24.7 kB / 1.034 GB, free: 9.27 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-06/1.11, allocations: 0 / 1.034 GB, free: 9.27 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.304e-06/1.11, allocations: 0 / 1.034 GB, free: 9.27 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.409e-06/1.11, allocations: 0 / 1.034 GB, free: 9.27 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003902/1.11, allocations: 288.4 kB / 1.034 GB, free: 8.98 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.24e-06/1.111, allocations: 3.938 kB / 1.034 GB, free: 8.977 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005541/1.111, allocations: 67.94 kB / 1.034 GB, free: 8.91 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.873e-06/1.111, allocations: 0 / 1.034 GB, free: 8.91 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.023e-05/1.111, allocations: 7.312 kB / 1.034 GB, free: 8.906 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.287e-06/1.111, allocations: 3.938 kB / 1.034 GB, free: 8.902 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.539e-06/1.111, allocations: 3.984 kB / 1.034 GB, free: 8.898 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005076/1.112, allocations: 195.6 kB / 1.034 GB, free: 8.727 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 8.141e-05/1.112, allocations: 96.16 kB / 1.034 GB, free: 8.617 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.638e-05/1.112, allocations: 11.69 kB / 1.034 GB, free: 8.609 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006162/1.112, allocations: 59.94 kB / 1.034 GB, free: 8.551 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001574/1.113, allocations: 34.44 kB / 1.034 GB, free: 8.523 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.365e-05/1.113, allocations: 4 kB / 1.034 GB, free: 8.52 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0002157/1.113, allocations: 155.1 kB / 1.035 GB, free: 8.395 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.11e-07/1.113, allocations: 0 / 1.035 GB, free: 8.395 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0005116/1.113, allocations: 83.83 kB / 1.035 GB, free: 8.316 MB / 0.6511 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.0001869/1.114, allocations: 106.7 kB / 1.035 GB, free: 8.203 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0008764/1.115, allocations: 441.2 kB / 1.035 GB, free: 7.801 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/1.115, allocations: 0 / 1.035 GB, free: 7.801 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.000237/1.115, allocations: 69.11 kB / 1.035 GB, free: 7.754 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004269/1.115, allocations: 40.03 kB / 1.035 GB, free: 7.719 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008147/1.116, allocations: 236.2 kB / 1.035 GB, free: 7.5 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000324/1.116, allocations: 0.7292 MB / 1.036 GB, free: 6.742 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0002927/1.117, allocations: 37.52 kB / 1.036 GB, free: 6.707 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001168/1.117, allocations: 19.42 kB / 1.036 GB, free: 6.688 MB / 0.6511 GB Notification: Performance of SimCode: time 1.272e-06/1.117, allocations: 4 kB / 1.036 GB, free: 6.684 MB / 0.6511 GB Notification: Performance of Templates: time 0.01064/1.128, allocations: 3.424 MB / 1.04 GB, free: 3.316 MB / 0.6511 GB