Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_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 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.WindowRadiationElectrochromic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.382/2.382, allocations: 251.1 MB / 266.1 MB, free: 11.63 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.00239/0.002389, allocations: 185 kB / 325.6 MB, free: 2.855 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.534/2.534, allocations: 205.4 MB / 0.5766 GB, free: 20.82 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.001099/0.001099, allocations: 100.3 kB / 0.6811 GB, free: 13.61 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004927/0.000493, allocations: 14.34 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2311/0.2316, allocations: 106.3 MB / 0.8989 GB, free: 65.5 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic): time 0.0134/0.2451, allocations: 5.972 MB / 0.9047 GB, free: 59.5 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.2396/0.4847, allocations: 131.9 MB / 1.034 GB, free: 7.219 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00197/0.4868, allocations: 27.81 kB / 1.034 GB, free: 7.191 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.008145/0.4949, allocations: 1.433 MB / 1.035 GB, free: 5.754 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.004907/0.4999, allocations: 0.9259 MB / 1.036 GB, free: 4.828 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.004776/0.5047, allocations: 0.9933 MB / 1.037 GB, free: 3.844 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.006091/0.5108, allocations: 2.652 MB / 1.039 GB, free: 1.188 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002092/0.513, allocations: 0.967 MB / 1.04 GB, free: 184 kB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003204/0.5162, allocations: 1.241 MB / 1.042 GB, free: 14.93 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002711/0.5189, allocations: 1.043 MB / 1.043 GB, free: 13.89 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0006532/0.5196, allocations: 64 kB / 1.043 GB, free: 13.82 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005605/0.5253, allocations: 1.876 MB / 1.045 GB, free: 11.95 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.006497/0.5318, allocations: 4.545 MB / 1.049 GB, free: 7.391 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.002822/0.5347, allocations: 1.22 MB / 1.05 GB, free: 6.16 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.6928/1.228, allocations: 15.09 MB / 1.065 GB, free: 7.02 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/1.228, allocations: 0 / 1.065 GB, free: 7.02 MB / 0.698 GB Notification: Performance of FrontEnd: time 4.368e-06/1.228, allocations: 3.875 kB / 1.065 GB, free: 7.02 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0004543/1.228, allocations: 0 / 1.065 GB, free: 7.02 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.04506/1.273, allocations: 11.31 MB / 1.076 GB, free: 3.023 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.247e-05/1.273, allocations: 9.125 kB / 1.076 GB, free: 3.023 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00834/1.282, allocations: 0.9155 MB / 1.077 GB, free: 2.562 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 2.741/4.022, allocations: 0.9555 GB / 2.032 GB, free: 171.8 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002246/4.023, allocations: 166.9 kB / 2.033 GB, free: 171.6 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001119/4.024, allocations: 224 kB / 2.033 GB, free: 171.4 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00656/4.03, allocations: 1.999 MB / 2.035 GB, free: 169.3 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.658e-05/4.03, allocations: 0 / 2.035 GB, free: 169.3 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002946/4.031, allocations: 68 kB / 2.035 GB, free: 169.3 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.317e-05/4.031, allocations: 36 kB / 2.035 GB, free: 169.2 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006265/4.037, allocations: 2.127 MB / 2.037 GB, free: 167.1 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 1.015/5.052, allocations: 242.5 MB / 2.274 GB, free: 342 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005651/5.058, allocations: 1.51 MB / 2.275 GB, free: 340.5 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002058/5.058, allocations: 41.41 kB / 2.275 GB, free: 340.4 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003435/5.061, allocations: 1.005 MB / 2.276 GB, free: 339.4 MB / 0.948 GB Notification: Performance of pre-optimization done (n=126): time 5.911e-06/5.061, allocations: 0 / 2.276 GB, free: 339.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=126): time 0.01857/5.08, allocations: 3.499 MB / 2.28 GB, free: 336.2 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003521/5.08, allocations: 361 kB / 2.28 GB, free: 335.8 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.763/9.844, allocations: 1.182 GB / 3.462 GB, free: 342.5 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.001002/9.845, allocations: 77.7 kB / 3.462 GB, free: 342.4 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.008732/9.854, allocations: 3.703 MB / 3.466 GB, free: 338.9 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007384/9.854, allocations: 421.8 kB / 3.466 GB, free: 338.7 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008205/9.855, allocations: 52.88 kB / 3.467 GB, free: 338.6 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0003686/9.856, allocations: 432.6 kB / 3.467 GB, free: 338.2 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004812/9.86, allocations: 1.624 MB / 3.469 GB, free: 336.6 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005616/9.866, allocations: 2.557 MB / 3.471 GB, free: 333.7 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00572/9.872, allocations: 2.146 MB / 3.473 GB, free: 331.5 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.151e-05/9.872, allocations: 12 kB / 3.473 GB, free: 331.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=360) (initialization): time 0.02028/9.892, allocations: 5.34 MB / 3.478 GB, free: 326.2 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003573/9.893, allocations: 208.5 kB / 3.479 GB, free: 326 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-05/9.893, allocations: 31.31 kB / 3.479 GB, free: 325.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001078/9.894, allocations: 129 kB / 3.479 GB, free: 325.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004817/9.899, allocations: 0.5966 MB / 3.479 GB, free: 325.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003149/9.902, allocations: 1.588 MB / 3.481 GB, free: 323.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01272/9.915, allocations: 1.166 MB / 3.482 GB, free: 322.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009524/9.916, allocations: 140 kB / 3.482 GB, free: 322.2 MB / 0.948 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.009202/9.925, allocations: 3.821 MB / 3.486 GB, free: 318.3 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005892/9.931, allocations: 0.7439 MB / 3.487 GB, free: 317.6 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01103/9.942, allocations: 3.715 MB / 3.49 GB, free: 313.8 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.837e-05/9.942, allocations: 8 kB / 3.49 GB, free: 313.8 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/9.942, allocations: 4 kB / 3.49 GB, free: 313.8 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.391e-05/9.942, allocations: 3.984 kB / 3.49 GB, free: 313.8 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0339/9.976, allocations: 11.72 MB / 3.502 GB, free: 302 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.728e-06/9.976, allocations: 0 / 3.502 GB, free: 302 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001778/9.978, allocations: 199.7 kB / 3.502 GB, free: 301.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008772/9.979, allocations: 88.77 kB / 3.502 GB, free: 301.8 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002635/9.979, allocations: 39.98 kB / 3.502 GB, free: 301.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002458/9.981, allocations: 1.563 MB / 3.503 GB, free: 300 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/9.982, allocations: 0 / 3.503 GB, free: 300 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01198/9.993, allocations: 3.285 MB / 3.507 GB, free: 296.7 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01028/10, allocations: 3.121 MB / 3.51 GB, free: 293.6 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005514/10.01, allocations: 29.83 kB / 3.51 GB, free: 293.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01064/10.02, allocations: 0.7758 MB / 3.511 GB, free: 292.8 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005497/10.02, allocations: 84.88 kB / 3.511 GB, free: 292.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002229/10.02, allocations: 55.98 kB / 3.511 GB, free: 292.6 MB / 0.948 GB Notification: Performance of sorting global known variables: time 2.589/12.61, allocations: 0.9476 GB / 4.458 GB, free: 127.6 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.864e-06/12.61, allocations: 0 / 4.458 GB, free: 127.6 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.01229/12.62, allocations: 1.807 MB / 4.46 GB, free: 126 MB / 0.948 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.004084/12.63, allocations: 0.9595 MB / 4.461 GB, free: 125.4 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.01012/12.64, allocations: 5.071 MB / 4.466 GB, free: 120.3 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 8.706e-06/12.64, allocations: 4 kB / 4.466 GB, free: 120.3 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.004218/12.64, allocations: 2.402 MB / 4.468 GB, free: 117.9 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00848/12.65, allocations: 0.7422 MB / 4.469 GB, free: 117.1 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04584/12.7, allocations: 18.4 MB / 4.487 GB, free: 98.77 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01203/12.71, allocations: 4.76 MB / 4.492 GB, free: 93.98 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.01611/12.72, allocations: 3.015 MB / 4.495 GB, free: 90.96 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01187/12.74, allocations: 1.195 MB / 4.496 GB, free: 89.77 MB / 0.948 GB Notification: Performance of SimCode: time 2.425e-06/12.74, allocations: 0 / 4.496 GB, free: 89.77 MB / 0.948 GB Notification: Performance of Templates: time 1.703/14.44, allocations: 427.2 MB / 4.913 GB, free: 73.17 MB / 0.948 GB