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.WindowRadiationElectrochromic.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.WindowRadiationElectrochromic,fileNamePrefix="Buildings_6_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiationElectrochromic",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.01085/0.01085, allocations: 106.5 kB / 15.06 MB, free: 5.555 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.001196/0.001196, allocations: 180.6 kB / 15.95 MB, free: 5.52 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.941/1.941, allocations: 194.6 MB / 211.3 MB, free: 11.03 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.249/2.249, allocations: 236.2 MB / 492.6 MB, free: 11.36 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000468/0.000468, allocations: 12 kB / 0.587 GB, free: 2.102 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6942/0.6947, allocations: 98.71 MB / 0.6834 GB, free: 16.78 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic): time 0.009412/0.7042, allocations: 5.815 MB / 0.6891 GB, free: 12.65 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.229/0.9332, allocations: 132 MB / 0.818 GB, free: 4.25 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001927/0.9352, allocations: 27.81 kB / 0.8181 GB, free: 4.223 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.007033/0.9422, allocations: 1.413 MB / 0.8194 GB, free: 2.805 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.004268/0.9466, allocations: 0.9272 MB / 0.8203 GB, free: 1.875 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.004694/0.9513, allocations: 0.9667 MB / 0.8213 GB, free: 0.9062 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.005883/0.9572, allocations: 2.64 MB / 0.8239 GB, free: 14.27 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002059/0.9593, allocations: 0.9496 MB / 0.8248 GB, free: 13.28 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00347/0.9628, allocations: 1.261 MB / 0.826 GB, free: 12.02 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002802/0.9657, allocations: 1.047 MB / 0.827 GB, free: 10.96 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.0005822/0.9663, allocations: 64 kB / 0.8271 GB, free: 10.9 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005673/0.972, allocations: 1.908 MB / 0.829 GB, free: 8.992 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.006072/0.9781, allocations: 4.541 MB / 0.8334 GB, free: 4.441 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.002687/0.9808, allocations: 1.22 MB / 0.8346 GB, free: 3.211 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.02226/1.003, allocations: 15.1 MB / 0.8493 GB, free: 4.078 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 4.389e-06/1.003, allocations: 0 / 0.8493 GB, free: 4.078 MB / 0.6667 GB Notification: Performance of FrontEnd: time 3.617e-06/1.003, allocations: 0 / 0.8493 GB, free: 4.078 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0003816/1.004, allocations: 0 / 0.8493 GB, free: 4.078 MB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 397 * Number of variables: 397 Notification: Performance of Generate backend data structure: time 0.04007/1.044, allocations: 11.33 MB / 0.8604 GB, free: 8.625 MB / 0.6824 GB Notification: Performance of prepare preOptimizeDAE: time 5.39e-05/1.044, allocations: 20.02 kB / 0.8604 GB, free: 8.605 MB / 0.6824 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008444/1.045, allocations: 224 kB / 0.8606 GB, free: 8.375 MB / 0.6824 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008545/1.053, allocations: 1.036 MB / 0.8616 GB, free: 7.328 MB / 0.6824 GB Notification: Performance of preOpt evaluateParameters (simulation): time 2.86/3.914, allocations: 0.9546 GB / 1.816 GB, free: 52.45 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001526/3.914, allocations: 166.8 kB / 1.816 GB, free: 52.29 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005193/3.914, allocations: 224 kB / 1.817 GB, free: 52.07 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005174/3.92, allocations: 2.046 MB / 1.819 GB, free: 49.97 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.017e-05/3.92, allocations: 0 / 1.819 GB, free: 49.97 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002615/3.92, allocations: 68 kB / 1.819 GB, free: 49.9 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.071e-05/3.92, allocations: 39.75 kB / 1.819 GB, free: 49.87 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006021/3.926, allocations: 2.259 MB / 1.821 GB, free: 47.6 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7917/4.718, allocations: 242.6 MB / 2.058 GB, free: 142 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005262/4.723, allocations: 1.649 MB / 2.059 GB, free: 140.4 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000903/4.724, allocations: 478.6 kB / 2.06 GB, free: 139.8 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00275/4.727, allocations: 1.078 MB / 2.061 GB, free: 138.7 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=126): time 3.997e-06/4.727, allocations: 0 / 2.061 GB, free: 138.7 MB / 0.8386 GB Notification: Performance of matching and sorting (n=126): time 0.01402/4.741, allocations: 3.646 MB / 2.065 GB, free: 135.4 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002525/4.741, allocations: 332.8 kB / 2.065 GB, free: 135.1 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.446/9.188, allocations: 1.182 GB / 3.247 GB, free: 261.2 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0006406/9.188, allocations: 81.7 kB / 3.247 GB, free: 261.2 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.00677/9.195, allocations: 3.663 MB / 3.251 GB, free: 257.7 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006528/9.196, allocations: 416.7 kB / 3.251 GB, free: 257.5 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002776/9.196, allocations: 52 kB / 3.251 GB, free: 257.4 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0002512/9.196, allocations: 439.8 kB / 3.252 GB, free: 257 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004263/9.201, allocations: 1.687 MB / 3.253 GB, free: 255.3 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0051/9.206, allocations: 2.606 MB / 3.256 GB, free: 252.3 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005365/9.211, allocations: 2.251 MB / 3.258 GB, free: 250.1 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.01e-05/9.211, allocations: 8 kB / 3.258 GB, free: 250.1 MB / 0.8542 GB Notification: Performance of matching and sorting (n=362) (initialization): time 0.01735/9.229, allocations: 5.569 MB / 3.264 GB, free: 244.5 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002736/9.229, allocations: 263.7 kB / 3.264 GB, free: 244.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.085e-05/9.229, allocations: 32 kB / 3.264 GB, free: 244.2 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009958/9.23, allocations: 128.7 kB / 3.264 GB, free: 244.1 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00464/9.235, allocations: 0.6084 MB / 3.265 GB, free: 243.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002724/9.237, allocations: 1.601 MB / 3.266 GB, free: 241.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01037/9.248, allocations: 1.183 MB / 3.267 GB, free: 240.5 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007481/9.249, allocations: 140 kB / 3.267 GB, free: 240.4 MB / 0.8542 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.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 (331): * Single equations (assignments): 327 * 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: 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.007817/9.256, allocations: 3.817 MB / 3.271 GB, free: 236.6 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004465/9.261, allocations: 0.7362 MB / 3.272 GB, free: 235.8 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0115/9.273, allocations: 3.809 MB / 3.276 GB, free: 232 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.795e-05/9.273, allocations: 15.66 kB / 3.276 GB, free: 232 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/9.273, allocations: 3.719 kB / 3.276 GB, free: 232 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.033e-05/9.273, allocations: 4.922 kB / 3.276 GB, free: 232 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03183/9.304, allocations: 11.8 MB / 3.287 GB, free: 220.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.017e-05/9.305, allocations: 4 kB / 3.287 GB, free: 220.1 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002016/9.307, allocations: 207.7 kB / 3.287 GB, free: 219.9 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009211/9.308, allocations: 92.72 kB / 3.287 GB, free: 219.8 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002872/9.308, allocations: 34.88 kB / 3.288 GB, free: 219.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002487/9.31, allocations: 1.555 MB / 3.289 GB, free: 218.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/9.31, allocations: 4.031 kB / 3.289 GB, free: 218.1 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01155/9.322, allocations: 3.362 MB / 3.292 GB, free: 214.7 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009354/9.331, allocations: 3.144 MB / 3.295 GB, free: 211.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004562/9.336, allocations: 31.75 kB / 3.295 GB, free: 211.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01039/9.346, allocations: 0.7772 MB / 3.296 GB, free: 210.7 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006253/9.347, allocations: 86.56 kB / 3.296 GB, free: 210.6 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003312/9.347, allocations: 64.03 kB / 3.296 GB, free: 210.5 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 2.87/12.22, allocations: 0.9476 GB / 4.244 GB, free: 249.4 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5.81e-07/12.22, allocations: 2.406 kB / 4.244 GB, free: 249.4 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.009804/12.23, allocations: 1.826 MB / 4.246 GB, free: 247.7 MB / 0.8542 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.conTim1.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (107): * Single equations (assignments): 103 * 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.01495/12.24, allocations: 4.859 MB / 4.25 GB, free: 243.9 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.009889/12.25, allocations: 5.29 MB / 4.256 GB, free: 238.8 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 8.426e-06/12.25, allocations: 4 kB / 4.256 GB, free: 238.8 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.004131/12.26, allocations: 2.448 MB / 4.258 GB, free: 236.4 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006606/12.26, allocations: 0.6996 MB / 4.259 GB, free: 235.7 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05601/12.32, allocations: 43.86 MB / 4.302 GB, free: 190.2 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009849/12.33, allocations: 4.727 MB / 4.306 GB, free: 185.5 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.01128/12.34, allocations: 3.006 MB / 4.309 GB, free: 182.4 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01183/12.35, allocations: 3.99 MB / 4.313 GB, free: 178.4 MB / 0.8542 GB Notification: Performance of SimCode: time 1.092e-06/12.35, allocations: 0 / 4.313 GB, free: 178.4 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.064/14.42, allocations: 0.4936 GB / 4.807 GB, free: 312.8 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002031/14.42, allocations: 332.8 kB / 4.807 GB, free: 312.5 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.38/25.79, allocations: 5.781 kB / 4.807 GB, free: 312.5 MB / 0.8542 GB