Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.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.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.662/2.662, allocations: 251.1 MB / 266.1 MB, free: 11.61 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.001709/0.001709, allocations: 183.4 kB / 325.6 MB, free: 2.812 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.504/2.504, allocations: 205.4 MB / 0.5766 GB, free: 20.76 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.001173/0.001173, allocations: 90.36 kB / 0.6811 GB, free: 13.6 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005074/0.0005076, allocations: 12.56 kB / 0.7951 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2262/0.2268, allocations: 106.3 MB / 0.8989 GB, free: 65.46 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic): time 0.007733/0.2346, allocations: 4.879 MB / 0.9037 GB, free: 60.55 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.2317/0.4664, allocations: 131.1 MB / 1.032 GB, free: 9.152 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001127/0.4676, allocations: 23.88 kB / 1.032 GB, free: 9.129 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.005516/0.4731, allocations: 1.301 MB / 1.033 GB, free: 7.824 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.002843/0.476, allocations: 0.6206 MB / 1.034 GB, free: 7.207 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.003326/0.4793, allocations: 0.7672 MB / 1.034 GB, free: 6.445 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.003781/0.4831, allocations: 1.779 MB / 1.036 GB, free: 4.66 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001486/0.4847, allocations: 0.7025 MB / 1.037 GB, free: 3.93 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002189/0.4869, allocations: 0.8367 MB / 1.038 GB, free: 3.09 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001507/0.4884, allocations: 0.6768 MB / 1.038 GB, free: 2.41 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0002639/0.4887, allocations: 44 kB / 1.038 GB, free: 2.367 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004411/0.4931, allocations: 1.658 MB / 1.04 GB, free: 0.707 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0026/0.4958, allocations: 1.867 MB / 1.042 GB, free: 14.84 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0009946/0.4968, allocations: 0.5621 MB / 1.042 GB, free: 14.27 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.01054/0.5073, allocations: 6.124 MB / 1.048 GB, free: 8.129 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.5074, allocations: 0 / 1.048 GB, free: 8.129 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.896e-06/0.5074, allocations: 0 / 1.048 GB, free: 8.129 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001215/0.5076, allocations: 0 / 1.048 GB, free: 8.129 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: 309 * Number of variables: 309 Notification: Performance of Generate backend data structure: time 0.01646/0.524, allocations: 5.011 MB / 1.053 GB, free: 3.043 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.052e-05/0.5241, allocations: 8.031 kB / 1.053 GB, free: 3.035 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002973/0.5271, allocations: 466.8 kB / 1.054 GB, free: 2.574 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 1.008/1.535, allocations: 307.4 MB / 1.354 GB, free: 10.62 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001817/1.536, allocations: 130.6 kB / 1.354 GB, free: 10.5 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004862/1.536, allocations: 172 kB / 1.354 GB, free: 10.33 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003688/1.54, allocations: 1.319 MB / 1.355 GB, free: 8.957 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.856e-05/1.54, allocations: 0 / 1.355 GB, free: 8.957 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001864/1.54, allocations: 50.23 kB / 1.355 GB, free: 8.91 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.602e-05/1.54, allocations: 28 kB / 1.355 GB, free: 8.883 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003992/1.544, allocations: 1.417 MB / 1.357 GB, free: 7.461 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6965/2.241, allocations: 76.35 MB / 1.431 GB, free: 277.8 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002792/2.243, allocations: 1.135 MB / 1.432 GB, free: 276.7 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000117/2.244, allocations: 35.98 kB / 1.433 GB, free: 276.6 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001498/2.245, allocations: 0.6605 MB / 1.433 GB, free: 276 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=106): time 5.6e-06/2.245, allocations: 0 / 1.433 GB, free: 276 MB / 0.8542 GB Notification: Performance of matching and sorting (n=106): time 0.006143/2.251, allocations: 2.262 MB / 1.435 GB, free: 273.9 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002157/2.252, allocations: 346.2 kB / 1.436 GB, free: 273.5 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.273/3.525, allocations: 379.7 MB / 1.806 GB, free: 218.5 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0004248/3.525, allocations: 65.7 kB / 1.807 GB, free: 218.5 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.00229/3.527, allocations: 1.571 MB / 1.808 GB, free: 217 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004682/3.528, allocations: 359.6 kB / 1.808 GB, free: 216.7 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001622/3.528, allocations: 40 kB / 1.808 GB, free: 216.7 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001636/3.528, allocations: 407.5 kB / 1.809 GB, free: 216.3 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002487/3.531, allocations: 1.158 MB / 1.81 GB, free: 215.1 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002929/3.534, allocations: 1.876 MB / 1.812 GB, free: 213 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003177/3.537, allocations: 1.583 MB / 1.813 GB, free: 211.4 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.678e-05/3.537, allocations: 11 kB / 1.813 GB, free: 211.4 MB / 0.8542 GB Notification: Performance of matching and sorting (n=278) (initialization): time 0.008761/3.546, allocations: 3.672 MB / 1.817 GB, free: 207.7 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002348/3.546, allocations: 195.6 kB / 1.817 GB, free: 207.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.426e-05/3.546, allocations: 20.78 kB / 1.817 GB, free: 207.5 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.196e-05/3.546, allocations: 36 kB / 1.817 GB, free: 207.5 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002908/3.549, allocations: 459.2 kB / 1.818 GB, free: 207 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.77e-05/3.549, allocations: 46.2 kB / 1.818 GB, free: 207 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004264/3.553, allocations: 0.5355 MB / 1.818 GB, free: 206.5 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004536/3.554, allocations: 104 kB / 1.818 GB, free: 206.4 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 96 * 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 (249): * Single equations (assignments): 248 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003679/3.558, allocations: 1.639 MB / 1.82 GB, free: 204.7 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001634/3.559, allocations: 338.6 kB / 1.82 GB, free: 204.4 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006014/3.565, allocations: 2.439 MB / 1.823 GB, free: 201.9 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.398e-05/3.565, allocations: 12.98 kB / 1.823 GB, free: 201.9 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.075e-06/3.565, allocations: 0 / 1.823 GB, free: 201.9 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.286e-05/3.565, allocations: 3.984 kB / 1.823 GB, free: 201.9 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01273/3.578, allocations: 5.643 MB / 1.828 GB, free: 196.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.105e-06/3.578, allocations: 0 / 1.828 GB, free: 196.2 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001168/3.579, allocations: 155.8 kB / 1.828 GB, free: 196.1 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.428e-05/3.58, allocations: 0 / 1.828 GB, free: 196.1 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001258/3.58, allocations: 32.53 kB / 1.828 GB, free: 196 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.598e-06/3.58, allocations: 7.984 kB / 1.828 GB, free: 196 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/3.58, allocations: 0 / 1.828 GB, free: 196 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005281/3.585, allocations: 2.277 MB / 1.831 GB, free: 193.7 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003338/3.588, allocations: 1.226 MB / 1.832 GB, free: 192.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001521/3.59, allocations: 29.5 kB / 1.832 GB, free: 192.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003553/3.593, allocations: 300.6 kB / 1.832 GB, free: 192.1 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003046/3.594, allocations: 64.91 kB / 1.832 GB, free: 192.1 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001403/3.594, allocations: 43.98 kB / 1.832 GB, free: 192 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 1.051/4.645, allocations: 305.4 MB / 2.13 GB, free: 243.1 MB / 0.8698 GB Notification: Performance of sort global known variables: time 6.41e-07/4.645, allocations: 0 / 2.13 GB, free: 243.1 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.00556/4.65, allocations: 1.17 MB / 2.131 GB, free: 242.1 MB / 0.8698 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.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (90): * Single equations (assignments): 87 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00446/4.655, allocations: 0.908 MB / 2.132 GB, free: 241.5 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.01351/4.668, allocations: 4.026 MB / 2.136 GB, free: 237.6 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.809e-05/4.668, allocations: 4.938 kB / 2.136 GB, free: 237.6 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.003692/4.672, allocations: 1.958 MB / 2.138 GB, free: 235.6 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00873/4.681, allocations: 410.2 kB / 2.139 GB, free: 235.2 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04608/4.727, allocations: 8.252 MB / 2.147 GB, free: 227 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004659/4.732, allocations: 2.384 MB / 2.149 GB, free: 224.6 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.006638/4.738, allocations: 1.263 MB / 2.15 GB, free: 223.3 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00293/4.741, allocations: 491.2 kB / 2.151 GB, free: 222.8 MB / 0.8698 GB Notification: Performance of SimCode: time 1.163e-06/4.741, allocations: 0 / 2.151 GB, free: 222.8 MB / 0.8698 GB Notification: Performance of Templates: time 0.2741/5.016, allocations: 152 MB / 2.299 GB, free: 71.16 MB / 0.8698 GB