Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.DC.Lines.Examples.DCLines.conf.json Using package Buildings with version 7.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.3/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.DC.Lines.Examples.DCLines,fileNamePrefix="Buildings_7_0_0_Buildings_Electrical_DC_Lines_Examples_DCLines",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.3/package.mo): time 0.01019/0.0102, allocations: 90.67 kB / 15.04 MB, free: 5.582 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo): time 0.001224/0.001225, allocations: 175.4 kB / 15.92 MB, free: 5.555 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo): time 2.273/2.273, allocations: 205.5 MB / 222.2 MB, free: 13.57 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo): time 2.478/2.478, allocations: 252.8 MB / 0.511 GB, free: 8.273 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004817/0.0004817, allocations: 16.22 kB / 0.6243 GB, free: 21.13 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2223/0.2228, allocations: 106.2 MB / 0.7281 GB, free: 8.059 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLines): time 0.03467/0.2576, allocations: 19.15 MB / 0.7468 GB, free: 4.848 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.03666/0.2943, allocations: 16.07 MB / 0.7625 GB, free: 4.742 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003364/0.2977, allocations: 95.38 kB / 0.7626 GB, free: 4.648 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.00306/0.3008, allocations: 0.5432 MB / 0.7631 GB, free: 4.102 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0129/0.3138, allocations: 2.829 MB / 0.7658 GB, free: 1.266 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.00491/0.3187, allocations: 0.9282 MB / 0.7668 GB, free: 344 kB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.009491/0.3282, allocations: 3.338 MB / 0.77 GB, free: 12.99 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005094/0.3333, allocations: 2.024 MB / 0.772 GB, free: 10.91 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00517/0.3386, allocations: 1.717 MB / 0.7737 GB, free: 9.184 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005158/0.3438, allocations: 1.759 MB / 0.7754 GB, free: 7.418 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.001382/0.3452, allocations: 164 kB / 0.7755 GB, free: 7.258 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003048/0.3483, allocations: 479.4 kB / 0.776 GB, free: 6.789 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.00221/0.3505, allocations: 0.8527 MB / 0.7768 GB, free: 5.934 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.001933/0.3525, allocations: 0.6834 MB / 0.7775 GB, free: 5.242 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.007802/0.3603, allocations: 3.795 MB / 0.7812 GB, free: 1.438 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.3604, allocations: 3.938 kB / 0.7812 GB, free: 1.434 MB / 0.6042 GB Notification: Performance of FrontEnd: time 3.356e-06/0.3604, allocations: 0 / 0.7812 GB, free: 1.434 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001944/0.3606, allocations: 0 / 0.7812 GB, free: 1.434 MB / 0.6042 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.01367/0.3743, allocations: 3.869 MB / 0.785 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.086e-05/0.3744, allocations: 8.031 kB / 0.785 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001344/0.3757, allocations: 358.1 kB / 0.7853 GB, free: 13.09 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02863/0.4044, allocations: 3.397 MB / 0.7886 GB, free: 9.68 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006744/0.4112, allocations: 1.964 MB / 0.7906 GB, free: 7.648 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002537/0.4115, allocations: 180.7 kB / 0.7907 GB, free: 7.469 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001099/0.4126, allocations: 232 kB / 0.791 GB, free: 7.242 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01939/0.432, allocations: 4.701 MB / 0.7956 GB, free: 2.398 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-05/0.4321, allocations: 3.953 kB / 0.7956 GB, free: 2.395 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006565/0.4328, allocations: 104 kB / 0.7957 GB, free: 2.293 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003398/0.4331, allocations: 172.8 kB / 0.7958 GB, free: 2.121 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02561/0.4588, allocations: 5.222 MB / 0.8009 GB, free: 12.88 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0362/0.495, allocations: 14.13 MB / 0.8147 GB, free: 13.58 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02143/0.5165, allocations: 3.85 MB / 0.8185 GB, free: 9.719 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002753/0.5168, allocations: 25.28 kB / 0.8185 GB, free: 9.695 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007923/0.5247, allocations: 1.819 MB / 0.8203 GB, free: 7.816 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=163): time 6.152e-06/0.5248, allocations: 0 / 0.8203 GB, free: 7.816 MB / 0.6511 GB Notification: Performance of matching and sorting (n=250): time 0.8944/1.419, allocations: 33.39 MB / 0.8529 GB, free: 90.1 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001646/1.419, allocations: 0.4929 MB / 0.8534 GB, free: 89.53 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00447/1.424, allocations: 2.275 MB / 0.8556 GB, free: 88.32 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0005858/1.425, allocations: 76.83 kB / 0.8557 GB, free: 88.25 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.001429/1.426, allocations: 1.435 MB / 0.8571 GB, free: 86.99 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.001244/1.427, allocations: 0.8269 MB / 0.8579 GB, free: 86.28 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003286/1.428, allocations: 46.62 kB / 0.8579 GB, free: 86.24 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001602/1.428, allocations: 393.7 kB / 0.8583 GB, free: 85.88 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008639/1.436, allocations: 1.921 MB / 0.8602 GB, free: 84.98 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008984/1.445, allocations: 2.21 MB / 0.8623 GB, free: 83.78 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00901/1.454, allocations: 2.126 MB / 0.8644 GB, free: 82.65 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.57e-05/1.455, allocations: 0 / 0.8644 GB, free: 82.65 MB / 0.6511 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.02823/1.483, allocations: 6.171 MB / 0.8704 GB, free: 79.18 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005883/1.483, allocations: 2.443 MB / 0.8728 GB, free: 76.46 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.313e-05/1.483, allocations: 4 kB / 0.8728 GB, free: 76.46 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01168/1.495, allocations: 1.853 MB / 0.8746 GB, free: 74.61 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005531/1.501, allocations: 0.5907 MB / 0.8752 GB, free: 74.02 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03724/1.538, allocations: 14.81 MB / 0.8897 GB, free: 59 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006697/1.545, allocations: 405.1 kB / 0.89 GB, free: 58.61 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00069/1.546, allocations: 88.06 kB / 0.8901 GB, free: 58.52 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/1.546, allocations: 11.94 kB / 0.8901 GB, free: 58.51 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02632/1.572, allocations: 5.75 MB / 0.8958 GB, free: 52.68 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.885e-05/1.572, allocations: 8 kB / 0.8958 GB, free: 52.67 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009391/1.581, allocations: 1.819 MB / 0.8975 GB, free: 50.84 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005706/1.587, allocations: 0.6085 MB / 0.8981 GB, free: 50.23 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03468/1.622, allocations: 14.06 MB / 0.9119 GB, free: 35.92 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006576/1.628, allocations: 407.5 kB / 0.9122 GB, free: 35.52 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006139/1.629, allocations: 87.97 kB / 0.9123 GB, free: 35.43 MB / 0.6511 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.002443/1.632, allocations: 0.7773 MB / 0.9131 GB, free: 34.65 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001041/1.633, allocations: 332.1 kB / 0.9134 GB, free: 34.32 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009843/1.634, allocations: 396.1 kB / 0.9138 GB, free: 33.93 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.444e-05/1.634, allocations: 27.94 kB / 0.9138 GB, free: 33.9 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.437e-05/1.634, allocations: 17.36 kB / 0.9138 GB, free: 33.89 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.734e-05/1.634, allocations: 15.8 kB / 0.9138 GB, free: 33.88 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006362/1.64, allocations: 3.165 MB / 0.9169 GB, free: 30.72 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.223e-05/1.64, allocations: 0 / 0.9169 GB, free: 30.72 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004933/1.645, allocations: 0.515 MB / 0.9174 GB, free: 30.21 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0112/1.656, allocations: 1.716 MB / 0.9191 GB, free: 28.48 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006079/1.657, allocations: 55.97 kB / 0.9192 GB, free: 28.43 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0366/1.694, allocations: 14.6 MB / 0.9334 GB, free: 13.57 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/1.694, allocations: 0 / 0.9334 GB, free: 13.57 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02704/1.721, allocations: 5.781 MB / 0.9391 GB, free: 7.762 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002661/1.724, allocations: 0.6649 MB / 0.9397 GB, free: 7.074 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001242/1.725, allocations: 51.98 kB / 0.9398 GB, free: 7.023 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006269/1.731, allocations: 395.6 kB / 0.9401 GB, free: 6.637 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001628/1.733, allocations: 310.6 kB / 0.9404 GB, free: 6.336 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003865/1.733, allocations: 67.97 kB / 0.9405 GB, free: 6.27 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.00322/1.737, allocations: 1.513 MB / 0.942 GB, free: 4.758 MB / 0.6511 GB Notification: Performance of sort global known variables: time 5.61e-07/1.737, allocations: 0 / 0.942 GB, free: 4.758 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.006811/1.743, allocations: 1.625 MB / 0.9436 GB, free: 3.133 MB / 0.6511 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.02899/1.772, allocations: 6.418 MB / 0.9498 GB, free: 12.67 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.04484/1.817, allocations: 10.07 MB / 0.9597 GB, free: 2.398 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 1.05e-05/1.817, allocations: 0 / 0.9597 GB, free: 2.398 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0161/1.833, allocations: 3.501 MB / 0.9631 GB, free: 14.88 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00808/1.842, allocations: 0.9951 MB / 0.9641 GB, free: 13.91 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09746/1.939, allocations: 29.35 MB / 0.9927 GB, free: 15.06 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003926/1.943, allocations: 2.371 MB / 0.995 GB, free: 12.65 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.005364/1.949, allocations: 0.6348 MB / 0.9957 GB, free: 12.01 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003487/1.952, allocations: 1.331 MB / 0.997 GB, free: 10.68 MB / 0.7136 GB Notification: Performance of SimCode: time 1.723e-06/1.952, allocations: 0 / 0.997 GB, free: 10.68 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3476/2.3, allocations: 100.5 MB / 1.095 GB, free: 7.004 MB / 0.8073 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003267/2.3, allocations: 208.2 kB / 1.095 GB, free: 6.766 MB / 0.8073 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.738/10.04, allocations: 7.938 kB / 1.095 GB, free: 6.758 MB / 0.8073 GB