Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_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 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.AbsorbedRadiationElectrochromic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.474/2.474, allocations: 287.9 MB / 302.9 MB, free: 8.301 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.001514/0.001514, allocations: 174.7 kB / 371.4 MB, free: 10.7 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.135/2.135, allocations: 205.4 MB / 0.6301 GB, free: 10.46 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.001071/0.001072, allocations: 95.23 kB / 0.7434 GB, free: 6.465 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004668/0.0004671, allocations: 12.34 kB / 0.8662 GB, free: 141.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1602/0.1607, allocations: 115.3 MB / 0.9788 GB, free: 28.22 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic): time 0.005896/0.1666, allocations: 4.869 MB / 0.9835 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.7211/0.8878, allocations: 131.1 MB / 1.111 GB, free: 1.82 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001666/0.8895, allocations: 19.94 kB / 1.112 GB, free: 1.812 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.007868/0.8974, allocations: 1.304 MB / 1.113 GB, free: 1.672 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.004149/0.9016, allocations: 0.6183 MB / 1.113 GB, free: 1.625 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.004997/0.9066, allocations: 0.7704 MB / 1.114 GB, free: 1.594 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.00542/0.9121, allocations: 1.778 MB / 1.116 GB, free: 1.535 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002342/0.9145, allocations: 0.697 MB / 1.117 GB, free: 1.398 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003233/0.9177, allocations: 0.8474 MB / 1.117 GB, free: 1.23 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001931/0.9197, allocations: 0.6681 MB / 1.118 GB, free: 1.086 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0003907/0.9201, allocations: 45.91 kB / 1.118 GB, free: 1.086 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006877/0.927, allocations: 1.655 MB / 1.12 GB, free: 1.062 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.003568/0.9307, allocations: 1.869 MB / 1.122 GB, free: 0.9336 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.001577/0.9323, allocations: 0.5597 MB / 1.122 GB, free: 0.7734 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.0141/0.9464, allocations: 6.141 MB / 1.128 GB, free: 15.11 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.703e-06/0.9465, allocations: 0 / 1.128 GB, free: 15.11 MB / 0.698 GB Notification: Performance of FrontEnd: time 4.222e-06/0.9465, allocations: 1.75 kB / 1.128 GB, free: 15.11 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.000163/0.9467, allocations: 4 kB / 1.128 GB, free: 15.11 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.01824/0.965, allocations: 4.998 MB / 1.133 GB, free: 12.29 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.233e-05/0.965, allocations: 10 kB / 1.133 GB, free: 12.29 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002767/0.9678, allocations: 463.7 kB / 1.133 GB, free: 12.05 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.4267/1.395, allocations: 307.4 MB / 1.434 GB, free: 2.141 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001776/1.395, allocations: 118.7 kB / 1.434 GB, free: 2.023 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004907/1.395, allocations: 176 kB / 1.434 GB, free: 1.852 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003638/1.399, allocations: 1.323 MB / 1.435 GB, free: 476 kB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.047e-05/1.399, allocations: 0 / 1.435 GB, free: 476 kB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001667/1.399, allocations: 48 kB / 1.435 GB, free: 428 kB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.537e-05/1.399, allocations: 28 kB / 1.435 GB, free: 400 kB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.5254/1.925, allocations: 1.41 MB / 1.437 GB, free: 374.4 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07253/1.997, allocations: 76.36 MB / 1.511 GB, free: 326 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002161/1.999, allocations: 1.139 MB / 1.512 GB, free: 324.9 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 9.189e-05/2, allocations: 41.61 kB / 1.512 GB, free: 324.8 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001172/2.001, allocations: 0.6623 MB / 1.513 GB, free: 324.2 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=106): time 4.232e-06/2.001, allocations: 0 / 1.513 GB, free: 324.2 MB / 0.9636 GB Notification: Performance of matching and sorting (n=106): time 0.00517/2.006, allocations: 2.257 MB / 1.515 GB, free: 321.9 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000173/2.006, allocations: 342.2 kB / 1.516 GB, free: 321.5 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.109/3.115, allocations: 379.7 MB / 1.886 GB, free: 338.7 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.000356/3.115, allocations: 69.7 kB / 1.886 GB, free: 338.6 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.002196/3.117, allocations: 1.569 MB / 1.888 GB, free: 337.3 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004192/3.118, allocations: 358 kB / 1.888 GB, free: 337 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001536/3.118, allocations: 40 kB / 1.888 GB, free: 336.9 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.000187/3.118, allocations: 405.2 kB / 1.889 GB, free: 336.6 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002207/3.12, allocations: 1.157 MB / 1.89 GB, free: 335.6 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00276/3.123, allocations: 1.884 MB / 1.892 GB, free: 333.6 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002952/3.126, allocations: 1.584 MB / 1.893 GB, free: 332.1 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.864e-05/3.126, allocations: 4 kB / 1.893 GB, free: 332.1 MB / 0.9636 GB Notification: Performance of matching and sorting (n=278) (initialization): time 0.008353/3.135, allocations: 3.68 MB / 1.897 GB, free: 328.8 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002235/3.135, allocations: 186.3 kB / 1.897 GB, free: 328.6 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-05/3.135, allocations: 20.66 kB / 1.897 GB, free: 328.6 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.165e-05/3.135, allocations: 36 kB / 1.897 GB, free: 328.6 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002079/3.137, allocations: 455.3 kB / 1.897 GB, free: 328.2 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.872e-05/3.137, allocations: 47.42 kB / 1.897 GB, free: 328.1 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003875/3.141, allocations: 0.5387 MB / 1.898 GB, free: 327.6 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004876/3.142, allocations: 106.3 kB / 1.898 GB, free: 327.5 MB / 0.9636 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.003074/3.145, allocations: 1.645 MB / 1.9 GB, free: 326 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001715/3.146, allocations: 344.7 kB / 1.9 GB, free: 325.7 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004989/3.151, allocations: 2.437 MB / 1.902 GB, free: 323.5 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.366e-05/3.151, allocations: 12 kB / 1.902 GB, free: 323.5 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.207e-06/3.151, allocations: 0 / 1.902 GB, free: 323.5 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.35e-05/3.151, allocations: 3.609 kB / 1.902 GB, free: 323.5 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01137/3.163, allocations: 5.639 MB / 1.908 GB, free: 318.6 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.59e-06/3.163, allocations: 0 / 1.908 GB, free: 318.6 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007835/3.164, allocations: 151.8 kB / 1.908 GB, free: 318.5 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.1e-05/3.164, allocations: 4 kB / 1.908 GB, free: 318.5 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.681e-05/3.164, allocations: 35.97 kB / 1.908 GB, free: 318.4 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.767e-06/3.164, allocations: 4 kB / 1.908 GB, free: 318.4 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/3.164, allocations: 3.938 kB / 1.908 GB, free: 318.4 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004572/3.168, allocations: 2.278 MB / 1.91 GB, free: 316.1 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002877/3.171, allocations: 1.226 MB / 1.912 GB, free: 314.9 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001311/3.173, allocations: 24 kB / 1.912 GB, free: 314.9 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002685/3.175, allocations: 302.1 kB / 1.912 GB, free: 314.6 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002114/3.176, allocations: 68.91 kB / 1.912 GB, free: 314.5 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001236/3.176, allocations: 46.75 kB / 1.912 GB, free: 314.4 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.3128/3.489, allocations: 305.4 MB / 2.21 GB, free: 9.02 MB / 0.9636 GB Notification: Performance of sort global known variables: time 2.485e-06/3.489, allocations: 0 / 2.21 GB, free: 9.02 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.004465/3.493, allocations: 1.166 MB / 2.211 GB, free: 7.93 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.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.00297/3.496, allocations: 0.8979 MB / 2.212 GB, free: 7.312 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.005267/3.501, allocations: 4.026 MB / 2.216 GB, free: 3.273 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 6.605e-06/3.501, allocations: 8.062 kB / 2.216 GB, free: 3.266 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.002068/3.503, allocations: 1.957 MB / 2.218 GB, free: 1.301 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0026/3.506, allocations: 415.7 kB / 2.218 GB, free: 0.8945 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5243/4.03, allocations: 8.244 MB / 2.227 GB, free: 368.6 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005121/4.036, allocations: 2.386 MB / 2.229 GB, free: 367.9 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.005052/4.041, allocations: 1.265 MB / 2.23 GB, free: 367.7 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002652/4.043, allocations: 483.8 kB / 2.231 GB, free: 367.7 MB / 0.9636 GB Notification: Performance of SimCode: time 1.889e-06/4.043, allocations: 0 / 2.231 GB, free: 367.7 MB / 0.9636 GB Notification: Performance of Templates: time 0.2651/4.309, allocations: 152 MB / 2.379 GB, free: 239 MB / 0.9636 GB