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: "" <> buildModelFMU(Buildings.Electrical.DC.Lines.Examples.DCLines,fileNamePrefix="Buildings_6_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.2/package.mo): time 0.01198/0.01198, allocations: 106.2 kB / 15.05 MB, free: 5.934 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.001175/0.001174, allocations: 184.9 kB / 15.94 MB, free: 5.898 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 2.051/2.051, allocations: 194.6 MB / 211.3 MB, free: 11.02 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.349/2.349, allocations: 236.1 MB / 492.6 MB, free: 11.29 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005193/0.0005191, allocations: 12 kB / 0.587 GB, free: 2.051 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.692/0.6926, allocations: 98.71 MB / 0.6834 GB, free: 16.8 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3134/1.006, allocations: 176.1 MB / 0.8554 GB, free: 13.96 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005335/1.007, allocations: 91.95 kB / 0.8555 GB, free: 13.87 MB / 0.6823 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Electrical/Interfaces/Source.mo:30:9-30:50:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.potentialRoot(terminal.theta);. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Electrical/Transmission/BaseClasses/PartialTwoPortRLC.mo:18:3-18:57:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.branch(terminal_p.theta, terminal_n.theta);. Notification: Performance of FrontEnd - DAE generated: time 1.184/2.191, allocations: 148 MB / 1 GB, free: 148.7 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.973e-06/2.191, allocations: 3.938 kB / 1 GB, free: 148.7 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0004407/2.191, allocations: 83.92 kB / 1 GB, free: 148.6 MB / 0.7292 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.01531/2.206, allocations: 3.944 MB / 1.004 GB, free: 144.6 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.036e-05/2.207, allocations: 12.03 kB / 1.004 GB, free: 144.6 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001846/2.208, allocations: 354.1 kB / 1.004 GB, free: 144.2 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04235/2.251, allocations: 3.233 MB / 1.007 GB, free: 141 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01308/2.264, allocations: 2.319 MB / 1.01 GB, free: 138.6 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003038/2.264, allocations: 176.7 kB / 1.01 GB, free: 138.4 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00186/2.266, allocations: 236 kB / 1.01 GB, free: 138.2 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02148/2.288, allocations: 4.685 MB / 1.015 GB, free: 133.3 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-05/2.288, allocations: 0 / 1.015 GB, free: 133.3 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00106/2.289, allocations: 104 kB / 1.015 GB, free: 133.2 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002269/2.289, allocations: 152.8 kB / 1.015 GB, free: 133.1 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02584/2.315, allocations: 5.218 MB / 1.02 GB, free: 127.9 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03498/2.35, allocations: 14.4 MB / 1.034 GB, free: 112.3 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02013/2.37, allocations: 3.772 MB / 1.038 GB, free: 108.5 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003006/2.371, allocations: 29.28 kB / 1.038 GB, free: 108.5 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007489/2.378, allocations: 1.825 MB / 1.04 GB, free: 106.6 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=163): time 5.781e-06/2.378, allocations: 0 / 1.04 GB, free: 106.6 MB / 0.7292 GB Notification: Performance of matching and sorting (n=250): time 0.2436/2.622, allocations: 33.51 MB / 1.072 GB, free: 72.86 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002761/2.622, allocations: 0.91 MB / 1.073 GB, free: 71.73 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004446/2.626, allocations: 1.977 MB / 1.075 GB, free: 69.75 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0006733/2.627, allocations: 77.7 kB / 1.075 GB, free: 69.67 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.001671/2.629, allocations: 1.43 MB / 1.077 GB, free: 68.22 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.001316/2.63, allocations: 0.8163 MB / 1.077 GB, free: 67.39 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004261/2.631, allocations: 52 kB / 1.077 GB, free: 67.34 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001637/2.631, allocations: 398.6 kB / 1.078 GB, free: 66.95 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009382/2.64, allocations: 1.921 MB / 1.08 GB, free: 65.02 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01032/2.651, allocations: 2.312 MB / 1.082 GB, free: 62.57 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008995/2.66, allocations: 2.144 MB / 1.084 GB, free: 60.38 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.351e-05/2.66, allocations: 4 kB / 1.084 GB, free: 60.38 MB / 0.7292 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.02671/2.687, allocations: 6.122 MB / 1.09 GB, free: 54.16 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005423/2.687, allocations: 2.462 MB / 1.092 GB, free: 51.43 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.883e-05/2.687, allocations: 4 kB / 1.092 GB, free: 51.42 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01054/2.698, allocations: 1.793 MB / 1.094 GB, free: 49.62 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005645/2.703, allocations: 0.5891 MB / 1.095 GB, free: 49.03 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02107/2.724, allocations: 9.529 MB / 1.104 GB, free: 39.34 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007019/2.732, allocations: 419.4 kB / 1.105 GB, free: 38.93 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006108/2.732, allocations: 91.97 kB / 1.105 GB, free: 38.84 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.438e-05/2.732, allocations: 4 kB / 1.105 GB, free: 38.84 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02575/2.758, allocations: 5.718 MB / 1.11 GB, free: 33.04 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.417e-05/2.758, allocations: 11.98 kB / 1.11 GB, free: 33.02 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008678/2.767, allocations: 1.802 MB / 1.112 GB, free: 31.21 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006065/2.773, allocations: 0.6086 MB / 1.113 GB, free: 30.61 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04556/2.819, allocations: 14.01 MB / 1.126 GB, free: 16.32 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00892/2.828, allocations: 415.5 kB / 1.127 GB, free: 15.91 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007852/2.828, allocations: 87.97 kB / 1.127 GB, free: 15.82 MB / 0.7292 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,48.0%) 52} * Non-linear torn systems: 1 {10 52} Notification: Performance of prepare postOptimizeDAE: time 0.003311/2.832, allocations: 0.7961 MB / 1.128 GB, free: 15.02 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001335/2.833, allocations: 332.1 kB / 1.128 GB, free: 14.69 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001633/2.835, allocations: 396.1 kB / 1.128 GB, free: 14.29 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.836e-05/2.835, allocations: 24 kB / 1.128 GB, free: 14.27 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.548e-05/2.835, allocations: 12 kB / 1.128 GB, free: 14.26 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.784e-05/2.835, allocations: 11.95 kB / 1.128 GB, free: 14.25 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008936/2.844, allocations: 3.188 MB / 1.131 GB, free: 11.01 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.491e-05/2.844, allocations: 7.938 kB / 1.131 GB, free: 11 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006542/2.851, allocations: 0.5231 MB / 1.132 GB, free: 10.48 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01201/2.863, allocations: 1.692 MB / 1.134 GB, free: 8.777 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006258/2.863, allocations: 51.97 kB / 1.134 GB, free: 8.727 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03555/2.899, allocations: 14.55 MB / 1.148 GB, free: 9.902 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.859e-06/2.899, allocations: 3.953 kB / 1.148 GB, free: 9.898 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03356/2.932, allocations: 5.76 MB / 1.153 GB, free: 4.102 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002838/2.935, allocations: 0.6727 MB / 1.154 GB, free: 3.406 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001016/2.936, allocations: 44 kB / 1.154 GB, free: 3.363 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00627/2.943, allocations: 423.4 kB / 1.155 GB, free: 2.949 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001466/2.944, allocations: 302.6 kB / 1.155 GB, free: 2.656 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003486/2.945, allocations: 71.97 kB / 1.155 GB, free: 2.586 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.003766/2.948, allocations: 1.521 MB / 1.156 GB, free: 1.066 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6.11e-07/2.948, allocations: 0 / 1.156 GB, free: 1.066 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.007078/2.955, allocations: 1.59 MB / 1.158 GB, free: 15.47 MB / 0.7605 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.02849/2.984, allocations: 6.408 MB / 1.164 GB, free: 9.023 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.04971/3.034, allocations: 9.698 MB / 1.174 GB, free: 15.15 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.347e-05/3.034, allocations: 4 kB / 1.174 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.01604/3.05, allocations: 3.503 MB / 1.177 GB, free: 11.61 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008242/3.058, allocations: 1.013 MB / 1.178 GB, free: 10.61 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1298/3.188, allocations: 29.34 MB / 1.207 GB, free: 11.78 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004936/3.193, allocations: 2.327 MB / 1.209 GB, free: 9.414 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.007169/3.2, allocations: 0.6348 MB / 1.21 GB, free: 8.773 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00385/3.204, allocations: 1.327 MB / 1.211 GB, free: 7.445 MB / 0.8073 GB Notification: Performance of SimCode: time 1.513e-06/3.204, allocations: 4 kB / 1.211 GB, free: 7.441 MB / 0.8073 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9001/4.104, allocations: 99.04 MB / 1.308 GB, free: 190.7 MB / 0.8073 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001992/4.105, allocations: 224.3 kB / 1.308 GB, free: 190.4 MB / 0.8073 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.169/11.27, allocations: 0 / 1.308 GB, free: 190.4 MB / 0.8073 GB