Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Electrical.DC.Lines.Examples.Resistance.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/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 loadModel(Buildings): time 4.157/4.157, allocations: 432.7 MB / 445.3 MB, free: 15.73 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 2.808e-05/2.823e-05, allocations: 4.938 kB / 0.5383 GB, free: 10.26 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1719/0.172, allocations: 98.73 MB / 0.6347 GB, free: 1.891 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6775/0.8495, allocations: 150.5 MB / 0.7817 GB, free: 143.4 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002811/0.8498, allocations: 88.38 kB / 0.7818 GB, free: 143.4 MB / 0.6511 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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@2/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@2/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.03974/0.8896, allocations: 11.27 MB / 0.7928 GB, free: 141.7 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.235e-06/0.8896, allocations: 0 / 0.7928 GB, free: 141.7 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 2.068e-05/0.8896, allocations: 5.156 kB / 0.7928 GB, free: 141.7 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0006067/0.8903, allocations: 480.3 kB / 0.7933 GB, free: 141.3 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 3.984e-05/0.8903, allocations: 8.031 kB / 0.7933 GB, free: 141.3 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008129/0.8911, allocations: 85.36 kB / 0.7933 GB, free: 141.3 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00033/0.8915, allocations: 243.9 kB / 0.7936 GB, free: 141 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.309e-05/0.8915, allocations: 15.69 kB / 0.7936 GB, free: 141 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.107e-05/0.8916, allocations: 19.7 kB / 0.7936 GB, free: 141 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005297/0.8921, allocations: 290 kB / 0.7939 GB, free: 140.9 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.207e-05/0.8922, allocations: 0 / 0.7939 GB, free: 140.9 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.496e-05/0.8922, allocations: 6.469 kB / 0.7939 GB, free: 140.9 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.732e-05/0.8923, allocations: 16.91 kB / 0.7939 GB, free: 140.9 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004263/0.8927, allocations: 191.3 kB / 0.7941 GB, free: 140.9 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001552/0.8943, allocations: 1.466 MB / 0.7955 GB, free: 139.6 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002937/0.8946, allocations: 180.2 kB / 0.7957 GB, free: 139.4 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.723e-05/0.8947, allocations: 34.25 kB / 0.7957 GB, free: 139.4 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 1.203e-05/0.8947, allocations: 1.188 kB / 0.7957 GB, free: 139.4 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.675e-05/0.8947, allocations: 32.75 kB / 0.7958 GB, free: 139.4 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=7): time 2.84e-06/0.8947, allocations: 0 / 0.7958 GB, free: 139.4 MB / 0.6511 GB Notification: Performance of matching and sorting (n=7): time 0.0003298/0.8951, allocations: 110.2 kB / 0.7959 GB, free: 139.3 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.192e-05/0.8951, allocations: 61.25 kB / 0.7959 GB, free: 139.2 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002235/0.8954, allocations: 173.6 kB / 0.7961 GB, free: 139.1 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 1.53e-05/0.8954, allocations: 27.08 kB / 0.7961 GB, free: 139.1 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 8.565e-05/0.8955, allocations: 174.1 kB / 0.7963 GB, free: 139 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 2.406e-05/0.8955, allocations: 19.88 kB / 0.7963 GB, free: 138.9 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.753e-06/0.8955, allocations: 2.438 kB / 0.7963 GB, free: 138.9 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 6.292e-05/0.8956, allocations: 327.9 kB / 0.7966 GB, free: 138.6 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.659e-05/0.8957, allocations: 31.66 kB / 0.7966 GB, free: 138.6 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001167/0.8958, allocations: 104.1 kB / 0.7967 GB, free: 138.5 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001162/0.896, allocations: 49.22 kB / 0.7968 GB, free: 138.5 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.37e-06/0.896, allocations: 1.25 kB / 0.7968 GB, free: 138.5 MB / 0.6511 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004198/0.8964, allocations: 184.4 kB / 0.797 GB, free: 138.4 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.015e-05/0.8965, allocations: 9.812 kB / 0.797 GB, free: 138.4 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.117e-06/0.8965, allocations: 2.531 kB / 0.797 GB, free: 138.4 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000195/0.8967, allocations: 30.42 kB / 0.797 GB, free: 138.4 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001461/0.8968, allocations: 31.33 kB / 0.797 GB, free: 138.4 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009787/0.8978, allocations: 1.314 MB / 0.7983 GB, free: 137.1 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000181/0.898, allocations: 19.66 kB / 0.7983 GB, free: 137.1 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.804e-05/0.8981, allocations: 7 kB / 0.7984 GB, free: 137.1 MB / 0.6511 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 () * 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 7.883e-05/0.8982, allocations: 120.9 kB / 0.7985 GB, free: 137 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.756e-05/0.8982, allocations: 15.06 kB / 0.7985 GB, free: 137 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.403e-05/0.8983, allocations: 24.28 kB / 0.7985 GB, free: 137 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.445e-06/0.8983, allocations: 0.5312 kB / 0.7985 GB, free: 137 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.097e-06/0.8983, allocations: 1.25 kB / 0.7985 GB, free: 137 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.71e-06/0.8983, allocations: 0 / 0.7985 GB, free: 137 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006322/0.899, allocations: 445.2 kB / 0.7989 GB, free: 136.6 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.671e-06/0.899, allocations: 0 / 0.7989 GB, free: 136.6 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.379e-05/0.8991, allocations: 7.844 kB / 0.7989 GB, free: 136.6 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001182/0.8992, allocations: 33.41 kB / 0.799 GB, free: 136.6 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.108e-05/0.8992, allocations: 1.25 kB / 0.799 GB, free: 136.6 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008972/0.9001, allocations: 1.32 MB / 0.8003 GB, free: 135.3 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.9001, allocations: 0 / 0.8003 GB, free: 135.3 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002725/0.9004, allocations: 202.2 kB / 0.8005 GB, free: 135.1 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 8.069e-05/0.9005, allocations: 100.8 kB / 0.8006 GB, free: 135 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.137e-05/0.9006, allocations: 6.375 kB / 0.8006 GB, free: 135 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001768/0.9008, allocations: 8.094 kB / 0.8006 GB, free: 135 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.057e-05/0.9008, allocations: 8.547 kB / 0.8006 GB, free: 135 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.249e-05/0.9008, allocations: 1.844 kB / 0.8006 GB, free: 135 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.000148/0.901, allocations: 142.3 kB / 0.8007 GB, free: 134.9 MB / 0.6511 GB Notification: Performance of sort global known variables: time 8.92e-07/0.901, allocations: 0 / 0.8007 GB, free: 134.9 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004752/0.9015, allocations: 53.44 kB / 0.8008 GB, free: 134.9 MB / 0.6511 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 () * 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.0001048/0.9016, allocations: 108.5 kB / 0.8009 GB, free: 134.8 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.000383/0.902, allocations: 203.8 kB / 0.8011 GB, free: 134.7 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.589e-06/0.902, allocations: 1.5 kB / 0.8011 GB, free: 134.7 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001629/0.9022, allocations: 147.4 kB / 0.8012 GB, free: 134.6 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003399/0.9025, allocations: 39.45 kB / 0.8012 GB, free: 134.5 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005079/0.9031, allocations: 219.8 kB / 0.8014 GB, free: 134.4 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002285/0.9033, allocations: 0.7524 MB / 0.8022 GB, free: 133.7 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001356/0.9035, allocations: 25.06 kB / 0.8022 GB, free: 133.7 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.858e-05/0.9035, allocations: 18.62 kB / 0.8022 GB, free: 133.7 MB / 0.6511 GB Notification: Performance of SimCode: time 1.561e-06/0.9035, allocations: 0 / 0.8022 GB, free: 133.7 MB / 0.6511 GB Notification: Performance of Templates: time 0.005835/0.9094, allocations: 1.637 MB / 0.8038 GB, free: 132.9 MB / 0.6511 GB