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.01553/0.01553, allocations: 107.2 kB / 15.06 MB, free: 5.562 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.001803/0.001803, allocations: 183.6 kB / 15.95 MB, free: 5.523 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.972/1.972, allocations: 194.6 MB / 211.3 MB, free: 10.94 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.527/2.527, allocations: 236.1 MB / 492.6 MB, free: 11.31 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004919/0.0004921, allocations: 12 kB / 0.5869 GB, free: 2.098 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6102/0.6107, allocations: 98.7 MB / 0.6833 GB, free: 16.71 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sources.Examples.PVPanels): time 0.01083/0.6216, allocations: 8.053 MB / 0.6912 GB, free: 11.18 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.1917/0.8133, allocations: 129.7 MB / 0.8179 GB, free: 4.262 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001998/0.8154, allocations: 27.88 kB / 0.8179 GB, free: 4.234 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0008573/0.8162, allocations: 162.5 kB / 0.8181 GB, free: 4.074 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.003803/0.8201, allocations: 0.7905 MB / 0.8188 GB, free: 3.281 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.004335/0.8244, allocations: 1.107 MB / 0.8199 GB, free: 2.172 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.003973/0.8284, allocations: 1.663 MB / 0.8215 GB, free: 0.5078 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0051/0.8336, allocations: 2.272 MB / 0.8238 GB, free: 14.17 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001823/0.8354, allocations: 0.8324 MB / 0.8246 GB, free: 13.33 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001993/0.8374, allocations: 0.8784 MB / 0.8254 GB, free: 12.45 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.0004119/0.8379, allocations: 68 kB / 0.8255 GB, free: 12.38 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001483/0.8394, allocations: 403.5 kB / 0.8259 GB, free: 11.99 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.0006049/0.84, allocations: 450.2 kB / 0.8263 GB, free: 11.55 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.0006684/0.8407, allocations: 460.3 kB / 0.8268 GB, free: 11.09 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.004764/0.8455, allocations: 3.134 MB / 0.8298 GB, free: 7.949 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 4.181e-06/0.8455, allocations: 0 / 0.8298 GB, free: 7.949 MB / 0.6511 GB Notification: Performance of FrontEnd: time 9.883e-06/0.8455, allocations: 3.984 kB / 0.8298 GB, free: 7.945 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 7.022e-05/0.8456, allocations: 3.938 kB / 0.8298 GB, free: 7.941 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: 650 * Number of variables: 650 Notification: Performance of Generate backend data structure: time 0.006458/0.8521, allocations: 2.394 MB / 0.8322 GB, free: 5.473 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.326e-05/0.8521, allocations: 8.031 kB / 0.8322 GB, free: 5.465 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01447/0.8666, allocations: 1.791 MB / 0.8339 GB, free: 3.668 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003531/0.8702, allocations: 1.369 MB / 0.8353 GB, free: 2.238 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002431/0.8705, allocations: 185 kB / 0.8354 GB, free: 2.055 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008774/0.8714, allocations: 252 kB / 0.8357 GB, free: 1.809 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01215/0.8835, allocations: 3.455 MB / 0.839 GB, free: 14.22 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.416e-05/0.8837, allocations: 4 kB / 0.839 GB, free: 14.21 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004608/0.8841, allocations: 108 kB / 0.8391 GB, free: 14.11 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001747/0.8843, allocations: 120.5 kB / 0.8393 GB, free: 13.99 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01549/0.8998, allocations: 4.05 MB / 0.8432 GB, free: 9.922 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02509/0.925, allocations: 10.12 MB / 0.8531 GB, free: 15.45 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01429/0.9393, allocations: 2.84 MB / 0.8559 GB, free: 12.59 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001087/0.9404, allocations: 0.5903 MB / 0.8565 GB, free: 11.9 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005665/0.9461, allocations: 1.581 MB / 0.858 GB, free: 10.3 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=194): time 8.996e-06/0.9462, allocations: 0 / 0.858 GB, free: 10.3 MB / 0.6823 GB Notification: Performance of matching and sorting (n=195): time 0.01715/0.9633, allocations: 4.406 MB / 0.8623 GB, free: 5.875 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001642/0.9635, allocations: 223.6 kB / 0.8625 GB, free: 5.605 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002011/0.9656, allocations: 1.035 MB / 0.8635 GB, free: 4.559 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0004725/0.9661, allocations: 61.7 kB / 0.8636 GB, free: 4.492 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001062/0.9671, allocations: 0.9051 MB / 0.8645 GB, free: 3.574 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.00106/0.9682, allocations: 0.6352 MB / 0.8651 GB, free: 2.93 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002212/0.9684, allocations: 40 kB / 0.8651 GB, free: 2.891 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0002565/0.9687, allocations: 378 kB / 0.8655 GB, free: 2.516 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004726/0.9735, allocations: 1.116 MB / 0.8666 GB, free: 1.398 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005281/0.9788, allocations: 1.429 MB / 0.868 GB, free: 15.87 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005057/0.9839, allocations: 1.266 MB / 0.8692 GB, free: 14.59 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.153e-05/0.9839, allocations: 0 / 0.8692 GB, free: 14.59 MB / 0.698 GB Notification: Performance of matching and sorting (n=231) (initialization): time 0.01177/0.9957, allocations: 2.963 MB / 0.8721 GB, free: 11.61 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.001395/0.9972, allocations: 2.511 MB / 0.8746 GB, free: 8.891 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.825e-05/0.9972, allocations: 8 kB / 0.8746 GB, free: 8.883 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.277e-05/0.9973, allocations: 16 kB / 0.8746 GB, free: 8.867 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004442/1.002, allocations: 0.5538 MB / 0.8751 GB, free: 8.312 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.956e-05/1.002, allocations: 23.92 kB / 0.8751 GB, free: 8.289 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003147/1.005, allocations: 278.6 kB / 0.8754 GB, free: 8.016 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004522/1.005, allocations: 99.92 kB / 0.8755 GB, free: 7.918 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.714e-05/1.005, allocations: 5.25 kB / 0.8755 GB, free: 7.914 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01076/1.016, allocations: 2.76 MB / 0.8782 GB, free: 5.141 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.307e-05/1.016, allocations: 4 kB / 0.8782 GB, free: 5.137 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.223e-05/1.016, allocations: 16 kB / 0.8782 GB, free: 5.121 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004281/1.021, allocations: 0.5463 MB / 0.8788 GB, free: 4.574 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-05/1.021, allocations: 27.88 kB / 0.8788 GB, free: 4.547 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003066/1.024, allocations: 274.5 kB / 0.879 GB, free: 4.277 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005221/1.024, allocations: 95.92 kB / 0.8791 GB, free: 4.184 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * 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 (231): * Single equations (assignments): 229 * 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.001804/1.026, allocations: 0.5709 MB / 0.8797 GB, free: 3.602 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005443/1.027, allocations: 158 kB / 0.8798 GB, free: 3.445 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01293/1.04, allocations: 3.231 MB / 0.883 GB, free: 204 kB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.29e-05/1.04, allocations: 20 kB / 0.883 GB, free: 184 kB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.433e-05/1.04, allocations: 3.953 kB / 0.883 GB, free: 180 kB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.039e-05/1.04, allocations: 15.95 kB / 0.883 GB, free: 164 kB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01832/1.058, allocations: 5.956 MB / 0.8889 GB, free: 10.12 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.237e-05/1.058, allocations: 0 / 0.8889 GB, free: 10.12 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00425/1.063, allocations: 0.5267 MB / 0.8894 GB, free: 9.598 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.07e-05/1.063, allocations: 8 kB / 0.8894 GB, free: 9.59 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004049/1.063, allocations: 59.94 kB / 0.8894 GB, free: 9.531 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.702e-05/1.063, allocations: 12 kB / 0.8894 GB, free: 9.52 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.119e-06/1.063, allocations: 3.938 kB / 0.8894 GB, free: 9.516 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01074/1.074, allocations: 2.975 MB / 0.8923 GB, free: 6.5 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001723/1.076, allocations: 0.5879 MB / 0.8929 GB, free: 5.891 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004611/1.076, allocations: 40 kB / 0.893 GB, free: 5.852 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002987/1.079, allocations: 220.5 kB / 0.8932 GB, free: 5.637 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004547/1.08, allocations: 125.8 kB / 0.8933 GB, free: 5.516 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003524/1.08, allocations: 83.92 kB / 0.8934 GB, free: 5.434 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001593/1.082, allocations: 0.7387 MB / 0.8941 GB, free: 4.691 MB / 0.7136 GB Notification: Performance of sort global known variables: time 8.55e-07/1.082, allocations: 0 / 0.8941 GB, free: 4.691 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.003821/1.085, allocations: 0.7968 MB / 0.8949 GB, free: 3.895 MB / 0.7136 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.002295/1.088, allocations: 0.6543 MB / 0.8955 GB, free: 3.418 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.01696/1.105, allocations: 4.382 MB / 0.8998 GB, free: 14.99 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.028e-05/1.105, allocations: 0 / 0.8998 GB, free: 14.99 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.005472/1.11, allocations: 1.402 MB / 0.9012 GB, free: 13.59 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002187/1.112, allocations: 302.8 kB / 0.9014 GB, free: 13.3 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01327/1.126, allocations: 5.336 MB / 0.9067 GB, free: 7.922 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001828/1.128, allocations: 1.579 MB / 0.9082 GB, free: 6.309 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.007097/1.135, allocations: 0.7894 MB / 0.909 GB, free: 5.512 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001445/1.136, allocations: 215.3 kB / 0.9092 GB, free: 5.301 MB / 0.7292 GB Notification: Performance of SimCode: time 1.766e-06/1.136, allocations: 0 / 0.9092 GB, free: 5.301 MB / 0.7292 GB Notification: Performance of Templates: time 0.5124/1.649, allocations: 26.32 MB / 0.9349 GB, free: 204.6 MB / 0.7292 GB