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.DCLine.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.DCLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Electrical.DC.Lines.Examples.DCLine") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.004323/0.004328, allocations: 235.5 kB / 15.81 MB, free: 6.281 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.001218/0.001218, allocations: 179.3 kB / 16.69 MB, free: 5.449 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.714/3.714, allocations: 389.1 MB / 406.5 MB, free: 6.695 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.702/4.702, allocations: 472.3 MB / 0.9023 GB, free: 10.82 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006985/0.0006989, allocations: 16 kB / 1.008 GB, free: 6.773 MB / 0.6511 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.225/0.2258, allocations: 98.7 MB / 1.105 GB, free: 3.906 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLine): time 0.01018/0.236, allocations: 5.548 MB / 1.11 GB, free: 14.33 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.009511/0.2456, allocations: 4.214 MB / 1.114 GB, free: 10.11 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006756/0.2463, allocations: 23.88 kB / 1.114 GB, free: 10.08 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.000554/0.2469, allocations: 127 kB / 1.114 GB, free: 9.957 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.002664/0.2496, allocations: 0.633 MB / 1.115 GB, free: 9.32 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.001074/0.2507, allocations: 239.6 kB / 1.115 GB, free: 9.086 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.002227/0.2529, allocations: 1.203 MB / 1.116 GB, free: 7.879 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009692/0.2539, allocations: 484.4 kB / 1.117 GB, free: 7.379 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008422/0.2548, allocations: 382.4 kB / 1.117 GB, free: 7.004 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001058/0.2559, allocations: 458.3 kB / 1.118 GB, free: 6.555 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 0.0001223/0.256, allocations: 32 kB / 1.118 GB, free: 6.523 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000603/0.2566, allocations: 151.8 kB / 1.118 GB, free: 6.375 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.0002827/0.2569, allocations: 199.3 kB / 1.118 GB, free: 6.18 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.0002313/0.2572, allocations: 165.3 kB / 1.118 GB, free: 6.012 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.00129/0.2585, allocations: 0.8184 MB / 1.119 GB, free: 5.191 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.2585, allocations: 0 / 1.119 GB, free: 5.191 MB / 0.7605 GB Notification: Performance of FrontEnd: time 4.178e-06/0.2585, allocations: 0 / 1.119 GB, free: 5.191 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 1.454e-05/0.2585, allocations: 3.938 kB / 1.119 GB, free: 5.188 MB / 0.7605 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 0.002519/0.261, allocations: 0.9776 MB / 1.12 GB, free: 4.156 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.912e-05/0.2611, allocations: 8.031 kB / 1.12 GB, free: 4.148 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005601/0.2667, allocations: 0.6583 MB / 1.12 GB, free: 3.488 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001436/0.2682, allocations: 0.5182 MB / 1.121 GB, free: 2.93 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.138e-05/0.2683, allocations: 41.31 kB / 1.121 GB, free: 2.891 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001551/0.2684, allocations: 51.98 kB / 1.121 GB, free: 2.84 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003396/0.2718, allocations: 1.025 MB / 1.122 GB, free: 1.773 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.627e-05/0.2719, allocations: 7.984 kB / 1.122 GB, free: 1.766 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001166/0.272, allocations: 20 kB / 1.122 GB, free: 1.746 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001375/0.2722, allocations: 49.28 kB / 1.122 GB, free: 1.695 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0043/0.2765, allocations: 1.012 MB / 1.123 GB, free: 0.6836 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007041/0.2835, allocations: 3.513 MB / 1.127 GB, free: 12.86 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002681/0.2863, allocations: 0.5327 MB / 1.127 GB, free: 12.32 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001098/0.2874, allocations: 240.7 kB / 1.127 GB, free: 12.09 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 5.583e-05/0.2875, allocations: 7.938 kB / 1.127 GB, free: 12.08 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.536e-05/0.2876, allocations: 38.56 kB / 1.127 GB, free: 12.03 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=31): time 3.997e-06/0.2876, allocations: 0 / 1.127 GB, free: 12.03 MB / 0.7761 GB Notification: Performance of matching and sorting (n=43): time 0.01323/0.3008, allocations: 2.229 MB / 1.13 GB, free: 9.758 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.34e-05/0.3009, allocations: 55.41 kB / 1.13 GB, free: 9.691 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001122/0.3021, allocations: 0.5665 MB / 1.13 GB, free: 9.113 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 0.0001021/0.3022, allocations: 37.7 kB / 1.13 GB, free: 9.07 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003875/0.3026, allocations: 352.1 kB / 1.131 GB, free: 8.723 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002127/0.3028, allocations: 153.8 kB / 1.131 GB, free: 8.57 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.138e-05/0.3029, allocations: 12 kB / 1.131 GB, free: 8.559 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002178/0.3031, allocations: 374.7 kB / 1.131 GB, free: 8.184 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001337/0.3044, allocations: 272.9 kB / 1.131 GB, free: 7.918 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0014/0.3059, allocations: 385.8 kB / 1.132 GB, free: 7.496 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001409/0.3073, allocations: 309.4 kB / 1.132 GB, free: 7.195 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.474e-06/0.3073, allocations: 4 kB / 1.132 GB, free: 7.191 MB / 0.7761 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.004582/0.3119, allocations: 0.9671 MB / 1.133 GB, free: 6.199 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002022/0.3122, allocations: 180.5 kB / 1.133 GB, free: 5.977 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.551e-05/0.3122, allocations: 4 kB / 1.133 GB, free: 5.973 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001957/0.3142, allocations: 272.8 kB / 1.133 GB, free: 5.688 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001213/0.3154, allocations: 131.8 kB / 1.133 GB, free: 5.559 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01119/0.3266, allocations: 8.473 MB / 1.142 GB, free: 12.29 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001141/0.3278, allocations: 60.03 kB / 1.142 GB, free: 12.23 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.947e-05/0.3279, allocations: 20 kB / 1.142 GB, free: 12.21 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.211e-05/0.3279, allocations: 4 kB / 1.142 GB, free: 12.21 MB / 0.7917 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004362/0.3323, allocations: 1.077 MB / 1.143 GB, free: 11.05 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.501e-05/0.3324, allocations: 8.297 kB / 1.143 GB, free: 11.05 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001368/0.3337, allocations: 217.1 kB / 1.143 GB, free: 10.82 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001237/0.335, allocations: 139.8 kB / 1.143 GB, free: 10.68 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00896/0.344, allocations: 8.153 MB / 1.151 GB, free: 1.727 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001117/0.3452, allocations: 56.02 kB / 1.151 GB, free: 1.672 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.577e-05/0.3452, allocations: 24 kB / 1.151 GB, free: 1.648 MB / 0.7917 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (47): * Single equations (assignments): 41 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 3 {1 2,1 2,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0005614/0.3458, allocations: 318.9 kB / 1.152 GB, free: 1.328 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001649/0.346, allocations: 71.16 kB / 1.152 GB, free: 1.258 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002097/0.3462, allocations: 82.38 kB / 1.152 GB, free: 1.172 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.017e-06/0.3462, allocations: 3.984 kB / 1.152 GB, free: 1.168 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/0.3462, allocations: 0 / 1.152 GB, free: 1.168 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003658/0.3466, allocations: 180.3 kB / 1.152 GB, free: 0.9727 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001324/0.3468, allocations: 4 kB / 1.152 GB, free: 0.9688 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009002/0.3477, allocations: 55.91 kB / 1.152 GB, free: 0.9141 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001536/0.3478, allocations: 39.92 kB / 1.152 GB, free: 0.875 MB / 0.7917 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005042/0.3529, allocations: 1.001 MB / 1.153 GB, free: 15.85 MB / 0.8073 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.00414/0.3571, allocations: 1.109 MB / 1.154 GB, free: 14.72 MB / 0.8073 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001262/0.3584, allocations: 287.8 kB / 1.154 GB, free: 14.44 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0007862/0.3592, allocations: 407 kB / 1.155 GB, free: 14.05 MB / 0.8073 GB Notification: Performance of Backend: time 7.21e-07/0.3592, allocations: 0 / 1.155 GB, free: 14.05 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.006523/0.3657, allocations: 2.301 MB / 1.157 GB, free: 11.59 MB / 0.8073 GB Notification: Performance of SimCode: time 0.004437/0.3702, allocations: 2.095 MB / 1.159 GB, free: 9.445 MB / 0.8073 GB Notification: Performance of Templates: time 0.5967/0.967, allocations: 15.04 MB / 1.174 GB, free: 266.4 MB / 0.8073 GB