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.01049/0.01049, allocations: 223 kB / 15.17 MB, free: 5.93 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.001083/0.001082, allocations: 181.8 kB / 16.06 MB, free: 5.828 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.269/3.269, allocations: 389.1 MB / 405.9 MB, free: 67.62 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.168/4.168, allocations: 472.3 MB / 0.9018 GB, free: 13.39 MB / 0.573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005172/0.0005175, allocations: 12 kB / 1.008 GB, free: 0.8398 MB / 0.6667 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4885/0.489, allocations: 98.72 MB / 1.104 GB, free: 183.9 MB / 0.6823 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLine): time 0.00613/0.4952, allocations: 5.543 MB / 1.109 GB, free: 178.4 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.00614/0.5014, allocations: 4.216 MB / 1.114 GB, free: 174.2 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005111/0.5019, allocations: 19.88 kB / 1.114 GB, free: 174.1 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0003944/0.5023, allocations: 135 kB / 1.114 GB, free: 174 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.001646/0.504, allocations: 0.6123 MB / 1.114 GB, free: 173.4 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007021/0.5047, allocations: 245.2 kB / 1.115 GB, free: 173.2 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.001456/0.5062, allocations: 1.2 MB / 1.116 GB, free: 172 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007457/0.507, allocations: 496.3 kB / 1.116 GB, free: 171.5 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005405/0.5075, allocations: 362.5 kB / 1.117 GB, free: 171.1 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006965/0.5083, allocations: 471.6 kB / 1.117 GB, free: 170.7 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 8.945e-05/0.5084, allocations: 32 kB / 1.117 GB, free: 170.6 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000421/0.5088, allocations: 147 kB / 1.117 GB, free: 170.5 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.000174/0.509, allocations: 207.2 kB / 1.117 GB, free: 170.3 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0001491/0.5091, allocations: 165.3 kB / 1.118 GB, free: 170.1 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.0007612/0.5099, allocations: 0.8038 MB / 1.118 GB, free: 169.3 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 6.581e-06/0.5099, allocations: 4 kB / 1.118 GB, free: 169.3 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.812e-06/0.5099, allocations: 0 / 1.118 GB, free: 169.3 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 2.227e-05/0.51, allocations: 5.062 kB / 1.118 GB, free: 169.3 MB / 0.6823 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.001622/0.5116, allocations: 0.9798 MB / 1.119 GB, free: 168.3 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.463e-05/0.5117, allocations: 12.03 kB / 1.119 GB, free: 168.3 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003605/0.5153, allocations: 0.6526 MB / 1.12 GB, free: 167.6 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009315/0.5162, allocations: 0.5245 MB / 1.12 GB, free: 167.1 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.601e-05/0.5163, allocations: 45.25 kB / 1.12 GB, free: 167 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001051/0.5164, allocations: 48 kB / 1.121 GB, free: 167 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002129/0.5185, allocations: 1.023 MB / 1.122 GB, free: 165.9 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.014e-05/0.5186, allocations: 0 / 1.122 GB, free: 165.9 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.76e-05/0.5187, allocations: 31.36 kB / 1.122 GB, free: 165.9 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.292e-05/0.5188, allocations: 42.94 kB / 1.122 GB, free: 165.8 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002613/0.5214, allocations: 1.018 MB / 1.123 GB, free: 164.8 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004224/0.5257, allocations: 3.527 MB / 1.126 GB, free: 161 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001613/0.5273, allocations: 0.5186 MB / 1.127 GB, free: 160.5 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006348/0.5279, allocations: 247.6 kB / 1.127 GB, free: 160.3 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 3.861e-05/0.528, allocations: 11.98 kB / 1.127 GB, free: 160.3 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.146e-05/0.528, allocations: 30.56 kB / 1.127 GB, free: 160.2 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=31): time 3.436e-06/0.5281, allocations: 1.219 kB / 1.127 GB, free: 160.2 MB / 0.6823 GB Notification: Performance of matching and sorting (n=43): time 0.007669/0.5357, allocations: 2.224 MB / 1.129 GB, free: 158 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.662e-05/0.5358, allocations: 63.36 kB / 1.129 GB, free: 157.9 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006894/0.5365, allocations: 0.5626 MB / 1.13 GB, free: 157.4 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 4.154e-05/0.5366, allocations: 33.7 kB / 1.13 GB, free: 157.3 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001969/0.5368, allocations: 356.2 kB / 1.13 GB, free: 157 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001095/0.5369, allocations: 145.2 kB / 1.13 GB, free: 156.8 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.829e-05/0.5369, allocations: 12 kB / 1.13 GB, free: 156.8 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.64e-05/0.537, allocations: 374.8 kB / 1.13 GB, free: 156.5 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00077/0.5378, allocations: 273.8 kB / 1.131 GB, free: 156.2 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007955/0.5386, allocations: 388.4 kB / 1.131 GB, free: 155.8 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008194/0.5395, allocations: 317.9 kB / 1.131 GB, free: 155.5 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.5395, allocations: 0 / 1.131 GB, free: 155.5 MB / 0.6823 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.002738/0.5422, allocations: 0.9671 MB / 1.132 GB, free: 154.5 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 7.616e-05/0.5423, allocations: 185.3 kB / 1.133 GB, free: 154.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.111e-06/0.5424, allocations: 2.5 kB / 1.133 GB, free: 154.3 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001328/0.5437, allocations: 274 kB / 1.133 GB, free: 154 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007098/0.5444, allocations: 135 kB / 1.133 GB, free: 153.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006678/0.5511, allocations: 8.477 MB / 1.141 GB, free: 144.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007288/0.5519, allocations: 52.86 kB / 1.141 GB, free: 144.6 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.656e-05/0.552, allocations: 23.45 kB / 1.141 GB, free: 144.6 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 8.08e-06/0.552, allocations: 0 / 1.141 GB, free: 144.6 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00265/0.5546, allocations: 1.085 MB / 1.142 GB, free: 143.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.829e-06/0.5547, allocations: 4 kB / 1.142 GB, free: 143.4 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009203/0.5556, allocations: 212.4 kB / 1.143 GB, free: 143.2 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007181/0.5563, allocations: 138.5 kB / 1.143 GB, free: 143.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005635/0.562, allocations: 8.152 MB / 1.151 GB, free: 134.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007323/0.5628, allocations: 54.73 kB / 1.151 GB, free: 134.1 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.432e-05/0.5628, allocations: 16 kB / 1.151 GB, free: 134.1 MB / 0.6823 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.0004107/0.5633, allocations: 318.5 kB / 1.151 GB, free: 133.8 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001327/0.5634, allocations: 71.16 kB / 1.151 GB, free: 133.7 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001428/0.5636, allocations: 78.38 kB / 1.151 GB, free: 133.7 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.041e-06/0.5636, allocations: 4.75 kB / 1.151 GB, free: 133.7 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.138e-05/0.5636, allocations: 8.578 kB / 1.151 GB, free: 133.6 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.06e-06/0.5636, allocations: 2.25 kB / 1.151 GB, free: 133.6 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000852/0.5645, allocations: 0.6417 MB / 1.152 GB, free: 133 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.874e-06/0.5645, allocations: 0 / 1.152 GB, free: 133 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006905/0.5652, allocations: 102.6 kB / 1.152 GB, free: 132.9 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001334/0.5665, allocations: 259.4 kB / 1.152 GB, free: 132.6 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.647e-05/0.5666, allocations: 11.98 kB / 1.152 GB, free: 132.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006382/0.573, allocations: 8.421 MB / 1.16 GB, free: 123.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.911e-06/0.5731, allocations: 6.125 kB / 1.16 GB, free: 123.4 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002786/0.5759, allocations: 0.9592 MB / 1.161 GB, free: 122.4 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002933/0.5762, allocations: 189.1 kB / 1.161 GB, free: 122.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001019/0.5763, allocations: 8.656 kB / 1.161 GB, free: 122.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005833/0.5769, allocations: 50.84 kB / 1.162 GB, free: 122.2 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001324/0.577, allocations: 40.59 kB / 1.162 GB, free: 122.1 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.451e-05/0.5771, allocations: 13.88 kB / 1.162 GB, free: 122.1 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0004993/0.5776, allocations: 399.1 kB / 1.162 GB, free: 121.7 MB / 0.6823 GB Notification: Performance of sort global known variables: time 6.41e-07/0.5776, allocations: 3.938 kB / 1.162 GB, free: 121.7 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001411/0.579, allocations: 296 kB / 1.162 GB, free: 121.4 MB / 0.6823 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 (31): * Single equations (assignments): 25 * 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 Backend phase and start with SimCode phase: time 0.0001383/0.5792, allocations: 120 kB / 1.162 GB, free: 121.3 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.004182/0.5834, allocations: 2.408 MB / 1.165 GB, free: 118.8 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 6.054e-06/0.5834, allocations: 0 / 1.165 GB, free: 118.8 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001508/0.5849, allocations: 1.029 MB / 1.166 GB, free: 117.7 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001326/0.5863, allocations: 207 kB / 1.166 GB, free: 117.5 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002616/0.5889, allocations: 1.534 MB / 1.167 GB, free: 116 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005059/0.5895, allocations: 0.9969 MB / 1.168 GB, free: 114.9 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0007653/0.5902, allocations: 155.9 kB / 1.169 GB, free: 114.8 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001925/0.5904, allocations: 47.42 kB / 1.169 GB, free: 114.8 MB / 0.6823 GB Notification: Performance of SimCode: time 1.626e-06/0.5905, allocations: 0 / 1.169 GB, free: 114.8 MB / 0.6823 GB Notification: Performance of Templates: time 0.02538/0.6158, allocations: 12.5 MB / 1.181 GB, free: 102.7 MB / 0.6823 GB