Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.009784/0.009789, allocations: 108.2 kB / 15.06 MB, free: 6.039 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001295/0.001295, allocations: 180.1 kB / 15.95 MB, free: 5.957 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 1.921/1.921, allocations: 194.5 MB / 211.3 MB, free: 11.04 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.323/2.323, allocations: 236.2 MB / 492.6 MB, free: 11.35 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004863/0.0004866, allocations: 16 kB / 0.5869 GB, free: 2.172 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6061/0.6066, allocations: 98.71 MB / 0.6833 GB, free: 16.75 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic): time 0.006339/0.613, allocations: 4.745 MB / 0.688 GB, free: 13.39 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.1945/0.8075, allocations: 131.1 MB / 0.816 GB, free: 6.223 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001284/0.8089, allocations: 15.94 kB / 0.816 GB, free: 6.207 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.005194/0.8141, allocations: 1.285 MB / 0.8173 GB, free: 4.918 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.002677/0.8168, allocations: 0.6193 MB / 0.8179 GB, free: 4.297 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.002952/0.8198, allocations: 0.7483 MB / 0.8186 GB, free: 3.547 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.003278/0.8231, allocations: 1.775 MB / 0.8204 GB, free: 1.77 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001299/0.8244, allocations: 0.654 MB / 0.821 GB, free: 1.094 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001814/0.8262, allocations: 0.8718 MB / 0.8219 GB, free: 224 kB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001474/0.8277, allocations: 0.6731 MB / 0.8225 GB, free: 15.54 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.0002891/0.8281, allocations: 44 kB / 0.8226 GB, free: 15.5 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004146/0.8322, allocations: 1.689 MB / 0.8242 GB, free: 13.81 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.002242/0.8345, allocations: 1.875 MB / 0.826 GB, free: 11.93 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.0009478/0.8355, allocations: 0.5582 MB / 0.8266 GB, free: 11.36 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.008893/0.8444, allocations: 6.139 MB / 0.8326 GB, free: 5.211 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 2.876e-06/0.8444, allocations: 0 / 0.8326 GB, free: 5.211 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.945e-06/0.8445, allocations: 0 / 0.8326 GB, free: 5.211 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 9.761e-05/0.8446, allocations: 0 / 0.8326 GB, free: 5.211 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: 306 * Number of variables: 306 Notification: Performance of Generate backend data structure: time 0.01212/0.8567, allocations: 5.026 MB / 0.8375 GB, free: 100 kB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.393e-05/0.8568, allocations: 12.03 kB / 0.8375 GB, free: 88 kB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003628/0.8604, allocations: 0.5728 MB / 0.8381 GB, free: 15.51 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.995/1.855, allocations: 307.4 MB / 1.138 GB, free: 6.312 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001159/1.856, allocations: 132.1 kB / 1.138 GB, free: 6.184 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002738/1.856, allocations: 173.1 kB / 1.139 GB, free: 6.016 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002782/1.859, allocations: 1.358 MB / 1.14 GB, free: 4.598 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.231e-05/1.859, allocations: 10.34 kB / 1.14 GB, free: 4.59 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001482/1.859, allocations: 52 kB / 1.14 GB, free: 4.539 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.233e-05/1.859, allocations: 28 kB / 1.14 GB, free: 4.512 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003291/1.862, allocations: 1.542 MB / 1.141 GB, free: 2.961 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08619/1.948, allocations: 76.4 MB / 1.216 GB, free: 6.551 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003553/1.952, allocations: 1.277 MB / 1.217 GB, free: 5.254 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008108/1.953, allocations: 473.6 kB / 1.218 GB, free: 4.707 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00177/1.955, allocations: 0.7299 MB / 1.218 GB, free: 3.965 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=106): time 4.253e-06/1.955, allocations: 3.75 kB / 1.218 GB, free: 3.965 MB / 0.8073 GB Notification: Performance of matching and sorting (n=106): time 0.006649/1.961, allocations: 2.412 MB / 1.221 GB, free: 1.523 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000287/1.962, allocations: 316.5 kB / 1.221 GB, free: 1.172 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.554/3.516, allocations: 379.6 MB / 1.592 GB, free: 246.6 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 0.0003033/3.516, allocations: 73.69 kB / 1.592 GB, free: 246.5 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.001842/3.518, allocations: 1.526 MB / 1.593 GB, free: 245.1 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003891/3.519, allocations: 355.9 kB / 1.594 GB, free: 244.8 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000155/3.519, allocations: 44 kB / 1.594 GB, free: 244.8 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001492/3.519, allocations: 406.3 kB / 1.594 GB, free: 244.4 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002339/3.521, allocations: 1.228 MB / 1.595 GB, free: 243.2 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002826/3.524, allocations: 1.92 MB / 1.597 GB, free: 241 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002952/3.527, allocations: 1.694 MB / 1.599 GB, free: 239.3 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.838e-05/3.527, allocations: 4 kB / 1.599 GB, free: 239.3 MB / 0.8073 GB Notification: Performance of matching and sorting (n=280) (initialization): time 0.008172/3.536, allocations: 4.041 MB / 1.603 GB, free: 235.2 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 0.00022/3.536, allocations: 238.5 kB / 1.603 GB, free: 235 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.548e-05/3.536, allocations: 24 kB / 1.603 GB, free: 234.9 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.049e-05/3.536, allocations: 33.2 kB / 1.603 GB, free: 234.9 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002225/3.538, allocations: 475.3 kB / 1.604 GB, free: 234.4 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.898e-05/3.538, allocations: 51.78 kB / 1.604 GB, free: 234.4 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003524/3.542, allocations: 0.5472 MB / 1.604 GB, free: 233.8 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000448/3.542, allocations: 112.4 kB / 1.604 GB, free: 233.7 MB / 0.8073 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.conTim1.tNext,weaDat.conTim1.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 (251): * Single equations (assignments): 248 * Array equations: 0 * Algorithm blocks: 3 * 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.002719/3.545, allocations: 1.629 MB / 1.606 GB, free: 232.1 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001207/3.546, allocations: 335.5 kB / 1.606 GB, free: 231.8 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005414/3.552, allocations: 2.537 MB / 1.609 GB, free: 229.2 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.545e-05/3.552, allocations: 12 kB / 1.609 GB, free: 229.2 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.109e-06/3.552, allocations: 4.984 kB / 1.609 GB, free: 229.2 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.27e-05/3.552, allocations: 3.984 kB / 1.609 GB, free: 229.2 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01071/3.562, allocations: 5.752 MB / 1.614 GB, free: 223.4 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.787e-06/3.563, allocations: 4 kB / 1.614 GB, free: 223.4 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009995/3.564, allocations: 167.8 kB / 1.614 GB, free: 223.2 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.205e-05/3.564, allocations: 4 kB / 1.614 GB, free: 223.2 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001188/3.564, allocations: 31.98 kB / 1.614 GB, free: 223.2 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1e-05/3.564, allocations: 3.953 kB / 1.614 GB, free: 223.2 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.41e-06/3.564, allocations: 1.641 kB / 1.614 GB, free: 223.2 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005013/3.569, allocations: 2.359 MB / 1.617 GB, free: 220.8 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002793/3.572, allocations: 1.249 MB / 1.618 GB, free: 219.5 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001124/3.573, allocations: 20 kB / 1.618 GB, free: 219.5 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002857/3.576, allocations: 311.9 kB / 1.618 GB, free: 219.2 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002725/3.576, allocations: 64.88 kB / 1.618 GB, free: 219.1 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001538/3.576, allocations: 47.97 kB / 1.618 GB, free: 219.1 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.763/4.339, allocations: 305.3 MB / 1.917 GB, free: 222.3 MB / 0.8073 GB Notification: Performance of sort global known variables: time 1.401e-06/4.339, allocations: 0 / 1.917 GB, free: 222.3 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.004241/4.343, allocations: 1.188 MB / 1.918 GB, free: 221.2 MB / 0.8073 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.conTim1.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTim1.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 83 * 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.003165/4.347, allocations: 0.9745 MB / 1.919 GB, free: 220.6 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.005994/4.353, allocations: 4.246 MB / 1.923 GB, free: 216.3 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 7.192e-06/4.353, allocations: 3.906 kB / 1.923 GB, free: 216.3 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.002485/4.355, allocations: 1.997 MB / 1.925 GB, free: 214.3 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002147/4.357, allocations: 345.8 kB / 1.925 GB, free: 214 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01332/4.371, allocations: 8.215 MB / 1.933 GB, free: 205.8 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002737/4.374, allocations: 2.362 MB / 1.935 GB, free: 203.4 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.003949/4.377, allocations: 1.253 MB / 1.937 GB, free: 202.1 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001936/4.379, allocations: 483.2 kB / 1.937 GB, free: 201.7 MB / 0.8073 GB Notification: Performance of SimCode: time 1.921e-06/4.379, allocations: 3.938 kB / 1.937 GB, free: 201.7 MB / 0.8073 GB Notification: Performance of Templates: time 0.2451/4.625, allocations: 151.9 MB / 2.085 GB, free: 50.09 MB / 0.8073 GB