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.PVSimple.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.PVSimple,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Electrical.DC.Sources.Examples.PVSimple") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01039/0.01039, allocations: 220.3 kB / 15.17 MB, free: 6.012 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.001107/0.001107, allocations: 176.2 kB / 16.06 MB, free: 5.875 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 3.578/3.578, allocations: 389.1 MB / 405.9 MB, free: 67.55 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.077/4.077, allocations: 472.3 MB / 0.9018 GB, free: 13.32 MB / 0.573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004785/0.0004787, allocations: 16 kB / 1.008 GB, free: 0.7617 MB / 0.6667 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4864/0.4869, allocations: 98.71 MB / 1.104 GB, free: 183.7 MB / 0.6823 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sources.Examples.PVSimple): time 0.007286/0.4943, allocations: 6.563 MB / 1.11 GB, free: 177.1 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.1342/0.6285, allocations: 137.8 MB / 1.245 GB, free: 39.65 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008635/0.6294, allocations: 19.88 kB / 1.245 GB, free: 39.63 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0004328/0.6298, allocations: 134.8 kB / 1.245 GB, free: 39.5 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.00177/0.6316, allocations: 0.5968 MB / 1.246 GB, free: 38.9 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.002361/0.634, allocations: 0.8219 MB / 1.247 GB, free: 38.09 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.001654/0.6357, allocations: 1.897 MB / 1.248 GB, free: 36.18 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001536/0.6372, allocations: 1.235 MB / 1.25 GB, free: 34.95 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006276/0.6379, allocations: 0.5599 MB / 1.25 GB, free: 34.39 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008331/0.6387, allocations: 0.6818 MB / 1.251 GB, free: 33.71 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0001517/0.6389, allocations: 48.84 kB / 1.251 GB, free: 33.66 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008927/0.6398, allocations: 379.4 kB / 1.251 GB, free: 33.29 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0002806/0.6401, allocations: 322.7 kB / 1.252 GB, free: 32.97 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0002421/0.6404, allocations: 312.8 kB / 1.252 GB, free: 32.66 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.001677/0.642, allocations: 1.891 MB / 1.254 GB, free: 30.77 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 5.248e-06/0.6421, allocations: 4 kB / 1.254 GB, free: 30.76 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.674e-06/0.6421, allocations: 3.938 kB / 1.254 GB, free: 30.76 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.84e-05/0.6421, allocations: 0 / 1.254 GB, free: 30.76 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 405 * Number of variables: 405 Notification: Performance of Generate backend data structure: time 0.00307/0.6452, allocations: 1.739 MB / 1.255 GB, free: 28.95 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.375e-05/0.6452, allocations: 8.688 kB / 1.255 GB, free: 28.95 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007732/0.653, allocations: 1.063 MB / 1.256 GB, free: 27.88 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001783/0.6548, allocations: 0.9422 MB / 1.257 GB, free: 26.89 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.413e-05/0.6549, allocations: 120.1 kB / 1.257 GB, free: 26.78 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002694/0.6552, allocations: 160 kB / 1.258 GB, free: 26.62 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004954/0.6602, allocations: 2.1 MB / 1.26 GB, free: 24.45 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.072e-05/0.6602, allocations: 3.938 kB / 1.26 GB, free: 24.45 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002099/0.6604, allocations: 69.97 kB / 1.26 GB, free: 24.38 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.912e-05/0.6605, allocations: 70.95 kB / 1.26 GB, free: 24.31 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007052/0.6676, allocations: 2.537 MB / 1.262 GB, free: 21.77 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01159/0.6792, allocations: 6.507 MB / 1.269 GB, free: 15.06 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005366/0.6846, allocations: 1.699 MB / 1.27 GB, free: 13.35 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002373/0.687, allocations: 0.785 MB / 1.271 GB, free: 12.57 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006174/0.6876, allocations: 490.6 kB / 1.272 GB, free: 11.99 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00261/0.6903, allocations: 0.9803 MB / 1.272 GB, free: 10.98 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=128): time 4.718e-06/0.6903, allocations: 4 kB / 1.272 GB, free: 10.98 MB / 0.6823 GB Notification: Performance of matching and sorting (n=128): time 0.007533/0.6978, allocations: 2.317 MB / 1.275 GB, free: 8.637 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.878e-05/0.6979, allocations: 274 kB / 1.275 GB, free: 8.309 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001078/0.699, allocations: 0.7826 MB / 1.276 GB, free: 7.52 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001304/0.6992, allocations: 45.7 kB / 1.276 GB, free: 7.469 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004092/0.6996, allocations: 0.6051 MB / 1.276 GB, free: 6.852 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003226/0.6999, allocations: 421.8 kB / 1.277 GB, free: 6.434 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001191/0.7001, allocations: 24 kB / 1.277 GB, free: 6.41 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001336/0.7002, allocations: 410.7 kB / 1.277 GB, free: 6 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002238/0.7025, allocations: 0.6623 MB / 1.278 GB, free: 5.336 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002368/0.7048, allocations: 0.8598 MB / 1.279 GB, free: 4.426 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002349/0.7072, allocations: 0.7671 MB / 1.279 GB, free: 3.648 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.589e-06/0.7072, allocations: 1.5 kB / 1.279 GB, free: 3.648 MB / 0.6823 GB Notification: Performance of matching and sorting (n=159) (initialization): time 0.005553/0.7128, allocations: 1.874 MB / 1.281 GB, free: 1.75 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001018/0.7129, allocations: 240.1 kB / 1.282 GB, free: 1.461 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.232e-05/0.7129, allocations: 4 kB / 1.282 GB, free: 1.457 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002161/0.7132, allocations: 29.88 kB / 1.282 GB, free: 1.426 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002277/0.7155, allocations: 363.5 kB / 1.282 GB, free: 1.07 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4452/1.161, allocations: 1.281 MB / 1.283 GB, free: 173.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002026/1.163, allocations: 202.4 kB / 1.283 GB, free: 173.6 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001948/1.163, allocations: 66.38 kB / 1.283 GB, free: 173.6 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.083e-05/1.163, allocations: 2.656 kB / 1.283 GB, free: 173.6 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006758/1.17, allocations: 1.765 MB / 1.285 GB, free: 173.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.682e-05/1.17, allocations: 5.406 kB / 1.285 GB, free: 173.4 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.957e-05/1.17, allocations: 8.938 kB / 1.285 GB, free: 173.4 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002743/1.173, allocations: 365.4 kB / 1.285 GB, free: 173.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.899e-05/1.173, allocations: 13.31 kB / 1.286 GB, free: 173.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001871/1.175, allocations: 192.2 kB / 1.286 GB, free: 173.4 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001913/1.175, allocations: 70.41 kB / 1.286 GB, free: 173.4 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (158): * Single equations (assignments): 155 * 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.0009318/1.176, allocations: 446.5 kB / 1.286 GB, free: 173 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002853/1.176, allocations: 111.7 kB / 1.286 GB, free: 173 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007005/1.183, allocations: 1.981 MB / 1.288 GB, free: 172.4 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.44e-05/1.183, allocations: 17.22 kB / 1.288 GB, free: 172.4 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.358e-06/1.183, allocations: 2.594 kB / 1.288 GB, free: 172.4 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.092e-05/1.183, allocations: 7.25 kB / 1.288 GB, free: 172.4 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01018/1.193, allocations: 3.734 MB / 1.292 GB, free: 170.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-05/1.193, allocations: 1.75 kB / 1.292 GB, free: 170.6 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002287/1.196, allocations: 316.7 kB / 1.292 GB, free: 170.6 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001682/1.196, allocations: 27.91 kB / 1.292 GB, free: 170.6 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002868/1.196, allocations: 45.27 kB / 1.292 GB, free: 170.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001083/1.197, allocations: 1.277 MB / 1.294 GB, free: 169.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.057e-06/1.197, allocations: 3.453 kB / 1.294 GB, free: 169.2 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006527/1.204, allocations: 1.787 MB / 1.295 GB, free: 168.5 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009987/1.205, allocations: 424 kB / 1.296 GB, free: 168.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002694/1.205, allocations: 29.92 kB / 1.296 GB, free: 168.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001711/1.207, allocations: 145.6 kB / 1.296 GB, free: 168.2 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002517/1.207, allocations: 88.09 kB / 1.296 GB, free: 168.2 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001962/1.207, allocations: 57.98 kB / 1.296 GB, free: 168.2 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001048/1.208, allocations: 0.5517 MB / 1.297 GB, free: 167.9 MB / 0.6823 GB Notification: Performance of sort global known variables: time 7.7e-07/1.208, allocations: 5.469 kB / 1.297 GB, free: 167.9 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002623/1.211, allocations: 0.7585 MB / 1.297 GB, free: 167.7 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.conTim1.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (138): * Single equations (assignments): 135 * 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.002182/1.213, allocations: 0.6348 MB / 1.298 GB, free: 167.5 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.009429/1.223, allocations: 2.851 MB / 1.301 GB, free: 166.2 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.087e-05/1.223, allocations: 1.406 kB / 1.301 GB, free: 166.2 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.003239/1.226, allocations: 0.9434 MB / 1.302 GB, free: 165.8 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001666/1.228, allocations: 256.2 kB / 1.302 GB, free: 165.6 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006267/1.234, allocations: 3.405 MB / 1.305 GB, free: 162.5 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000838/1.235, allocations: 1.27 MB / 1.306 GB, free: 161.2 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.003985/1.239, allocations: 0.5283 MB / 1.307 GB, free: 160.9 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000725/1.24, allocations: 151.3 kB / 1.307 GB, free: 160.7 MB / 0.6823 GB Notification: Performance of SimCode: time 1.606e-06/1.24, allocations: 2.781 kB / 1.307 GB, free: 160.7 MB / 0.6823 GB Notification: Performance of Templates: time 0.03955/1.279, allocations: 18.61 MB / 1.325 GB, free: 142.9 MB / 0.6823 GB