Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Electrical.DC.Loads.Examples.Resistor.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.Loads.Examples.Resistor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Electrical.DC.Loads.Examples.Resistor") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.004246/0.004245, allocations: 230.9 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.001132/0.001132, allocations: 175.1 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 4.045/4.045, allocations: 389.1 MB / 406.5 MB, free: 11.83 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.89/3.89, allocations: 472.3 MB / 0.9024 GB, free: 9.211 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0004971/0.0004974, allocations: 20.2 kB / 1.008 GB, free: 138.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1706/0.1711, allocations: 98.71 MB / 1.105 GB, free: 42.02 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7822/0.9534, allocations: 150.8 MB / 1.252 GB, free: 7.23 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003246/0.9537, allocations: 96.7 kB / 1.252 GB, free: 7.18 MB / 0.6198 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.06078/1.015, allocations: 16.17 MB / 1.268 GB, free: 10.04 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.204e-06/1.015, allocations: 0 / 1.268 GB, free: 10.04 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 2.569e-05/1.015, allocations: 8 kB / 1.268 GB, free: 10.03 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: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.001235/1.016, allocations: 0.5883 MB / 1.268 GB, free: 9.426 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.156e-05/1.016, allocations: 8.031 kB / 1.268 GB, free: 9.418 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001572/1.018, allocations: 144 kB / 1.268 GB, free: 9.281 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006199/1.018, allocations: 288 kB / 1.269 GB, free: 8.984 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.025e-05/1.018, allocations: 20.45 kB / 1.269 GB, free: 8.973 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.001e-05/1.018, allocations: 27.44 kB / 1.269 GB, free: 8.953 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001028/1.019, allocations: 453.5 kB / 1.269 GB, free: 8.594 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.036e-05/1.019, allocations: 3.984 kB / 1.269 GB, free: 8.59 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.607e-05/1.019, allocations: 14.8 kB / 1.269 GB, free: 8.582 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.375e-05/1.019, allocations: 31.56 kB / 1.269 GB, free: 8.559 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007633/1.02, allocations: 315.5 kB / 1.27 GB, free: 8.348 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003154/1.023, allocations: 2.183 MB / 1.272 GB, free: 6.156 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000565/1.024, allocations: 257.9 kB / 1.272 GB, free: 5.926 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003733/1.024, allocations: 112.7 kB / 1.272 GB, free: 5.84 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.405e-05/1.024, allocations: 0 / 1.272 GB, free: 5.84 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.305e-05/1.025, allocations: 34 kB / 1.272 GB, free: 5.801 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=14): time 2.074e-06/1.025, allocations: 0 / 1.272 GB, free: 5.801 MB / 0.6355 GB Notification: Performance of matching and sorting (n=14): time 0.0008718/1.025, allocations: 301.8 kB / 1.272 GB, free: 5.523 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.962e-05/1.025, allocations: 54.78 kB / 1.272 GB, free: 5.461 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003906/1.026, allocations: 266.6 kB / 1.273 GB, free: 5.246 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.761e-05/1.026, allocations: 25.7 kB / 1.273 GB, free: 5.215 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001554/1.026, allocations: 210.9 kB / 1.273 GB, free: 5.035 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 5.356e-05/1.026, allocations: 49.72 kB / 1.273 GB, free: 4.992 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.579e-05/1.026, allocations: 7.375 kB / 1.273 GB, free: 4.988 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.000133/1.026, allocations: 336.6 kB / 1.273 GB, free: 4.66 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001517/1.026, allocations: 56.09 kB / 1.273 GB, free: 4.625 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002246/1.027, allocations: 145.8 kB / 1.273 GB, free: 4.473 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002163/1.027, allocations: 80.75 kB / 1.274 GB, free: 4.422 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/1.027, allocations: 0 / 1.274 GB, free: 4.422 MB / 0.6355 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006472/1.028, allocations: 261 kB / 1.274 GB, free: 4.211 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.494e-05/1.028, allocations: 11.28 kB / 1.274 GB, free: 4.203 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.205e-06/1.028, allocations: 0 / 1.274 GB, free: 4.203 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002102/1.028, allocations: 33.17 kB / 1.274 GB, free: 4.172 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000351/1.028, allocations: 55.42 kB / 1.274 GB, free: 4.121 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001312/1.03, allocations: 1.318 MB / 1.275 GB, free: 2.723 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003138/1.03, allocations: 30.72 kB / 1.275 GB, free: 2.695 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.348e-05/1.03, allocations: 14.88 kB / 1.275 GB, free: 2.684 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * 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: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002708/1.03, allocations: 167.3 kB / 1.275 GB, free: 2.531 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.722e-05/1.03, allocations: 19.81 kB / 1.275 GB, free: 2.512 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.569e-05/1.03, allocations: 26.7 kB / 1.275 GB, free: 2.5 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.811e-06/1.03, allocations: 5.75 kB / 1.275 GB, free: 2.496 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.588e-06/1.03, allocations: 3.953 kB / 1.275 GB, free: 2.492 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/1.03, allocations: 0 / 1.275 GB, free: 2.492 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001371/1.032, allocations: 0.7109 MB / 1.276 GB, free: 1.801 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.997e-06/1.032, allocations: 0 / 1.276 GB, free: 1.801 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001712/1.032, allocations: 20 kB / 1.276 GB, free: 1.781 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001382/1.032, allocations: 24.09 kB / 1.276 GB, free: 1.758 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.951e-05/1.032, allocations: 6.906 kB / 1.276 GB, free: 1.754 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001228/1.033, allocations: 1.325 MB / 1.277 GB, free: 360 kB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.796e-06/1.033, allocations: 0 / 1.277 GB, free: 360 kB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000503/1.034, allocations: 314.1 kB / 1.278 GB, free: 52 kB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001812/1.034, allocations: 118.8 kB / 1.278 GB, free: 15.93 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.583e-05/1.034, allocations: 8 kB / 1.278 GB, free: 15.92 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002693/1.035, allocations: 15.66 kB / 1.278 GB, free: 15.91 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.449e-05/1.035, allocations: 23.31 kB / 1.278 GB, free: 15.89 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.705e-05/1.035, allocations: 4 kB / 1.278 GB, free: 15.88 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0002963/1.035, allocations: 190 kB / 1.278 GB, free: 15.73 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.41e-07/1.035, allocations: 0 / 1.278 GB, free: 15.73 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0005646/1.035, allocations: 76.09 kB / 1.278 GB, free: 15.67 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * 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: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001466/1.036, allocations: 113.6 kB / 1.278 GB, free: 15.55 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0006485/1.036, allocations: 265.6 kB / 1.279 GB, free: 15.33 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/1.036, allocations: 0 / 1.279 GB, free: 15.33 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0003143/1.037, allocations: 182.7 kB / 1.279 GB, free: 15.16 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006883/1.037, allocations: 66.84 kB / 1.279 GB, free: 15.11 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001288/1.039, allocations: 0.6333 MB / 1.279 GB, free: 14.48 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005563/1.039, allocations: 0.8045 MB / 1.28 GB, free: 13.66 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0002825/1.04, allocations: 43.58 kB / 1.28 GB, free: 13.62 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.719e-05/1.04, allocations: 23.44 kB / 1.28 GB, free: 13.6 MB / 0.6511 GB Notification: Performance of SimCode: time 1.062e-06/1.04, allocations: 3.938 kB / 1.28 GB, free: 13.6 MB / 0.6511 GB Notification: Performance of Templates: time 0.00919/1.049, allocations: 2.481 MB / 1.283 GB, free: 11.25 MB / 0.6511 GB