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.DCLines.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.DCLines,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Electrical.DC.Lines.Examples.DCLines") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01036/0.01036, allocations: 222.3 kB / 15.17 MB, free: 5.926 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.001085/0.001086, allocations: 176 kB / 16.06 MB, free: 5.832 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.609/3.609, allocations: 389.1 MB / 405.9 MB, free: 14.21 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 3.895/3.895, allocations: 472.3 MB / 0.9018 GB, free: 108 kB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004663/0.0004665, allocations: 12 kB / 1.008 GB, free: 4.203 MB / 0.6667 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5336/0.5341, allocations: 98.7 MB / 1.104 GB, free: 206.4 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLines): time 0.02543/0.5596, allocations: 20.24 MB / 1.124 GB, free: 192.8 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.02758/0.5872, allocations: 16.46 MB / 1.14 GB, free: 181.4 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003747/0.591, allocations: 99.12 kB / 1.14 GB, free: 181.4 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.001928/0.593, allocations: 0.5135 MB / 1.14 GB, free: 181 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.01095/0.6039, allocations: 2.823 MB / 1.143 GB, free: 178.8 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.003863/0.6078, allocations: 0.9599 MB / 1.144 GB, free: 178.1 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.007644/0.6155, allocations: 5.795 MB / 1.15 GB, free: 172.5 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003412/0.6189, allocations: 2.018 MB / 1.152 GB, free: 170.6 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00345/0.6224, allocations: 1.826 MB / 1.154 GB, free: 168.8 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003289/0.6258, allocations: 2.174 MB / 1.156 GB, free: 166.6 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.0006076/0.6264, allocations: 164 kB / 1.156 GB, free: 166.4 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002022/0.6284, allocations: 0.4953 MB / 1.156 GB, free: 166 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.000824/0.6293, allocations: 0.9185 MB / 1.157 GB, free: 165 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0009911/0.6303, allocations: 0.6939 MB / 1.158 GB, free: 164.3 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.004085/0.6344, allocations: 3.833 MB / 1.162 GB, free: 160.5 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 6.254e-06/0.6344, allocations: 0 / 1.162 GB, free: 160.5 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.551e-06/0.6344, allocations: 0 / 1.162 GB, free: 160.5 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.052e-05/0.6345, allocations: 0 / 1.162 GB, free: 160.5 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 635 * Number of variables: 635 Notification: Performance of Generate backend data structure: time 0.007909/0.6424, allocations: 3.877 MB / 1.165 GB, free: 156.5 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.838e-05/0.6425, allocations: 8.031 kB / 1.165 GB, free: 156.5 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0181/0.6606, allocations: 3.406 MB / 1.169 GB, free: 153.2 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004371/0.665, allocations: 1.96 MB / 1.171 GB, free: 151.2 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001481/0.6652, allocations: 180.7 kB / 1.171 GB, free: 151 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005448/0.6657, allocations: 236 kB / 1.171 GB, free: 150.8 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01145/0.6772, allocations: 4.722 MB / 1.176 GB, free: 145.9 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.608e-05/0.6773, allocations: 0 / 1.176 GB, free: 145.9 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003786/0.6777, allocations: 103.9 kB / 1.176 GB, free: 145.8 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001987/0.6779, allocations: 179.3 kB / 1.176 GB, free: 145.7 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01469/0.6926, allocations: 5.219 MB / 1.181 GB, free: 140.5 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02084/0.7135, allocations: 14.12 MB / 1.195 GB, free: 125.3 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01242/0.7259, allocations: 3.84 MB / 1.199 GB, free: 121.5 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004031/0.73, allocations: 1.514 MB / 1.2 GB, free: 120 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001257/0.7302, allocations: 29.27 kB / 1.2 GB, free: 120 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004303/0.7345, allocations: 1.823 MB / 1.202 GB, free: 118.1 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=163): time 5.273e-06/0.7345, allocations: 0 / 1.202 GB, free: 118.1 MB / 0.7136 GB Notification: Performance of matching and sorting (n=250): time 0.1334/0.8679, allocations: 33.4 MB / 1.235 GB, free: 84.48 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001232/0.8681, allocations: 0.4889 MB / 1.235 GB, free: 83.88 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003389/0.8715, allocations: 2.277 MB / 1.237 GB, free: 81.59 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0004076/0.8719, allocations: 81.7 kB / 1.237 GB, free: 81.5 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.001076/0.873, allocations: 1.437 MB / 1.239 GB, free: 80.05 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.00075/0.8738, allocations: 0.8163 MB / 1.239 GB, free: 79.23 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002351/0.874, allocations: 48 kB / 1.24 GB, free: 79.18 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001514/0.8742, allocations: 398.7 kB / 1.24 GB, free: 78.79 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005456/0.8796, allocations: 1.917 MB / 1.242 GB, free: 76.86 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005825/0.8855, allocations: 2.223 MB / 1.244 GB, free: 74.55 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005671/0.8912, allocations: 2.132 MB / 1.246 GB, free: 72.37 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-05/0.8912, allocations: 0 / 1.246 GB, free: 72.37 MB / 0.7136 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.01795/0.9092, allocations: 6.165 MB / 1.252 GB, free: 66.11 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001814/0.9094, allocations: 407.5 kB / 1.252 GB, free: 65.6 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.872e-05/0.9095, allocations: 4 kB / 1.252 GB, free: 65.59 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007648/0.9171, allocations: 1.856 MB / 1.254 GB, free: 63.74 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003383/0.9205, allocations: 0.5774 MB / 1.255 GB, free: 63.16 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02647/0.947, allocations: 14.17 MB / 1.269 GB, free: 48.81 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004019/0.9511, allocations: 407.5 kB / 1.269 GB, free: 48.41 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003449/0.9515, allocations: 87.97 kB / 1.269 GB, free: 48.33 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.238e-05/0.9515, allocations: 4 kB / 1.269 GB, free: 48.32 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01649/0.968, allocations: 5.753 MB / 1.275 GB, free: 42.49 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.397e-05/0.968, allocations: 8.344 kB / 1.275 GB, free: 42.48 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006063/0.9741, allocations: 1.817 MB / 1.277 GB, free: 40.67 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003443/0.9776, allocations: 0.6086 MB / 1.277 GB, free: 40.06 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02341/1.001, allocations: 13.44 MB / 1.29 GB, free: 26.35 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004098/1.005, allocations: 407.5 kB / 1.291 GB, free: 25.95 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003732/1.006, allocations: 87.97 kB / 1.291 GB, free: 25.86 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 25 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.varLoad1.T_start,varLoad1.T_start,$PRE.varLoad1.count,varLoad1.count,$PRE.varLoad2.T_start,varLoad2.T_start,$PRE.varLoad2.count,varLoad2.count,$PRE.varLoad3.T_start,varLoad3.T_start,$PRE.varLoad3.count,varLoad3.count,$PRE.varLoad4.T_start,varLoad4.T_start,$PRE.varLoad4.count,varLoad4.count,$PRE.varLoad5.T_start,varLoad5.T_start,$PRE.varLoad5.count,varLoad5.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (172): * Single equations (assignments): 165 * Array equations: 0 * Algorithm blocks: 5 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(10,45.0%) 52} * Non-linear torn systems: 1 {10 52} Notification: Performance of prepare postOptimizeDAE: time 0.001759/1.007, allocations: 0.7785 MB / 1.291 GB, free: 25.07 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006155/1.008, allocations: 332.1 kB / 1.292 GB, free: 24.75 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006777/1.009, allocations: 392.1 kB / 1.292 GB, free: 24.36 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-05/1.009, allocations: 24 kB / 1.292 GB, free: 24.33 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.129e-05/1.009, allocations: 12 kB / 1.292 GB, free: 24.32 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.486e-05/1.009, allocations: 15.91 kB / 1.292 GB, free: 24.3 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004424/1.013, allocations: 3.18 MB / 1.295 GB, free: 21.07 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.356e-05/1.013, allocations: 0 / 1.295 GB, free: 21.07 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003032/1.016, allocations: 0.5222 MB / 1.296 GB, free: 20.55 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00775/1.024, allocations: 1.711 MB / 1.298 GB, free: 18.84 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004537/1.025, allocations: 47.98 kB / 1.298 GB, free: 18.79 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02513/1.05, allocations: 13.94 MB / 1.311 GB, free: 4.578 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.594e-06/1.05, allocations: 0 / 1.311 GB, free: 4.578 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01743/1.067, allocations: 5.787 MB / 1.317 GB, free: 14.75 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002135/1.069, allocations: 0.6649 MB / 1.317 GB, free: 14.07 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005838/1.07, allocations: 51.94 kB / 1.318 GB, free: 14.02 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003502/1.073, allocations: 399.5 kB / 1.318 GB, free: 13.62 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001084/1.075, allocations: 306.6 kB / 1.318 GB, free: 13.33 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002863/1.075, allocations: 68.81 kB / 1.318 GB, free: 13.26 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.002993/1.078, allocations: 1.513 MB / 1.32 GB, free: 11.75 MB / 0.7292 GB Notification: Performance of sort global known variables: time 8.79e-07/1.078, allocations: 0 / 1.32 GB, free: 11.75 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.005359/1.083, allocations: 1.629 MB / 1.321 GB, free: 10.12 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,varLoad1.T_start,varLoad1.count,varLoad2.T_start,varLoad2.count,varLoad3.T_start,varLoad3.count,varLoad4.T_start,varLoad4.count,varLoad5.T_start,varLoad5.count) * Number of discrete states: 5 (varLoad1.count,varLoad2.count,varLoad3.count,varLoad4.count,varLoad5.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (128): * Single equations (assignments): 116 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(10,60.0%) 52} * Non-linear torn systems: 1 {10 52} Notification: Performance of Backend phase and start with SimCode phase: time 0.000434/1.084, allocations: 167.6 kB / 1.321 GB, free: 9.949 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.4654/1.549, allocations: 10.08 MB / 1.331 GB, free: 199.9 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.315e-05/1.549, allocations: 2.125 kB / 1.331 GB, free: 199.9 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.01126/1.561, allocations: 3.488 MB / 1.335 GB, free: 199.6 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005896/1.566, allocations: 1.042 MB / 1.336 GB, free: 199.6 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01848/1.585, allocations: 7.569 MB / 1.343 GB, free: 196.8 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003164/1.588, allocations: 2.375 MB / 1.345 GB, free: 196 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.004806/1.593, allocations: 0.6312 MB / 1.346 GB, free: 196 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001093/1.594, allocations: 184.8 kB / 1.346 GB, free: 195.9 MB / 0.7292 GB Notification: Performance of SimCode: time 1.714e-06/1.594, allocations: 0 / 1.346 GB, free: 195.9 MB / 0.7292 GB Notification: Performance of Templates: time 0.1499/1.744, allocations: 74.08 MB / 1.419 GB, free: 142.5 MB / 0.7292 GB