Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Electrical.DC.Lines.Examples.Resistance.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.Lines.Examples.Resistance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Electrical.DC.Lines.Examples.Resistance") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.004189/0.004192, allocations: 233.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.001076/0.001077, 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.016/4.016, 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.917/3.917, allocations: 472.3 MB / 0.9024 GB, free: 9.215 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0005084/0.0005086, allocations: 18.19 kB / 1.008 GB, free: 138.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1697/0.1703, allocations: 98.72 MB / 1.105 GB, free: 42.12 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7819/0.9523, allocations: 150.6 MB / 1.252 GB, free: 7.594 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003092/0.9526, allocations: 95.34 kB / 1.252 GB, free: 7.543 MB / 0.6198 GB [/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/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/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.0398/0.9924, allocations: 11.36 MB / 1.263 GB, free: 14.34 MB / 0.6355 GB Notification: Performance of FrontEnd: time 4.258e-06/0.9925, allocations: 3.469 kB / 1.263 GB, free: 14.34 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 2.299e-05/0.9925, allocations: 11.94 kB / 1.263 GB, free: 14.32 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.000889/0.9934, allocations: 489.8 kB / 1.263 GB, free: 13.81 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.277e-05/0.9935, allocations: 8.031 kB / 1.263 GB, free: 13.8 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009255/0.9944, allocations: 91.39 kB / 1.263 GB, free: 13.72 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004087/0.9948, allocations: 239.5 kB / 1.264 GB, free: 13.46 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.423e-05/0.9949, allocations: 14.81 kB / 1.264 GB, free: 13.46 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.817e-05/0.9949, allocations: 18.38 kB / 1.264 GB, free: 13.45 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006633/0.9956, allocations: 293.2 kB / 1.264 GB, free: 13.21 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.605e-05/0.9956, allocations: 3.984 kB / 1.264 GB, free: 13.21 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.535e-05/0.9957, allocations: 7.688 kB / 1.264 GB, free: 13.21 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.034e-05/0.9957, allocations: 12.38 kB / 1.264 GB, free: 13.2 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004792/0.9962, allocations: 196.4 kB / 1.264 GB, free: 13.07 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002054/0.9983, allocations: 1.466 MB / 1.266 GB, free: 11.57 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003593/0.9987, allocations: 177.1 kB / 1.266 GB, free: 11.39 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.655e-05/0.9988, allocations: 35.34 kB / 1.266 GB, free: 11.36 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.294e-05/0.9988, allocations: 0.75 kB / 1.266 GB, free: 11.36 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.464e-05/0.9989, allocations: 33.44 kB / 1.266 GB, free: 11.32 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 2.594e-06/0.9989, allocations: 4 kB / 1.266 GB, free: 11.32 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0006941/0.9996, allocations: 231.7 kB / 1.266 GB, free: 11.09 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.045e-05/0.9996, allocations: 52.09 kB / 1.266 GB, free: 11.03 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002674/0.9999, allocations: 197.4 kB / 1.266 GB, free: 10.86 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.389e-05/1, allocations: 31.77 kB / 1.266 GB, free: 10.82 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001146/1, allocations: 162.9 kB / 1.267 GB, free: 10.68 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.32e-05/1, allocations: 31.09 kB / 1.267 GB, free: 10.65 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.406e-06/1, allocations: 0 / 1.267 GB, free: 10.65 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.000146/1, allocations: 324.8 kB / 1.267 GB, free: 10.33 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.727e-05/1, allocations: 34.64 kB / 1.267 GB, free: 10.31 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001703/1.001, allocations: 113 kB / 1.267 GB, free: 10.19 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001344/1.001, allocations: 52.98 kB / 1.267 GB, free: 10.16 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.005e-06/1.001, allocations: 0 / 1.267 GB, free: 10.16 MB / 0.6355 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004878/1.001, allocations: 184.9 kB / 1.267 GB, free: 10.01 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.395e-05/1.001, allocations: 8 kB / 1.267 GB, free: 10 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.388e-05/1.001, allocations: 15.08 kB / 1.267 GB, free: 9.988 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002029/1.002, allocations: 28.53 kB / 1.267 GB, free: 9.961 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002026/1.002, allocations: 27.92 kB / 1.267 GB, free: 9.934 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001355/1.003, allocations: 1.314 MB / 1.269 GB, free: 8.547 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002564/1.003, allocations: 20.44 kB / 1.269 GB, free: 8.531 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.721e-05/1.003, allocations: 4 kB / 1.269 GB, free: 8.527 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (17): * Single equations (assignments): 16 * 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.0002273/1.004, allocations: 147.6 kB / 1.269 GB, free: 8.387 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.173e-05/1.004, allocations: 19.25 kB / 1.269 GB, free: 8.371 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.452e-05/1.004, allocations: 27.41 kB / 1.269 GB, free: 8.359 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/1.004, allocations: 4 kB / 1.269 GB, free: 8.355 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/1.004, allocations: 0 / 1.269 GB, free: 8.355 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/1.004, allocations: 0 / 1.269 GB, free: 8.355 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007721/1.005, allocations: 441.3 kB / 1.269 GB, free: 7.918 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/1.005, allocations: 1.812 kB / 1.269 GB, free: 7.918 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.26e-05/1.005, allocations: 8 kB / 1.269 GB, free: 7.91 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001292/1.005, allocations: 20.09 kB / 1.269 GB, free: 7.891 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.075e-05/1.005, allocations: 7.344 kB / 1.269 GB, free: 7.887 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001209/1.006, allocations: 1.313 MB / 1.271 GB, free: 6.492 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/1.006, allocations: 400 / 1.271 GB, free: 6.492 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003221/1.006, allocations: 222.4 kB / 1.271 GB, free: 6.277 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001077/1.007, allocations: 96.55 kB / 1.271 GB, free: 6.168 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.461e-05/1.007, allocations: 6.359 kB / 1.271 GB, free: 6.164 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001724/1.007, allocations: 4 kB / 1.271 GB, free: 6.16 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.181e-05/1.007, allocations: 7.5 kB / 1.271 GB, free: 6.156 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.478e-06/1.007, allocations: 0 / 1.271 GB, free: 6.156 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001807/1.007, allocations: 146.8 kB / 1.271 GB, free: 6.035 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.61e-07/1.007, allocations: 0 / 1.271 GB, free: 6.035 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004855/1.008, allocations: 51 kB / 1.271 GB, free: 5.988 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 5 * 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.0001404/1.008, allocations: 110.5 kB / 1.271 GB, free: 5.875 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0004778/1.008, allocations: 203.1 kB / 1.271 GB, free: 5.691 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 5.64e-06/1.008, allocations: 4 kB / 1.271 GB, free: 5.688 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0002168/1.008, allocations: 147.8 kB / 1.272 GB, free: 5.547 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005021/1.009, allocations: 38.64 kB / 1.272 GB, free: 5.516 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008592/1.01, allocations: 425.4 kB / 1.272 GB, free: 5.094 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003688/1.01, allocations: 0.7574 MB / 1.273 GB, free: 4.32 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0001654/1.01, allocations: 24.69 kB / 1.273 GB, free: 4.297 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.607e-05/1.01, allocations: 15.44 kB / 1.273 GB, free: 4.281 MB / 0.6355 GB Notification: Performance of SimCode: time 9.12e-07/1.01, allocations: 0 / 1.273 GB, free: 4.281 MB / 0.6355 GB Notification: Performance of Templates: time 0.00668/1.017, allocations: 1.633 MB / 1.274 GB, free: 2.75 MB / 0.6355 GB