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.DCLinesLinearized.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: "" <> buildModelFMU(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized,fileNamePrefix="Buildings_6_0_0_Buildings_Electrical_DC_Lines_Examples_DCLinesLinearized",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01885/0.01885, allocations: 223.1 kB / 15.18 MB, free: 5.922 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.001787/0.001787, allocations: 178.4 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.831/3.831, allocations: 389.1 MB / 405.9 MB, free: 13.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 4.003/4.003, allocations: 472.3 MB / 0.9017 GB, free: 130 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004845/0.0004848, allocations: 12 kB / 1.008 GB, free: 21.5 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6253/0.6258, allocations: 98.73 MB / 1.104 GB, free: 10.68 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.03278/0.6587, allocations: 20.25 MB / 1.124 GB, free: 6.375 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.03782/0.6966, allocations: 16.46 MB / 1.14 GB, free: 5.91 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003824/0.7005, allocations: 99.44 kB / 1.14 GB, free: 5.812 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 0.003056/0.7036, allocations: 0.5193 MB / 1.141 GB, free: 5.289 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 0.01289/0.7165, allocations: 2.82 MB / 1.143 GB, free: 2.461 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.004894/0.7214, allocations: 0.9593 MB / 1.144 GB, free: 1.5 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 0.01164/0.7331, allocations: 5.948 MB / 1.15 GB, free: 11.53 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005812/0.739, allocations: 2.067 MB / 1.152 GB, free: 9.398 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005396/0.7444, allocations: 1.922 MB / 1.154 GB, free: 7.469 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006499/0.751, allocations: 2.222 MB / 1.156 GB, free: 5.238 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 0.001554/0.7526, allocations: 176 kB / 1.156 GB, free: 5.066 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003461/0.7561, allocations: 0.4992 MB / 1.157 GB, free: 4.566 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.00245/0.7586, allocations: 0.9536 MB / 1.158 GB, free: 3.609 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.002165/0.7608, allocations: 0.6951 MB / 1.158 GB, free: 2.906 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.007951/0.7688, allocations: 3.935 MB / 1.162 GB, free: 14.96 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 9.889e-06/0.7689, allocations: 8 kB / 1.162 GB, free: 14.95 MB / 0.573 GB Notification: Performance of FrontEnd: time 2.715e-06/0.7689, allocations: 3.938 kB / 1.162 GB, free: 14.95 MB / 0.573 GB Notification: Performance of Transformations before backend: time 0.0002022/0.7691, allocations: 0 / 1.162 GB, free: 14.95 MB / 0.573 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.01613/0.7853, allocations: 4.111 MB / 1.166 GB, free: 10.73 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 5.255e-05/0.7853, allocations: 8.031 kB / 1.166 GB, free: 10.72 MB / 0.573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001458/0.7868, allocations: 366.2 kB / 1.167 GB, free: 10.35 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02964/0.8165, allocations: 3.401 MB / 1.17 GB, free: 6.941 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006936/0.8235, allocations: 1.991 MB / 1.172 GB, free: 4.883 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006387/0.8242, allocations: 469.7 kB / 1.172 GB, free: 4.359 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001307/0.8255, allocations: 228 kB / 1.173 GB, free: 4.137 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02127/0.8468, allocations: 4.857 MB / 1.177 GB, free: 15.14 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.086e-05/0.8469, allocations: 4 kB / 1.177 GB, free: 15.13 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008656/0.8478, allocations: 108 kB / 1.177 GB, free: 15.03 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003436/0.8482, allocations: 168.8 kB / 1.178 GB, free: 14.86 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02676/0.8749, allocations: 5.308 MB / 1.183 GB, free: 9.535 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03754/0.9125, allocations: 14.6 MB / 1.197 GB, free: 9.75 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01971/0.9323, allocations: 3.672 MB / 1.201 GB, free: 6.059 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00768/0.94, allocations: 1.592 MB / 1.202 GB, free: 4.469 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002416/0.9403, allocations: 29.25 kB / 1.202 GB, free: 4.441 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00836/0.9487, allocations: 1.911 MB / 1.204 GB, free: 2.465 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=163): time 9.518e-06/0.9487, allocations: 3.984 kB / 1.204 GB, free: 2.461 MB / 0.6042 GB Notification: Performance of matching and sorting (n=250): time 0.2635/1.212, allocations: 34.09 MB / 1.237 GB, free: 148 kB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003533/1.213, allocations: 0.4889 MB / 1.238 GB, free: 15.54 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005007/1.218, allocations: 2.273 MB / 1.24 GB, free: 13.26 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0006509/1.218, allocations: 73.7 kB / 1.24 GB, free: 13.18 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.002005/1.22, allocations: 1.438 MB / 1.242 GB, free: 11.73 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.001476/1.222, allocations: 0.8202 MB / 1.242 GB, free: 10.89 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000379/1.222, allocations: 44 kB / 1.242 GB, free: 10.85 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0002529/1.223, allocations: 398.7 kB / 1.243 GB, free: 10.46 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01059/1.233, allocations: 2.105 MB / 1.245 GB, free: 8.348 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0113/1.244, allocations: 2.411 MB / 1.247 GB, free: 5.852 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01111/1.256, allocations: 2.292 MB / 1.249 GB, free: 3.508 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.385e-05/1.256, allocations: 3.938 kB / 1.249 GB, free: 3.504 MB / 0.6511 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.03716/1.293, allocations: 6.895 MB / 1.256 GB, free: 12.51 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001718/1.293, allocations: 148.5 kB / 1.256 GB, free: 12.34 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.402e-05/1.293, allocations: 4 kB / 1.256 GB, free: 12.33 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01929/1.312, allocations: 2.942 MB / 1.259 GB, free: 9.387 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005804/1.318, allocations: 0.5773 MB / 1.26 GB, free: 8.809 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.072/1.39, allocations: 17.32 MB / 1.277 GB, free: 7.234 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007542/1.398, allocations: 415.6 kB / 1.277 GB, free: 6.828 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007306/1.399, allocations: 95.97 kB / 1.277 GB, free: 6.734 MB / 0.6823 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 (162): * Single equations (assignments): 155 * 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 {9 63} Notification: Performance of prepare postOptimizeDAE: time 0.002737/1.401, allocations: 0.7067 MB / 1.278 GB, free: 6.02 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001119/1.403, allocations: 328.1 kB / 1.278 GB, free: 5.695 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001057/1.404, allocations: 384.1 kB / 1.278 GB, free: 5.312 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.387e-05/1.404, allocations: 24 kB / 1.278 GB, free: 5.289 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.527e-05/1.404, allocations: 15.94 kB / 1.279 GB, free: 5.273 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.989e-05/1.404, allocations: 15.94 kB / 1.279 GB, free: 5.258 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008848/1.413, allocations: 3.636 MB / 1.282 GB, free: 1.566 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.337e-05/1.413, allocations: 0 / 1.282 GB, free: 1.566 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005189/1.418, allocations: 0.4994 MB / 1.283 GB, free: 1.066 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.5959/2.014, allocations: 2.861 MB / 1.285 GB, free: 162.7 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005981/2.015, allocations: 50.61 kB / 1.285 GB, free: 162.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06841/2.083, allocations: 17.11 MB / 1.302 GB, free: 156 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/2.083, allocations: 0 / 1.302 GB, free: 156 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0327/2.116, allocations: 6.522 MB / 1.308 GB, free: 154.2 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002598/2.118, allocations: 0.7069 MB / 1.309 GB, free: 153.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00126/2.12, allocations: 45.45 kB / 1.309 GB, free: 153.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00674/2.127, allocations: 420.2 kB / 1.31 GB, free: 153.7 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002088/2.129, allocations: 361.1 kB / 1.31 GB, free: 153.6 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004521/2.129, allocations: 67.89 kB / 1.31 GB, free: 153.6 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.002991/2.132, allocations: 1.513 MB / 1.312 GB, free: 153 MB / 0.6823 GB Notification: Performance of sort global known variables: time 9.01e-07/2.132, allocations: 2.781 kB / 1.312 GB, free: 153 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.004476/2.137, allocations: 1.044 MB / 1.313 GB, free: 152.9 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: 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 (118): * Single equations (assignments): 106 * 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 62} Notification: Performance of Backend phase and start with SimCode phase: time 0.03347/2.17, allocations: 7.156 MB / 1.32 GB, free: 147 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0425/2.213, allocations: 6.826 MB / 1.326 GB, free: 140.1 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 9.749e-06/2.213, allocations: 4 kB / 1.326 GB, free: 140.1 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.03184/2.245, allocations: 4.221 MB / 1.33 GB, free: 135.8 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009272/2.254, allocations: 1.046 MB / 1.331 GB, free: 134.8 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09178/2.346, allocations: 27.17 MB / 1.358 GB, free: 106.2 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002387/2.348, allocations: 2.297 MB / 1.36 GB, free: 103.9 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.003935/2.352, allocations: 0.5113 MB / 1.361 GB, free: 103.4 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002968/2.355, allocations: 1.331 MB / 1.362 GB, free: 102 MB / 0.6823 GB Notification: Performance of SimCode: time 1.503e-06/2.355, allocations: 4 kB / 1.362 GB, free: 102 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2137/2.569, allocations: 96.56 MB / 1.456 GB, free: 6.273 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001795/2.569, allocations: 227.9 kB / 1.456 GB, free: 6.031 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.769/9.338, allocations: 8 kB / 1.456 GB, free: 6.023 MB / 0.6823 GB