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.004378/0.004378, allocations: 231.2 kB / 15.82 MB, free: 6.293 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.001195/0.001195, allocations: 175.3 kB / 16.7 MB, free: 5.453 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.95/3.95, allocations: 389.1 MB / 406.5 MB, free: 11.82 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 3.95/3.95, allocations: 472.3 MB / 0.9024 GB, free: 9.199 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0006608/0.000661, allocations: 16 kB / 1.008 GB, free: 138.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1715/0.1722, allocations: 98.72 MB / 1.105 GB, free: 42.04 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.858/7.03, allocations: 2.209 GB / 3.313 GB, free: 9.082 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003478/7.031, allocations: 110.1 kB / 3.313 GB, free: 9.023 MB / 0.823 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Electrical/Interfaces/Source.mo:30:9-30:50:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.potentialRoot(terminal.theta);. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Electrical/Transmission/BaseClasses/PartialTwoPortResistance.mo:13:3-13:57:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.branch(terminal_p.theta, terminal_n.theta);. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Electrical/DC/Sensors/GeneralizedSensor.mo:39:3-39:57:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.branch(terminal_p.theta, terminal_n.theta);. Notification: Performance of FrontEnd - DAE generated: time 0.8218/7.853, allocations: 67.86 MB / 3.38 GB, free: 261.2 MB / 0.823 GB Notification: Performance of FrontEnd: time 3.006e-06/7.853, allocations: 0.9375 kB / 3.38 GB, free: 261.2 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.000158/7.853, allocations: 35.03 kB / 3.38 GB, free: 261.2 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 369 * Number of variables: 369 Notification: Performance of Generate backend data structure: time 0.006452/7.859, allocations: 1.717 MB / 3.381 GB, free: 259.9 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.084e-05/7.859, allocations: 9.406 kB / 3.381 GB, free: 259.9 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01173/7.871, allocations: 0.9228 MB / 3.382 GB, free: 259.5 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002971/7.874, allocations: 0.824 MB / 3.383 GB, free: 258.8 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001479/7.874, allocations: 108.2 kB / 3.383 GB, free: 258.8 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004945/7.875, allocations: 152.7 kB / 3.383 GB, free: 258.7 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00853/7.883, allocations: 1.988 MB / 3.385 GB, free: 257.5 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.942e-05/7.884, allocations: 5.031 kB / 3.385 GB, free: 257.5 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003213/7.884, allocations: 58.72 kB / 3.385 GB, free: 257.5 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001243/7.884, allocations: 70.38 kB / 3.385 GB, free: 257.5 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01188/7.896, allocations: 2.488 MB / 3.388 GB, free: 256.3 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01799/7.914, allocations: 6.246 MB / 3.394 GB, free: 251.5 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008723/7.923, allocations: 1.716 MB / 3.396 GB, free: 250.7 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003888/7.927, allocations: 0.7904 MB / 3.396 GB, free: 250.3 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001009/7.928, allocations: 489.7 kB / 3.397 GB, free: 249.8 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004193/7.932, allocations: 0.991 MB / 3.398 GB, free: 249.2 MB / 0.823 GB Notification: Performance of pre-optimization done (n=128): time 5.871e-06/7.932, allocations: 3.984 kB / 3.398 GB, free: 249.2 MB / 0.823 GB Notification: Performance of matching and sorting (n=128): time 0.01201/7.944, allocations: 2.329 MB / 3.4 GB, free: 248 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001142/7.944, allocations: 332 kB / 3.4 GB, free: 247.6 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001628/7.946, allocations: 0.828 MB / 3.401 GB, free: 247.1 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0004925/7.946, allocations: 51.95 kB / 3.401 GB, free: 247.1 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005059/7.947, allocations: 0.557 MB / 3.402 GB, free: 246.6 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005592/7.947, allocations: 427.3 kB / 3.402 GB, free: 246.2 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001658/7.948, allocations: 23.62 kB / 3.402 GB, free: 246.2 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001617/7.948, allocations: 404.7 kB / 3.403 GB, free: 245.8 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003514/7.951, allocations: 0.6526 MB / 3.403 GB, free: 245.5 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003867/7.955, allocations: 0.8463 MB / 3.404 GB, free: 245 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003823/7.959, allocations: 0.7623 MB / 3.405 GB, free: 244.6 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.307e-06/7.959, allocations: 0 / 3.405 GB, free: 244.6 MB / 0.823 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.008661/7.968, allocations: 1.84 MB / 3.407 GB, free: 243.7 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001293/7.968, allocations: 216.3 kB / 3.407 GB, free: 243.4 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.307e-05/7.968, allocations: 3.594 kB / 3.407 GB, free: 243.4 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002654/7.968, allocations: 35.39 kB / 3.407 GB, free: 243.4 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003747/7.972, allocations: 346.6 kB / 3.407 GB, free: 243.3 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001216/7.973, allocations: 1.295 MB / 3.408 GB, free: 242 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00323/7.977, allocations: 203.5 kB / 3.409 GB, free: 241.9 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003112/7.977, allocations: 63.11 kB / 3.409 GB, free: 241.8 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.138e-05/7.977, allocations: 3.938 kB / 3.409 GB, free: 241.8 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007998/7.985, allocations: 1.707 MB / 3.41 GB, free: 241 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.663e-05/7.985, allocations: 7.875 kB / 3.41 GB, free: 241 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.563e-05/7.985, allocations: 11.62 kB / 3.41 GB, free: 241 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003751/7.989, allocations: 344.2 kB / 3.411 GB, free: 240.9 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.293e-05/7.989, allocations: 15.69 kB / 3.411 GB, free: 240.9 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002954/7.992, allocations: 194.7 kB / 3.411 GB, free: 240.8 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002743/7.992, allocations: 58.92 kB / 3.411 GB, free: 240.8 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (149): * Single equations (assignments): 146 * 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.001228/7.993, allocations: 436.2 kB / 3.411 GB, free: 240.4 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000467/7.994, allocations: 113.8 kB / 3.411 GB, free: 240.4 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01006/8.004, allocations: 1.986 MB / 3.413 GB, free: 238.8 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-05/8.004, allocations: 16.91 kB / 3.413 GB, free: 238.8 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.191e-06/8.004, allocations: 0 / 3.413 GB, free: 238.8 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.043e-05/8.004, allocations: 7.969 kB / 3.413 GB, free: 238.8 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01454/8.019, allocations: 3.813 MB / 3.417 GB, free: 235 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-05/8.019, allocations: 0 / 3.417 GB, free: 235 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003591/8.022, allocations: 321.6 kB / 3.417 GB, free: 234.7 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001798/8.022, allocations: 29.97 kB / 3.417 GB, free: 234.6 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002213/8.023, allocations: 44.7 kB / 3.417 GB, free: 234.6 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009127/8.024, allocations: 1.276 MB / 3.419 GB, free: 233.2 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.88e-06/8.024, allocations: 7.969 kB / 3.419 GB, free: 233.2 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007936/8.032, allocations: 1.791 MB / 3.42 GB, free: 231.4 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001145/8.033, allocations: 419.1 kB / 3.421 GB, free: 230.9 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004073/8.033, allocations: 27.95 kB / 3.421 GB, free: 230.9 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002699/8.036, allocations: 160.6 kB / 3.421 GB, free: 230.8 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002389/8.036, allocations: 94.34 kB / 3.421 GB, free: 230.7 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001962/8.036, allocations: 51.95 kB / 3.421 GB, free: 230.6 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.001132/8.037, allocations: 0.5966 MB / 3.422 GB, free: 230 MB / 0.823 GB Notification: Performance of sort global known variables: time 3.61e-07/8.038, allocations: 0.7812 kB / 3.422 GB, free: 230 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.002922/8.04, allocations: 0.7515 MB / 3.423 GB, free: 229.3 MB / 0.823 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.001917/8.042, allocations: 0.6609 MB / 3.423 GB, free: 228.9 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0116/8.054, allocations: 2.799 MB / 3.426 GB, free: 226.1 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 9.157e-06/8.054, allocations: 2.219 kB / 3.426 GB, free: 226.1 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.003809/8.058, allocations: 0.9499 MB / 3.427 GB, free: 225.1 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002327/8.06, allocations: 262.5 kB / 3.427 GB, free: 224.9 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00823/8.068, allocations: 3.309 MB / 3.43 GB, free: 221.6 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008227/8.069, allocations: 1.242 MB / 3.432 GB, free: 220.3 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.00483/8.074, allocations: 0.5327 MB / 3.432 GB, free: 219.9 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000933/8.075, allocations: 147.3 kB / 3.432 GB, free: 219.7 MB / 0.823 GB Notification: Performance of SimCode: time 9.22e-07/8.075, allocations: 0 / 3.432 GB, free: 219.7 MB / 0.823 GB Notification: Performance of Templates: time 0.04744/8.123, allocations: 18.71 MB / 3.45 GB, free: 201.3 MB / 0.823 GB