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.00927/0.009275, allocations: 108.5 kB / 15.06 MB, free: 6.039 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.001146/0.001145, allocations: 180.4 kB / 15.95 MB, free: 5.957 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 1.853/1.853, allocations: 194.5 MB / 211.3 MB, free: 11.04 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.332/2.332, allocations: 236.2 MB / 492.6 MB, free: 11.37 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004725/0.0004726, allocations: 12 kB / 0.5869 GB, free: 2.172 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5738/0.5743, allocations: 98.71 MB / 0.6833 GB, free: 16.8 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLines): time 0.04655/0.6209, allocations: 19.15 MB / 0.702 GB, free: 4.117 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.04983/0.6708, allocations: 16.06 MB / 0.7177 GB, free: 7.777 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004038/0.6749, allocations: 95.97 kB / 0.7178 GB, free: 7.738 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 0.003866/0.6788, allocations: 0.5505 MB / 0.7183 GB, free: 7.234 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 0.01884/0.6977, allocations: 2.821 MB / 0.7211 GB, free: 4.941 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.006697/0.7044, allocations: 0.9419 MB / 0.722 GB, free: 4.203 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 0.01271/0.7172, allocations: 3.344 MB / 0.7253 GB, free: 2.059 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006366/0.7236, allocations: 2.024 MB / 0.7273 GB, free: 0.8359 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006554/0.7302, allocations: 1.722 MB / 0.7289 GB, free: 15.57 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006368/0.7366, allocations: 1.755 MB / 0.7307 GB, free: 13.8 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 0.001077/0.7377, allocations: 164 kB / 0.7308 GB, free: 13.64 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00332/0.7411, allocations: 475.4 kB / 0.7313 GB, free: 13.18 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.001735/0.7428, allocations: 0.8566 MB / 0.7321 GB, free: 12.32 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.001941/0.7448, allocations: 0.6873 MB / 0.7328 GB, free: 11.62 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.009923/0.7548, allocations: 3.8 MB / 0.7365 GB, free: 7.812 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 3.881e-06/0.7548, allocations: 4 kB / 0.7365 GB, free: 7.809 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.951e-06/0.7548, allocations: 0 / 0.7365 GB, free: 7.809 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 0.0001033/0.755, allocations: 0 / 0.7365 GB, free: 7.809 MB / 0.5573 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.01664/0.7716, allocations: 3.869 MB / 0.7403 GB, free: 3.828 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 7.103e-05/0.7717, allocations: 19.95 kB / 0.7403 GB, free: 3.809 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03828/0.81, allocations: 3.393 MB / 0.7436 GB, free: 416 kB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009747/0.8198, allocations: 1.96 MB / 0.7455 GB, free: 14.38 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003906/0.8203, allocations: 184.7 kB / 0.7457 GB, free: 14.2 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001369/0.8217, allocations: 236 kB / 0.7459 GB, free: 13.96 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02666/0.8484, allocations: 4.701 MB / 0.7505 GB, free: 9.121 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.685e-05/0.8485, allocations: 7.938 kB / 0.7505 GB, free: 9.113 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004406/0.8489, allocations: 107.9 kB / 0.7506 GB, free: 9.008 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002709/0.8492, allocations: 172.8 kB / 0.7508 GB, free: 8.836 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01838/0.8676, allocations: 5.226 MB / 0.7559 GB, free: 3.594 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02787/0.8955, allocations: 14.13 MB / 0.7697 GB, free: 4.297 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01512/0.9107, allocations: 3.839 MB / 0.7734 GB, free: 452 kB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001821/0.9109, allocations: 25.3 kB / 0.7735 GB, free: 428 kB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005584/0.9165, allocations: 1.808 MB / 0.7752 GB, free: 14.54 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=163): time 5.998e-06/0.9166, allocations: 0 / 0.7752 GB, free: 14.54 MB / 0.6042 GB Notification: Performance of matching and sorting (n=250): time 0.1584/1.075, allocations: 33.41 MB / 0.8078 GB, free: 12.92 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000339/1.075, allocations: 0.4928 MB / 0.8083 GB, free: 12.31 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004563/1.08, allocations: 2.277 MB / 0.8105 GB, free: 10.02 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0004496/1.08, allocations: 77.7 kB / 0.8106 GB, free: 9.941 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.001721/1.082, allocations: 1.438 MB / 0.812 GB, free: 8.488 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.001226/1.083, allocations: 0.8124 MB / 0.8128 GB, free: 7.664 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002768/1.084, allocations: 52 kB / 0.8129 GB, free: 7.613 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0002727/1.084, allocations: 398.6 kB / 0.8132 GB, free: 7.219 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006865/1.091, allocations: 1.917 MB / 0.8151 GB, free: 5.297 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007297/1.098, allocations: 2.219 MB / 0.8173 GB, free: 2.996 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007071/1.105, allocations: 2.128 MB / 0.8194 GB, free: 0.8164 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.447e-05/1.105, allocations: 3.938 kB / 0.8194 GB, free: 0.8125 MB / 0.6355 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.02195/1.127, allocations: 6.169 MB / 0.8254 GB, free: 10.55 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.00144/1.129, allocations: 2.448 MB / 0.8278 GB, free: 7.828 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.378e-05/1.129, allocations: 4 kB / 0.8278 GB, free: 7.824 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01284/1.142, allocations: 1.852 MB / 0.8296 GB, free: 5.969 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006088/1.148, allocations: 0.589 MB / 0.8302 GB, free: 5.379 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03453/1.182, allocations: 14.81 MB / 0.8446 GB, free: 6.312 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00911/1.192, allocations: 407.7 kB / 0.845 GB, free: 5.914 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009578/1.193, allocations: 95.91 kB / 0.8451 GB, free: 5.82 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.419e-05/1.193, allocations: 6.188 kB / 0.8451 GB, free: 5.816 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03939/1.232, allocations: 5.746 MB / 0.8507 GB, free: 15.99 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.305e-05/1.232, allocations: 4 kB / 0.8507 GB, free: 15.98 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01379/1.246, allocations: 1.825 MB / 0.8525 GB, free: 14.15 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007467/1.253, allocations: 0.6085 MB / 0.8531 GB, free: 13.54 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03941/1.293, allocations: 14.05 MB / 0.8668 GB, free: 15.21 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004395/1.297, allocations: 407.5 kB / 0.8672 GB, free: 14.81 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004539/1.298, allocations: 87.97 kB / 0.8673 GB, free: 14.73 MB / 0.698 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.002158/1.3, allocations: 0.7801 MB / 0.8681 GB, free: 13.93 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008458/1.301, allocations: 332.1 kB / 0.8684 GB, free: 13.61 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009187/1.302, allocations: 388.1 kB / 0.8688 GB, free: 13.22 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.88e-05/1.302, allocations: 31.94 kB / 0.8688 GB, free: 13.19 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.91e-05/1.302, allocations: 8 kB / 0.8688 GB, free: 13.18 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.052e-05/1.302, allocations: 19.73 kB / 0.8688 GB, free: 13.16 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006013/1.308, allocations: 3.176 MB / 0.8719 GB, free: 9.938 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.441e-05/1.308, allocations: 3.984 kB / 0.8719 GB, free: 9.934 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003513/1.312, allocations: 0.5189 MB / 0.8724 GB, free: 9.414 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008413/1.32, allocations: 1.711 MB / 0.8741 GB, free: 7.695 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004336/1.321, allocations: 51.97 kB / 0.8742 GB, free: 7.645 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0329/1.353, allocations: 14.6 MB / 0.8884 GB, free: 8.773 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.359e-06/1.354, allocations: 0 / 0.8884 GB, free: 8.773 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02071/1.374, allocations: 5.78 MB / 0.8941 GB, free: 2.957 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002207/1.376, allocations: 0.6687 MB / 0.8947 GB, free: 2.266 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007037/1.377, allocations: 47.95 kB / 0.8948 GB, free: 2.219 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003963/1.381, allocations: 399.5 kB / 0.8951 GB, free: 1.828 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001244/1.382, allocations: 315.1 kB / 0.8954 GB, free: 1.523 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000317/1.383, allocations: 71.97 kB / 0.8955 GB, free: 1.453 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.00334/1.386, allocations: 1.513 MB / 0.897 GB, free: 15.94 MB / 0.7292 GB Notification: Performance of sort global known variables: time 9.36e-07/1.386, allocations: 4 kB / 0.897 GB, free: 15.93 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.00575/1.392, allocations: 1.621 MB / 0.8986 GB, free: 14.31 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.0004944/1.393, allocations: 171 kB / 0.8987 GB, free: 14.13 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.03147/1.424, allocations: 10.06 MB / 0.9086 GB, free: 3.887 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 8.685e-06/1.424, allocations: 4 kB / 0.9086 GB, free: 3.883 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.01127/1.435, allocations: 3.491 MB / 0.912 GB, free: 372 kB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.4702/1.906, allocations: 0.9983 MB / 0.9129 GB, free: 201.2 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03087/1.936, allocations: 7.571 MB / 0.9203 GB, free: 198.5 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003567/1.94, allocations: 2.375 MB / 0.9227 GB, free: 197.7 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.004585/1.945, allocations: 0.6375 MB / 0.9233 GB, free: 197.7 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001093/1.946, allocations: 183.6 kB / 0.9235 GB, free: 197.7 MB / 0.7292 GB Notification: Performance of SimCode: time 2.498e-06/1.946, allocations: 7.125 kB / 0.9235 GB, free: 197.7 MB / 0.7292 GB Notification: Performance of Templates: time 0.148/2.094, allocations: 74.06 MB / 0.9958 GB, free: 147.7 MB / 0.7292 GB