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: "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic,fileNamePrefix="Buildings_6_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiationElectrochromic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01092/0.01093, allocations: 106.7 kB / 15.06 MB, free: 6.031 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.001251/0.001251, allocations: 180.2 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.991/1.991, allocations: 194.6 MB / 211.3 MB, free: 11.02 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.176/2.176, allocations: 236.1 MB / 492.6 MB, free: 11.33 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004775/0.0004777, allocations: 12 kB / 0.587 GB, free: 2.062 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6614/0.6619, allocations: 98.72 MB / 0.6834 GB, free: 16.84 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic): time 0.007494/0.6694, allocations: 4.749 MB / 0.6881 GB, free: 13.47 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.2176/0.8871, allocations: 131.1 MB / 0.8161 GB, free: 6.215 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001203/0.8884, allocations: 19.94 kB / 0.8161 GB, free: 6.195 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.006222/0.8946, allocations: 1.301 MB / 0.8174 GB, free: 4.891 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.002876/0.8975, allocations: 0.6077 MB / 0.818 GB, free: 4.281 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.003289/0.9008, allocations: 0.7521 MB / 0.8187 GB, free: 3.527 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.003665/0.9045, allocations: 1.771 MB / 0.8205 GB, free: 1.754 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001341/0.9059, allocations: 0.6657 MB / 0.8211 GB, free: 1.066 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002067/0.908, allocations: 0.864 MB / 0.822 GB, free: 204 kB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00153/0.9095, allocations: 0.6848 MB / 0.8226 GB, free: 15.51 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.0002918/0.9098, allocations: 44 kB / 0.8227 GB, free: 15.47 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004508/0.9144, allocations: 1.677 MB / 0.8243 GB, free: 13.79 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.002466/0.9169, allocations: 1.867 MB / 0.8261 GB, free: 11.92 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.0008969/0.9178, allocations: 0.5661 MB / 0.8267 GB, free: 11.34 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.01014/0.928, allocations: 6.143 MB / 0.8327 GB, free: 5.188 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.928, allocations: 0 / 0.8327 GB, free: 5.188 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.454e-06/0.928, allocations: 0 / 0.8327 GB, free: 5.188 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0001279/0.9282, allocations: 0 / 0.8327 GB, free: 5.188 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.01566/0.9438, allocations: 5.018 MB / 0.8376 GB, free: 84 kB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.299e-05/0.9439, allocations: 8.031 kB / 0.8376 GB, free: 76 kB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005604/0.9445, allocations: 185.6 kB / 0.8378 GB, free: 15.88 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004547/0.949, allocations: 0.5767 MB / 0.8383 GB, free: 15.3 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.8875/1.837, allocations: 307.4 MB / 1.138 GB, free: 6.023 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001192/1.837, allocations: 126.2 kB / 1.139 GB, free: 5.898 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000334/1.837, allocations: 173.1 kB / 1.139 GB, free: 5.73 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00343/1.841, allocations: 1.365 MB / 1.14 GB, free: 4.309 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.888e-05/1.841, allocations: 6.406 kB / 1.14 GB, free: 4.305 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001703/1.841, allocations: 48 kB / 1.14 GB, free: 4.258 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.477e-05/1.841, allocations: 32 kB / 1.14 GB, free: 4.227 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004198/1.845, allocations: 1.542 MB / 1.142 GB, free: 2.676 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09435/1.939, allocations: 76.4 MB / 1.216 GB, free: 6.266 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004544/1.944, allocations: 1.279 MB / 1.218 GB, free: 4.965 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009795/1.945, allocations: 475.3 kB / 1.218 GB, free: 4.418 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002193/1.947, allocations: 0.7246 MB / 1.219 GB, free: 3.68 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=106): time 4.338e-06/1.947, allocations: 0 / 1.219 GB, free: 3.68 MB / 0.8073 GB Notification: Performance of matching and sorting (n=106): time 0.008199/1.955, allocations: 2.412 MB / 1.221 GB, free: 1.238 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003065/1.956, allocations: 312.5 kB / 1.221 GB, free: 0.8906 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.666/3.622, allocations: 379.6 MB / 1.592 GB, free: 246.6 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 0.0004574/3.622, allocations: 69.7 kB / 1.592 GB, free: 246.5 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.00253/3.625, allocations: 1.534 MB / 1.594 GB, free: 245.1 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004907/3.626, allocations: 353.2 kB / 1.594 GB, free: 244.8 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001871/3.626, allocations: 40 kB / 1.594 GB, free: 244.7 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001864/3.626, allocations: 406.3 kB / 1.594 GB, free: 244.3 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003056/3.629, allocations: 1.221 MB / 1.596 GB, free: 243.1 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003551/3.633, allocations: 1.924 MB / 1.597 GB, free: 240.9 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003619/3.636, allocations: 1.697 MB / 1.599 GB, free: 239.2 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.768e-05/3.636, allocations: 4 kB / 1.599 GB, free: 239.2 MB / 0.8073 GB Notification: Performance of matching and sorting (n=280) (initialization): time 0.01007/3.646, allocations: 4.041 MB / 1.603 GB, free: 235.1 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002392/3.647, allocations: 241 kB / 1.603 GB, free: 234.9 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.468e-05/3.647, allocations: 24 kB / 1.603 GB, free: 234.9 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.145e-05/3.647, allocations: 33.27 kB / 1.603 GB, free: 234.8 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003259/3.65, allocations: 475.8 kB / 1.604 GB, free: 234.4 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.14e-05/3.65, allocations: 47.8 kB / 1.604 GB, free: 234.3 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004678/3.655, allocations: 0.5526 MB / 1.604 GB, free: 233.8 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005323/3.655, allocations: 107.8 kB / 1.605 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.003385/3.659, allocations: 1.637 MB / 1.606 GB, free: 232 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00155/3.66, allocations: 337.2 kB / 1.606 GB, free: 231.7 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006842/3.667, allocations: 2.531 MB / 1.609 GB, free: 229.1 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.341e-05/3.667, allocations: 8 kB / 1.609 GB, free: 229.1 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.819e-06/3.667, allocations: 4 kB / 1.609 GB, free: 229.1 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.198e-05/3.667, allocations: 11.92 kB / 1.609 GB, free: 229.1 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01356/3.681, allocations: 5.741 MB / 1.615 GB, free: 223.3 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.317e-06/3.681, allocations: 4 kB / 1.615 GB, free: 223.3 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001525/3.683, allocations: 167.8 kB / 1.615 GB, free: 223.2 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.398e-05/3.683, allocations: 4 kB / 1.615 GB, free: 223.2 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001703/3.683, allocations: 33.38 kB / 1.615 GB, free: 223.1 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.085e-06/3.683, allocations: 7.953 kB / 1.615 GB, free: 223.1 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/3.683, allocations: 0 / 1.615 GB, free: 223.1 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006353/3.689, allocations: 2.355 MB / 1.617 GB, free: 220.7 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003398/3.693, allocations: 1.257 MB / 1.618 GB, free: 219.4 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001345/3.694, allocations: 20 kB / 1.618 GB, free: 219.4 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003501/3.697, allocations: 307.9 kB / 1.619 GB, free: 219.1 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002625/3.698, allocations: 68.86 kB / 1.619 GB, free: 219.1 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001583/3.698, allocations: 43.98 kB / 1.619 GB, free: 219 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.858/4.556, allocations: 305.3 MB / 1.917 GB, free: 222.3 MB / 0.8073 GB Notification: Performance of sort global known variables: time 9.41e-07/4.556, allocations: 0 / 1.917 GB, free: 222.3 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.004919/4.561, allocations: 1.202 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.009547/4.571, allocations: 3.774 MB / 1.922 GB, free: 218 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.007348/4.578, allocations: 4.249 MB / 1.926 GB, free: 213.7 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 7.154e-06/4.578, allocations: 0 / 1.926 GB, free: 213.7 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.003081/4.581, allocations: 2.004 MB / 1.928 GB, free: 211.7 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003114/4.584, allocations: 348.6 kB / 1.928 GB, free: 211.4 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03038/4.615, allocations: 26.72 MB / 1.954 GB, free: 183.3 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004106/4.619, allocations: 2.372 MB / 1.957 GB, free: 180.9 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.006694/4.626, allocations: 1.238 MB / 1.958 GB, free: 179.6 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005897/4.631, allocations: 1.655 MB / 1.959 GB, free: 178 MB / 0.8073 GB Notification: Performance of SimCode: time 2.194e-06/4.632, allocations: 0 / 1.959 GB, free: 178 MB / 0.8073 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.941/5.573, allocations: 185.1 MB / 2.14 GB, free: 274.2 MB / 0.8073 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002781/5.573, allocations: 303.4 kB / 2.14 GB, free: 273.9 MB / 0.8073 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.626/11.2, allocations: 0 / 2.14 GB, free: 273.9 MB / 0.8073 GB