Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.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 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.543/2.543, allocations: 287.9 MB / 302.9 MB, free: 8.242 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001456/0.001456, allocations: 181.5 kB / 371.4 MB, free: 10.68 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.069/2.069, allocations: 205.4 MB / 0.6301 GB, free: 10.34 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001976/0.001976, allocations: 90.84 kB / 0.7434 GB, free: 6.355 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004937/0.0004939, allocations: 16.38 kB / 0.8662 GB, free: 141.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1607/0.1612, allocations: 115.3 MB / 0.9788 GB, free: 28.19 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic): time 0.006959/0.1682, allocations: 5.955 MB / 0.9846 GB, free: 22.2 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.8394/1.008, allocations: 131.9 MB / 1.113 GB, free: 1.953 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001423/1.009, allocations: 27.69 kB / 1.113 GB, free: 1.941 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.004811/1.014, allocations: 1.427 MB / 1.115 GB, free: 1.773 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.003326/1.017, allocations: 0.9303 MB / 1.116 GB, free: 1.703 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.003816/1.021, allocations: 0.9922 MB / 1.117 GB, free: 1.672 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.00461/1.026, allocations: 2.649 MB / 1.119 GB, free: 1.582 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001773/1.028, allocations: 0.9792 MB / 1.12 GB, free: 1.379 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002687/1.03, allocations: 1.241 MB / 1.121 GB, free: 1.137 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002114/1.032, allocations: 1.035 MB / 1.122 GB, free: 0.9375 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0004415/1.033, allocations: 64.84 kB / 1.123 GB, free: 0.9375 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00459/1.038, allocations: 1.878 MB / 1.124 GB, free: 0.9102 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.004347/1.042, allocations: 4.541 MB / 1.129 GB, free: 104 kB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.002795/1.045, allocations: 1.253 MB / 1.13 GB, free: 0 / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.02006/1.065, allocations: 15.11 MB / 1.145 GB, free: 9.059 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.571e-06/1.065, allocations: 1.125 kB / 1.145 GB, free: 9.059 MB / 0.698 GB Notification: Performance of FrontEnd: time 6.675e-06/1.065, allocations: 7.922 kB / 1.145 GB, free: 9.051 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0003269/1.065, allocations: 1.859 kB / 1.145 GB, free: 9.051 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 400 * Number of variables: 400 Notification: Performance of Generate backend data structure: time 0.03845/1.104, allocations: 11.31 MB / 1.156 GB, free: 3.227 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.821e-05/1.104, allocations: 11.16 kB / 1.156 GB, free: 3.223 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006592/1.11, allocations: 0.9123 MB / 1.157 GB, free: 2.73 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 2.332/3.442, allocations: 0.9547 GB / 2.111 GB, free: 76.68 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001401/3.442, allocations: 166.5 kB / 2.112 GB, free: 76.52 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004475/3.443, allocations: 224 kB / 2.112 GB, free: 76.3 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003996/3.447, allocations: 1.995 MB / 2.114 GB, free: 74.25 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.821e-05/3.447, allocations: 7.938 kB / 2.114 GB, free: 74.24 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001917/3.447, allocations: 68 kB / 2.114 GB, free: 74.17 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.893e-05/3.447, allocations: 32 kB / 2.114 GB, free: 74.14 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004133/3.451, allocations: 2.127 MB / 2.116 GB, free: 72.01 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.8358/4.287, allocations: 242.5 MB / 2.353 GB, free: 221.7 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003167/4.29, allocations: 1.511 MB / 2.354 GB, free: 220.2 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001217/4.291, allocations: 38.59 kB / 2.354 GB, free: 220.2 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001857/4.292, allocations: 1.002 MB / 2.355 GB, free: 219.2 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=126): time 4.461e-06/4.292, allocations: 1.906 kB / 2.355 GB, free: 219.2 MB / 0.9636 GB Notification: Performance of matching and sorting (n=126): time 0.01349/4.306, allocations: 3.5 MB / 2.359 GB, free: 216.1 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003827/4.306, allocations: 365.9 kB / 2.359 GB, free: 215.6 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.04/8.346, allocations: 1.182 GB / 3.541 GB, free: 152.6 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0005026/8.347, allocations: 82.64 kB / 3.542 GB, free: 152.6 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.00668/8.353, allocations: 3.705 MB / 3.545 GB, free: 149.1 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005125/8.354, allocations: 416.4 kB / 3.546 GB, free: 148.9 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002561/8.354, allocations: 56 kB / 3.546 GB, free: 148.8 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0002336/8.354, allocations: 439.8 kB / 3.546 GB, free: 148.4 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002933/8.357, allocations: 1.618 MB / 3.548 GB, free: 146.8 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003741/8.361, allocations: 2.557 MB / 3.55 GB, free: 143.8 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003865/8.365, allocations: 2.143 MB / 3.552 GB, free: 141.7 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.655e-05/8.365, allocations: 8 kB / 3.552 GB, free: 141.7 MB / 0.9636 GB Notification: Performance of matching and sorting (n=360) (initialization): time 0.01488/8.38, allocations: 5.348 MB / 3.557 GB, free: 136.3 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002295/8.38, allocations: 205.6 kB / 3.558 GB, free: 136.1 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.918e-05/8.38, allocations: 29.5 kB / 3.558 GB, free: 136.1 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006937/8.381, allocations: 128.9 kB / 3.558 GB, free: 136 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002965/8.384, allocations: 0.5933 MB / 3.558 GB, free: 135.4 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002189/8.386, allocations: 1.596 MB / 3.56 GB, free: 133.7 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00876/8.395, allocations: 1.174 MB / 3.561 GB, free: 132.5 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007008/8.396, allocations: 140 kB / 3.561 GB, free: 132.3 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 128 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (329): * Single equations (assignments): 327 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.00707/8.403, allocations: 3.823 MB / 3.565 GB, free: 128.5 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004943/8.408, allocations: 0.7401 MB / 3.566 GB, free: 127.8 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008624/8.416, allocations: 3.718 MB / 3.569 GB, free: 124 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-05/8.416, allocations: 16 kB / 3.569 GB, free: 124 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/8.416, allocations: 0 / 3.569 GB, free: 124 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.546e-05/8.416, allocations: 3.984 kB / 3.569 GB, free: 124 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03151/8.448, allocations: 11.71 MB / 3.581 GB, free: 112.2 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.562e-05/8.448, allocations: 4 kB / 3.581 GB, free: 112.2 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002196/8.45, allocations: 199.8 kB / 3.581 GB, free: 112 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001075/8.451, allocations: 88.7 kB / 3.581 GB, free: 111.9 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000353/8.452, allocations: 35.98 kB / 3.581 GB, free: 111.9 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003701/8.456, allocations: 1.554 MB / 3.583 GB, free: 110.2 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.98e-06/8.456, allocations: 3.953 kB / 3.583 GB, free: 110.2 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01754/8.473, allocations: 3.285 MB / 3.586 GB, free: 106.9 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01494/8.488, allocations: 3.128 MB / 3.589 GB, free: 103.7 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007695/8.496, allocations: 27.95 kB / 3.589 GB, free: 103.7 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01411/8.51, allocations: 0.7759 MB / 3.59 GB, free: 102.9 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006691/8.511, allocations: 81.59 kB / 3.59 GB, free: 102.8 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000407/8.511, allocations: 60.59 kB / 3.59 GB, free: 102.8 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 3.074/11.59, allocations: 0.9476 GB / 4.537 GB, free: 263 MB / 0.9636 GB Notification: Performance of sort global known variables: time 1.38e-06/11.59, allocations: 0 / 4.537 GB, free: 263 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.009055/11.59, allocations: 1.809 MB / 4.539 GB, free: 261.4 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (111): * Single equations (assignments): 107 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.003469/11.6, allocations: 0.9593 MB / 4.54 GB, free: 260.8 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.007338/11.61, allocations: 5.073 MB / 4.545 GB, free: 256.1 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 7.157e-06/11.61, allocations: 0 / 4.545 GB, free: 256.1 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.002911/11.61, allocations: 2.403 MB / 4.547 GB, free: 253.9 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006777/11.62, allocations: 0.7482 MB / 4.548 GB, free: 253.2 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05129/11.67, allocations: 18.4 MB / 4.566 GB, free: 235.1 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01039/11.68, allocations: 4.762 MB / 4.571 GB, free: 230.3 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.01044/11.69, allocations: 3.015 MB / 4.574 GB, free: 227.3 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006437/11.69, allocations: 1.186 MB / 4.575 GB, free: 226.1 MB / 0.9636 GB Notification: Performance of SimCode: time 1.751e-06/11.69, allocations: 0 / 4.575 GB, free: 226.1 MB / 0.9636 GB Notification: Performance of Templates: time 1.366/13.06, allocations: 427.2 MB / 4.992 GB, free: 185.6 MB / 0.9636 GB