Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.PVPanels.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.Electrical.AC.OnePhase.Sources.Examples.PVPanels,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.PVPanels") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.0124/0.01241, allocations: 220.6 kB / 15.17 MB, free: 5.93 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.001168/0.001167, allocations: 179.1 kB / 16.06 MB, free: 5.828 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 4.269/4.269, allocations: 389.1 MB / 405.9 MB, free: 11.72 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.001/4.001, allocations: 472.3 MB / 0.9018 GB, free: 9.207 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0005216/0.0005218, allocations: 22.08 kB / 1.008 GB, free: 138.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1341/0.1346, allocations: 98.72 MB / 1.104 GB, free: 41.98 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sources.Examples.PVPanels): time 0.009601/0.1443, allocations: 8.276 MB / 1.112 GB, free: 33.67 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.6569/0.8012, allocations: 138.8 MB / 1.248 GB, free: 0.5469 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00167/0.8029, allocations: 32.19 kB / 1.248 GB, free: 0.5352 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0008965/0.8038, allocations: 170.1 kB / 1.248 GB, free: 448 kB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.00347/0.8073, allocations: 0.7602 MB / 1.249 GB, free: 15.99 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.004161/0.8115, allocations: 1.1 MB / 1.25 GB, free: 15.46 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.004333/0.8159, allocations: 2.699 MB / 1.252 GB, free: 14.17 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005012/0.821, allocations: 2.274 MB / 1.254 GB, free: 13.04 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001766/0.8228, allocations: 0.8051 MB / 1.255 GB, free: 12.7 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002022/0.8248, allocations: 0.9966 MB / 1.256 GB, free: 12.28 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0004404/0.8253, allocations: 67.25 kB / 1.256 GB, free: 12.28 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001692/0.827, allocations: 428.4 kB / 1.257 GB, free: 12.18 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0009025/0.8279, allocations: 465.3 kB / 1.257 GB, free: 11.98 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0008216/0.8288, allocations: 453.7 kB / 1.258 GB, free: 11.68 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.005376/0.8342, allocations: 3.141 MB / 1.261 GB, free: 10.97 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 6.647e-06/0.8342, allocations: 4 kB / 1.261 GB, free: 10.97 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.861e-06/0.8342, allocations: 0 / 1.261 GB, free: 10.97 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0001101/0.8344, allocations: 0 / 1.261 GB, free: 10.97 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 650 * Number of variables: 650 Notification: Performance of Generate backend data structure: time 0.00697/0.8413, allocations: 2.398 MB / 1.263 GB, free: 9.508 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.966e-05/0.8414, allocations: 9.25 kB / 1.263 GB, free: 9.508 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01454/0.8559, allocations: 1.795 MB / 1.265 GB, free: 8.832 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003881/0.8599, allocations: 1.362 MB / 1.266 GB, free: 7.723 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002236/0.8601, allocations: 193.9 kB / 1.266 GB, free: 7.633 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009859/0.8611, allocations: 247.1 kB / 1.267 GB, free: 7.551 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01283/0.874, allocations: 3.471 MB / 1.27 GB, free: 5.41 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.442e-05/0.8741, allocations: 10.19 kB / 1.27 GB, free: 5.402 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000472/0.8746, allocations: 108.4 kB / 1.27 GB, free: 5.32 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001782/0.8748, allocations: 116.5 kB / 1.27 GB, free: 5.301 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01569/0.8905, allocations: 4.055 MB / 1.274 GB, free: 3.344 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03141/0.9219, allocations: 10.11 MB / 1.284 GB, free: 11.18 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01122/0.9332, allocations: 2.832 MB / 1.287 GB, free: 9.754 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005077/0.9383, allocations: 1.323 MB / 1.288 GB, free: 9.07 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001064/0.9394, allocations: 0.5874 MB / 1.289 GB, free: 8.434 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005432/0.9449, allocations: 1.577 MB / 1.29 GB, free: 7.484 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=194): time 6.017e-06/0.9449, allocations: 0 / 1.29 GB, free: 7.484 MB / 0.6511 GB Notification: Performance of matching and sorting (n=195): time 0.01618/0.9611, allocations: 4.403 MB / 1.294 GB, free: 4.426 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001671/0.9614, allocations: 231.6 kB / 1.295 GB, free: 4.148 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002002/0.9634, allocations: 1.036 MB / 1.296 GB, free: 3.102 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0005191/0.9639, allocations: 61.7 kB / 1.296 GB, free: 3.035 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.00101/0.9649, allocations: 0.8935 MB / 1.297 GB, free: 2.129 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.001022/0.966, allocations: 0.643 MB / 1.297 GB, free: 1.477 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002382/0.9662, allocations: 36 kB / 1.297 GB, free: 1.441 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0002423/0.9665, allocations: 378 kB / 1.298 GB, free: 1.066 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004695/0.9712, allocations: 1.136 MB / 1.299 GB, free: 15.93 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005808/0.977, allocations: 1.451 MB / 1.3 GB, free: 14.38 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00578/0.9829, allocations: 1.285 MB / 1.301 GB, free: 13.09 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-05/0.9829, allocations: 0 / 1.301 GB, free: 13.09 MB / 0.6667 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.01685/0.9998, allocations: 3.018 MB / 1.304 GB, free: 10.05 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003783/1, allocations: 331.6 kB / 1.305 GB, free: 9.625 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.507e-05/1, allocations: 8 kB / 1.305 GB, free: 9.617 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.656e-05/1, allocations: 16 kB / 1.305 GB, free: 9.602 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006312/1.007, allocations: 0.5656 MB / 1.305 GB, free: 9.035 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.37e-05/1.007, allocations: 23.92 kB / 1.305 GB, free: 9.012 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004212/1.011, allocations: 288.5 kB / 1.306 GB, free: 8.73 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006193/1.012, allocations: 99.88 kB / 1.306 GB, free: 8.633 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.437e-05/1.012, allocations: 4 kB / 1.306 GB, free: 8.629 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01071/1.022, allocations: 2.811 MB / 1.308 GB, free: 5.805 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.141e-05/1.022, allocations: 4 kB / 1.308 GB, free: 5.801 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.75e-05/1.023, allocations: 16 kB / 1.308 GB, free: 5.785 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004487/1.027, allocations: 0.554 MB / 1.309 GB, free: 5.23 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.428e-05/1.027, allocations: 23.92 kB / 1.309 GB, free: 5.207 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003103/1.03, allocations: 274.6 kB / 1.309 GB, free: 4.938 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004599/1.031, allocations: 95.92 kB / 1.309 GB, free: 4.844 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTim1.tNext,weaDat.conTim1.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,weaDat.conTim1.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (239): * Single equations (assignments): 237 * Array equations: 0 * Algorithm blocks: 2 * 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.001854/1.033, allocations: 0.5748 MB / 1.31 GB, free: 4.258 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005502/1.033, allocations: 162 kB / 1.31 GB, free: 4.098 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01248/1.046, allocations: 3.231 MB / 1.313 GB, free: 0.8672 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.498e-05/1.046, allocations: 23.98 kB / 1.313 GB, free: 0.8438 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.376e-05/1.046, allocations: 7.938 kB / 1.313 GB, free: 0.8359 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.063e-05/1.046, allocations: 11.95 kB / 1.313 GB, free: 0.8242 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01873/1.065, allocations: 5.949 MB / 1.319 GB, free: 10.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.445e-05/1.065, allocations: 4 kB / 1.319 GB, free: 10.8 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004347/1.069, allocations: 0.5188 MB / 1.32 GB, free: 10.28 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.075e-05/1.069, allocations: 8 kB / 1.32 GB, free: 10.27 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004927/1.07, allocations: 67.89 kB / 1.32 GB, free: 10.21 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.261e-05/1.07, allocations: 16.88 kB / 1.32 GB, free: 10.19 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.358e-06/1.07, allocations: 0 / 1.32 GB, free: 10.19 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0108/1.08, allocations: 2.914 MB / 1.323 GB, free: 7.25 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001805/1.082, allocations: 0.588 MB / 1.323 GB, free: 6.641 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004498/1.083, allocations: 40 kB / 1.323 GB, free: 6.602 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0029/1.086, allocations: 223.6 kB / 1.323 GB, free: 6.383 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004034/1.086, allocations: 125.8 kB / 1.323 GB, free: 6.262 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003271/1.086, allocations: 75.94 kB / 1.324 GB, free: 6.188 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.00147/1.088, allocations: 0.7425 MB / 1.324 GB, free: 5.441 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.243e-06/1.088, allocations: 0 / 1.324 GB, free: 5.441 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003725/1.092, allocations: 0.8085 MB / 1.325 GB, free: 4.633 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (208): * Single equations (assignments): 206 * Array equations: 0 * Algorithm blocks: 0 * 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.002249/1.094, allocations: 0.6608 MB / 1.326 GB, free: 4.168 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.01557/1.11, allocations: 4.432 MB / 1.33 GB, free: 15.69 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.164e-05/1.11, allocations: 4.625 kB / 1.33 GB, free: 15.69 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.005145/1.115, allocations: 1.409 MB / 1.331 GB, free: 14.28 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002483/1.117, allocations: 328 kB / 1.332 GB, free: 13.96 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01275/1.13, allocations: 5.346 MB / 1.337 GB, free: 8.574 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001781/1.132, allocations: 1.586 MB / 1.338 GB, free: 6.953 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.006471/1.138, allocations: 0.7932 MB / 1.339 GB, free: 6.152 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00133/1.14, allocations: 215.3 kB / 1.339 GB, free: 5.945 MB / 0.698 GB Notification: Performance of SimCode: time 3.726e-06/1.14, allocations: 0 / 1.339 GB, free: 5.945 MB / 0.698 GB Notification: Performance of Templates: time 0.0833/1.223, allocations: 26.35 MB / 1.365 GB, free: 11.91 MB / 0.7292 GB