Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Electrical.DC.Sources.Examples.PVSimpleOriented.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.DC.Sources.Examples.PVSimpleOriented,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Electrical.DC.Sources.Examples.PVSimpleOriented") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.009044/0.009049, allocations: 108.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.001217/0.001217, allocations: 177.4 kB / 15.94 MB, free: 5.527 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.07/2.07, allocations: 194.6 MB / 211.3 MB, free: 11 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.391/2.391, allocations: 236.2 MB / 492.6 MB, free: 11.39 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004775/0.0004777, allocations: 12 kB / 0.5869 GB, free: 2.172 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5447/0.5452, allocations: 98.72 MB / 0.6833 GB, free: 16.87 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sources.Examples.PVSimpleOriented): time 0.009473/0.5548, allocations: 6.843 MB / 0.69 GB, free: 12.2 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.1877/0.7425, allocations: 128.8 MB / 0.8158 GB, free: 6.434 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001452/0.744, allocations: 27.81 kB / 0.8159 GB, free: 6.406 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0006871/0.7447, allocations: 134.9 kB / 0.816 GB, free: 6.273 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.002997/0.7477, allocations: 0.6425 MB / 0.8166 GB, free: 5.629 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.003341/0.751, allocations: 0.8262 MB / 0.8174 GB, free: 4.801 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.002929/0.754, allocations: 1.24 MB / 0.8186 GB, free: 3.559 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002691/0.7567, allocations: 1.352 MB / 0.8199 GB, free: 2.152 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001412/0.7582, allocations: 0.6107 MB / 0.8205 GB, free: 1.539 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001259/0.7595, allocations: 0.5986 MB / 0.8211 GB, free: 0.9375 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0002749/0.7598, allocations: 48 kB / 0.8212 GB, free: 0.8906 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001204/0.761, allocations: 355.5 kB / 0.8215 GB, free: 0.543 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0004395/0.7614, allocations: 314.8 kB / 0.8218 GB, free: 240 kB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0005268/0.762, allocations: 336.8 kB / 0.8221 GB, free: 15.89 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.003533/0.7655, allocations: 2.195 MB / 0.8243 GB, free: 13.7 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 3.793e-06/0.7656, allocations: 8 kB / 0.8243 GB, free: 13.69 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.806e-06/0.7656, allocations: 0 / 0.8243 GB, free: 13.69 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 5.026e-05/0.7656, allocations: 0 / 0.8243 GB, free: 13.69 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: 432 * Number of variables: 432 Notification: Performance of Generate backend data structure: time 0.004579/0.7702, allocations: 1.809 MB / 0.8261 GB, free: 11.81 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 3.949e-05/0.7703, allocations: 11.97 kB / 0.8261 GB, free: 11.8 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008762/0.7791, allocations: 1.067 MB / 0.8271 GB, free: 10.73 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002564/0.7817, allocations: 1.051 MB / 0.8281 GB, free: 9.637 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001621/0.7819, allocations: 127.3 kB / 0.8283 GB, free: 9.512 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005683/0.7824, allocations: 160 kB / 0.8284 GB, free: 9.355 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007509/0.79, allocations: 2.22 MB / 0.8306 GB, free: 7.07 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.752e-05/0.7901, allocations: 7.922 kB / 0.8306 GB, free: 7.062 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002895/0.7904, allocations: 76 kB / 0.8307 GB, free: 6.988 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001197/0.7905, allocations: 79.12 kB / 0.8307 GB, free: 6.91 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009621/0.8001, allocations: 2.643 MB / 0.8333 GB, free: 4.262 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01724/0.8174, allocations: 7.104 MB / 0.8403 GB, free: 12.92 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006922/0.8244, allocations: 1.733 MB / 0.8419 GB, free: 11.18 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008857/0.8253, allocations: 494.7 kB / 0.8424 GB, free: 10.6 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003465/0.8288, allocations: 0.9796 MB / 0.8434 GB, free: 9.598 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=128): time 5.547e-06/0.8288, allocations: 0 / 0.8434 GB, free: 9.598 MB / 0.6667 GB Notification: Performance of matching and sorting (n=128): time 0.009616/0.8384, allocations: 2.349 MB / 0.8457 GB, free: 7.223 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001808/0.8387, allocations: 282 kB / 0.8459 GB, free: 6.887 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001521/0.8402, allocations: 0.7868 MB / 0.8467 GB, free: 6.09 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0002967/0.8405, allocations: 53.7 kB / 0.8468 GB, free: 6.031 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007373/0.8413, allocations: 0.6401 MB / 0.8474 GB, free: 5.379 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006112/0.8419, allocations: 429.7 kB / 0.8478 GB, free: 4.953 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001446/0.8421, allocations: 28 kB / 0.8478 GB, free: 4.926 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001988/0.8423, allocations: 345.9 kB / 0.8481 GB, free: 4.582 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002715/0.845, allocations: 0.6506 MB / 0.8488 GB, free: 3.93 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0031/0.8481, allocations: 0.8688 MB / 0.8496 GB, free: 2.988 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003013/0.8512, allocations: 0.7632 MB / 0.8504 GB, free: 2.219 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.437e-05/0.8512, allocations: 4 kB / 0.8504 GB, free: 2.215 MB / 0.6667 GB Notification: Performance of matching and sorting (n=151) (initialization): time 0.007057/0.8583, allocations: 1.851 MB / 0.8522 GB, free: 348 kB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008794/0.8592, allocations: 1.549 MB / 0.8537 GB, free: 14.66 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.696e-05/0.8593, allocations: 11.88 kB / 0.8537 GB, free: 14.65 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002707/0.8595, allocations: 28.84 kB / 0.8537 GB, free: 14.62 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002621/0.8622, allocations: 347.5 kB / 0.8541 GB, free: 14.28 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001668/0.8639, allocations: 1.301 MB / 0.8553 GB, free: 12.85 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002173/0.8661, allocations: 210.9 kB / 0.8555 GB, free: 12.64 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003299/0.8665, allocations: 59.95 kB / 0.8556 GB, free: 12.59 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.612e-05/0.8665, allocations: 5.25 kB / 0.8556 GB, free: 12.58 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006649/0.8732, allocations: 1.729 MB / 0.8573 GB, free: 10.84 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.996e-05/0.8732, allocations: 4 kB / 0.8573 GB, free: 10.84 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.034e-05/0.8733, allocations: 11.95 kB / 0.8573 GB, free: 10.82 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002622/0.8759, allocations: 351.7 kB / 0.8576 GB, free: 10.48 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.462e-05/0.876, allocations: 8 kB / 0.8576 GB, free: 10.47 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002042/0.878, allocations: 202.7 kB / 0.8578 GB, free: 10.27 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002959/0.8783, allocations: 71.89 kB / 0.8579 GB, free: 10.2 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * 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 (150): * Single equations (assignments): 147 * 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: 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 1} Notification: Performance of prepare postOptimizeDAE: time 0.001225/0.8796, allocations: 464.8 kB / 0.8584 GB, free: 9.738 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003531/0.88, allocations: 114.6 kB / 0.8585 GB, free: 9.625 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007839/0.8878, allocations: 1.982 MB / 0.8604 GB, free: 7.629 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.544e-05/0.8879, allocations: 16 kB / 0.8604 GB, free: 7.613 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.904e-06/0.8879, allocations: 0 / 0.8604 GB, free: 7.613 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.507e-05/0.8879, allocations: 3.984 kB / 0.8604 GB, free: 7.609 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01115/0.8991, allocations: 3.842 MB / 0.8642 GB, free: 3.695 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.239e-05/0.8991, allocations: 3.984 kB / 0.8642 GB, free: 3.691 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002416/0.9016, allocations: 307.6 kB / 0.8645 GB, free: 3.391 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001913/0.9018, allocations: 40.77 kB / 0.8645 GB, free: 3.348 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002307/0.902, allocations: 35.97 kB / 0.8645 GB, free: 3.312 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001332/0.9034, allocations: 1.284 MB / 0.8658 GB, free: 1.895 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.895e-06/0.9034, allocations: 3.938 kB / 0.8658 GB, free: 1.891 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007317/0.9107, allocations: 1.832 MB / 0.8676 GB, free: 20 kB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00117/0.9119, allocations: 435 kB / 0.868 GB, free: 15.57 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002778/0.9122, allocations: 27.95 kB / 0.868 GB, free: 15.55 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001786/0.914, allocations: 148.5 kB / 0.8682 GB, free: 15.4 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002374/0.9143, allocations: 89.12 kB / 0.8683 GB, free: 15.32 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001912/0.9145, allocations: 51.97 kB / 0.8683 GB, free: 15.27 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001102/0.9156, allocations: 0.5538 MB / 0.8688 GB, free: 14.7 MB / 0.698 GB Notification: Performance of sort global known variables: time 7.8e-07/0.9156, allocations: 0 / 0.8688 GB, free: 14.7 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002631/0.9183, allocations: 0.7703 MB / 0.8696 GB, free: 13.93 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (137): * Single equations (assignments): 134 * 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: 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 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.00214/0.9205, allocations: 0.6235 MB / 0.8702 GB, free: 13.48 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.01004/0.9305, allocations: 2.827 MB / 0.873 GB, free: 10.59 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 9.298e-06/0.9306, allocations: 0 / 0.873 GB, free: 10.59 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.003337/0.9339, allocations: 0.9556 MB / 0.8739 GB, free: 9.625 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001539/0.9355, allocations: 233.3 kB / 0.8741 GB, free: 9.398 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008255/0.9438, allocations: 3.516 MB / 0.8776 GB, free: 5.844 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001293/0.9451, allocations: 1.292 MB / 0.8788 GB, free: 4.52 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.004195/0.9494, allocations: 0.5433 MB / 0.8793 GB, free: 3.973 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000846/0.9502, allocations: 147.3 kB / 0.8795 GB, free: 3.828 MB / 0.698 GB Notification: Performance of SimCode: time 1.626e-06/0.9503, allocations: 0 / 0.8795 GB, free: 3.828 MB / 0.698 GB Notification: Performance of Templates: time 0.04784/0.9981, allocations: 18.3 MB / 0.8974 GB, free: 1.672 MB / 0.7136 GB