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: translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01527/0.01528, allocations: 108.2 kB / 15.06 MB, free: 6.043 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.001814/0.001814, allocations: 182.5 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 2.048/2.048, allocations: 194.5 MB / 211.3 MB, free: 11.05 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.376/2.376, allocations: 236.2 MB / 492.6 MB, free: 11.35 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004705/0.0004707, allocations: 15.98 kB / 0.5869 GB, free: 2.172 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5401/0.5406, allocations: 98.71 MB / 0.6833 GB, free: 16.88 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic): time 0.007452/0.5481, allocations: 5.819 MB / 0.689 GB, free: 12.75 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.1996/0.7478, allocations: 132 MB / 0.8179 GB, free: 4.262 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001792/0.7496, allocations: 23.81 kB / 0.818 GB, free: 4.238 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.005939/0.7556, allocations: 1.417 MB / 0.8193 GB, free: 2.816 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.003657/0.7593, allocations: 0.9233 MB / 0.8202 GB, free: 1.891 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.003933/0.7633, allocations: 0.9783 MB / 0.8212 GB, free: 0.9102 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.005007/0.7683, allocations: 2.636 MB / 0.8238 GB, free: 14.27 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001864/0.7702, allocations: 0.9496 MB / 0.8247 GB, free: 13.29 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002723/0.773, allocations: 1.253 MB / 0.8259 GB, free: 12.03 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002107/0.7751, allocations: 1.047 MB / 0.827 GB, free: 10.98 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.0003895/0.7755, allocations: 72 kB / 0.827 GB, free: 10.91 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006462/0.782, allocations: 1.907 MB / 0.8289 GB, free: 9 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.005447/0.7875, allocations: 4.534 MB / 0.8333 GB, free: 4.457 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.00233/0.7899, allocations: 1.216 MB / 0.8345 GB, free: 3.23 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.02013/0.81, allocations: 15.1 MB / 0.8492 GB, free: 4.09 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 3.615e-06/0.8101, allocations: 4 kB / 0.8493 GB, free: 4.086 MB / 0.6667 GB Notification: Performance of FrontEnd: time 3.035e-06/0.8101, allocations: 0 / 0.8493 GB, free: 4.086 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0002743/0.8104, allocations: 4 kB / 0.8493 GB, free: 4.082 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.03095/0.8413, allocations: 11.32 MB / 0.8603 GB, free: 8.641 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.095e-05/0.8414, allocations: 11.97 kB / 0.8603 GB, free: 8.629 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006587/0.848, allocations: 1.028 MB / 0.8613 GB, free: 7.59 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 2.645/3.493, allocations: 0.9547 GB / 1.816 GB, free: 48 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001521/3.493, allocations: 162.9 kB / 1.816 GB, free: 47.84 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005036/3.494, allocations: 226.6 kB / 1.816 GB, free: 47.62 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004261/3.498, allocations: 2.052 MB / 1.818 GB, free: 45.52 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.688e-05/3.498, allocations: 0 / 1.818 GB, free: 45.52 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002223/3.498, allocations: 67.98 kB / 1.818 GB, free: 45.45 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.918e-05/3.498, allocations: 36 kB / 1.818 GB, free: 45.41 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005041/3.503, allocations: 2.256 MB / 1.821 GB, free: 43.15 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7199/4.223, allocations: 242.6 MB / 2.058 GB, free: 135.7 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007109/4.23, allocations: 1.648 MB / 2.059 GB, free: 134.1 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001673/4.232, allocations: 483.6 kB / 2.06 GB, free: 133.5 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005769/4.238, allocations: 1.066 MB / 2.061 GB, free: 132.4 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=126): time 1.069e-05/4.238, allocations: 4 kB / 2.061 GB, free: 132.4 MB / 0.8386 GB Notification: Performance of matching and sorting (n=126): time 0.01393/4.252, allocations: 3.65 MB / 2.064 GB, free: 129.1 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002131/4.252, allocations: 328.8 kB / 2.065 GB, free: 128.7 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.489/8.742, allocations: 1.182 GB / 3.247 GB, free: 248 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0004193/8.742, allocations: 78.73 kB / 3.247 GB, free: 248 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.005538/8.748, allocations: 3.665 MB / 3.251 GB, free: 244.5 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005064/8.748, allocations: 417.5 kB / 3.251 GB, free: 244.3 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001938/8.748, allocations: 54.25 kB / 3.251 GB, free: 244.2 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001958/8.749, allocations: 441 kB / 3.252 GB, free: 243.8 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003166/8.752, allocations: 1.68 MB / 3.253 GB, free: 242.1 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003879/8.756, allocations: 2.609 MB / 3.256 GB, free: 239.1 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00398/8.76, allocations: 2.246 MB / 3.258 GB, free: 236.9 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.506e-05/8.76, allocations: 15.94 kB / 3.258 GB, free: 236.9 MB / 0.8542 GB Notification: Performance of matching and sorting (n=362) (initialization): time 0.01596/8.776, allocations: 5.565 MB / 3.263 GB, free: 231.3 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004065/8.776, allocations: 266.2 kB / 3.264 GB, free: 231 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.358e-05/8.776, allocations: 28 kB / 3.264 GB, free: 231 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001005/8.777, allocations: 121.1 kB / 3.264 GB, free: 230.8 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005385/8.783, allocations: 0.62 MB / 3.264 GB, free: 230.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003615/8.786, allocations: 1.59 MB / 3.266 GB, free: 228.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01416/8.801, allocations: 1.187 MB / 3.267 GB, free: 227.3 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001035/8.802, allocations: 144 kB / 3.267 GB, free: 227.2 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.01097/8.813, allocations: 3.82 MB / 3.271 GB, free: 223.3 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006342/8.819, allocations: 0.7377 MB / 3.272 GB, free: 222.6 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01618/8.835, allocations: 3.801 MB / 3.275 GB, free: 218.8 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.311e-05/8.835, allocations: 16 kB / 3.275 GB, free: 218.8 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.145e-05/8.835, allocations: 7.984 kB / 3.275 GB, free: 218.8 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.688e-05/8.836, allocations: 5.766 kB / 3.275 GB, free: 218.7 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03382/8.869, allocations: 11.8 MB / 3.287 GB, free: 206.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.727e-06/8.869, allocations: 0 / 3.287 GB, free: 206.9 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001335/8.871, allocations: 207.7 kB / 3.287 GB, free: 206.7 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005861/8.871, allocations: 88.7 kB / 3.287 GB, free: 206.6 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001916/8.872, allocations: 43.94 kB / 3.287 GB, free: 206.6 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001914/8.874, allocations: 1.559 MB / 3.289 GB, free: 204.9 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.482e-06/8.874, allocations: 0 / 3.289 GB, free: 204.9 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008826/8.882, allocations: 3.363 MB / 3.292 GB, free: 201.5 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007453/8.89, allocations: 3.144 MB / 3.295 GB, free: 198.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003145/8.893, allocations: 24 kB / 3.295 GB, free: 198.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006713/8.9, allocations: 0.7772 MB / 3.296 GB, free: 197.5 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003419/8.9, allocations: 80.89 kB / 3.296 GB, free: 197.4 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002207/8.9, allocations: 67.95 kB / 3.296 GB, free: 197.3 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 2.566/11.47, allocations: 0.9476 GB / 4.244 GB, free: 232 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.565e-06/11.47, allocations: 0 / 4.244 GB, free: 232 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.007752/11.47, allocations: 1.831 MB / 4.245 GB, free: 230.4 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.003455/11.48, allocations: 1.024 MB / 4.246 GB, free: 229.7 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.007941/11.49, allocations: 5.297 MB / 4.252 GB, free: 224.4 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 7.272e-06/11.49, allocations: 0 / 4.252 GB, free: 224.4 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.003234/11.49, allocations: 2.443 MB / 4.254 GB, free: 222 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00469/11.49, allocations: 0.6896 MB / 4.255 GB, free: 221.3 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03305/11.53, allocations: 18.41 MB / 4.273 GB, free: 202.9 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01035/11.54, allocations: 4.734 MB / 4.277 GB, free: 198.1 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.01007/11.55, allocations: 3.139 MB / 4.28 GB, free: 195 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00518/11.55, allocations: 1.194 MB / 4.281 GB, free: 193.8 MB / 0.8542 GB Notification: Performance of SimCode: time 2.242e-06/11.55, allocations: 0 / 4.281 GB, free: 193.8 MB / 0.8542 GB Notification: Performance of Templates: time 1.242/12.79, allocations: 427.2 MB / 4.699 GB, free: 111.3 MB / 0.8542 GB