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.DCLinesLinearized.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.DCLinesLinearized,fileNamePrefix="Buildings_7_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.3/package.mo): time 0.01049/0.01049, allocations: 92.88 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.001324/0.001324, allocations: 170.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.281/2.281, allocations: 205.5 MB / 222.2 MB, free: 13.7 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.577/2.577, allocations: 252.8 MB / 0.511 GB, free: 8.324 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004744/0.0004746, allocations: 11.28 kB / 0.6243 GB, free: 28.29 MB / 0.4948 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2322/0.2327, allocations: 106.2 MB / 0.7281 GB, free: 10.16 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.03507/0.2678, allocations: 19.17 MB / 0.7468 GB, free: 6.93 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.037/0.3049, allocations: 16.07 MB / 0.7625 GB, free: 6.82 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003815/0.3087, allocations: 95.38 kB / 0.7626 GB, free: 6.727 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.003196/0.312, allocations: 0.5393 MB / 0.7631 GB, free: 6.184 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.01292/0.325, allocations: 2.836 MB / 0.7659 GB, free: 3.348 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.004905/0.3299, allocations: 0.9321 MB / 0.7668 GB, free: 2.414 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.009386/0.3393, allocations: 3.431 MB / 0.7701 GB, free: 14.98 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005431/0.3448, allocations: 2.063 MB / 0.7721 GB, free: 12.85 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005715/0.3506, allocations: 1.818 MB / 0.7739 GB, free: 11.03 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005437/0.3561, allocations: 1.798 MB / 0.7757 GB, free: 9.223 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.001513/0.3576, allocations: 176 kB / 0.7758 GB, free: 9.051 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003394/0.3611, allocations: 487.4 kB / 0.7763 GB, free: 8.574 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.002486/0.3636, allocations: 0.8839 MB / 0.7772 GB, free: 7.688 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.002068/0.3657, allocations: 0.6912 MB / 0.7778 GB, free: 6.988 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.007993/0.3738, allocations: 3.896 MB / 0.7817 GB, free: 3.082 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.3738, allocations: 0 / 0.7817 GB, free: 3.082 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.835e-06/0.3738, allocations: 0 / 0.7817 GB, free: 3.082 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.000204/0.3741, allocations: 4 kB / 0.7817 GB, free: 3.078 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.01599/0.3901, allocations: 4.103 MB / 0.7857 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 6.223e-05/0.3902, allocations: 15.97 kB / 0.7857 GB, free: 14.85 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001608/0.3918, allocations: 362.2 kB / 0.786 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02916/0.421, allocations: 3.405 MB / 0.7893 GB, free: 11.07 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006766/0.4278, allocations: 1.98 MB / 0.7913 GB, free: 9.023 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006292/0.4285, allocations: 465.7 kB / 0.7917 GB, free: 8.504 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001214/0.4297, allocations: 240 kB / 0.792 GB, free: 8.27 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02207/0.4518, allocations: 4.83 MB / 0.7967 GB, free: 3.297 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.272e-05/0.4519, allocations: 4 kB / 0.7967 GB, free: 3.293 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008946/0.4528, allocations: 108 kB / 0.7968 GB, free: 3.188 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003534/0.4532, allocations: 176.7 kB / 0.7969 GB, free: 3.012 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02685/0.4801, allocations: 5.296 MB / 0.8021 GB, free: 13.7 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03854/0.5187, allocations: 14.58 MB / 0.8164 GB, free: 13.94 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01998/0.5387, allocations: 3.671 MB / 0.8199 GB, free: 10.26 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000362/0.5392, allocations: 33.28 kB / 0.82 GB, free: 10.23 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008805/0.548, allocations: 1.916 MB / 0.8218 GB, free: 8.246 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=163): time 6.182e-06/0.548, allocations: 0 / 0.8218 GB, free: 8.246 MB / 0.6511 GB Notification: Performance of matching and sorting (n=250): time 0.9388/1.487, allocations: 34.07 MB / 0.8551 GB, free: 109.2 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001794/1.487, allocations: 0.4981 MB / 0.8556 GB, free: 108.7 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005781/1.493, allocations: 2.274 MB / 0.8578 GB, free: 107.8 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0007401/1.494, allocations: 77.56 kB / 0.8579 GB, free: 107.7 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.001912/1.496, allocations: 1.432 MB / 0.8593 GB, free: 106.6 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.001487/1.497, allocations: 0.8197 MB / 0.8601 GB, free: 106 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004056/1.498, allocations: 50.41 kB / 0.8601 GB, free: 105.9 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0002102/1.498, allocations: 398.3 kB / 0.8605 GB, free: 105.6 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01142/1.509, allocations: 2.111 MB / 0.8626 GB, free: 105 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01215/1.521, allocations: 2.394 MB / 0.8649 GB, free: 104.2 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01082/1.532, allocations: 2.297 MB / 0.8672 GB, free: 103.3 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.001e-05/1.532, allocations: 1.531 kB / 0.8672 GB, free: 103.3 MB / 0.6667 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.03624/1.569, allocations: 6.879 MB / 0.8739 GB, free: 100.9 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001318/1.569, allocations: 146.9 kB / 0.874 GB, free: 100.8 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.746e-05/1.569, allocations: 6.656 kB / 0.874 GB, free: 100.8 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01828/1.587, allocations: 2.952 MB / 0.8769 GB, free: 99.82 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005643/1.593, allocations: 0.569 MB / 0.8775 GB, free: 99.64 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06823/1.661, allocations: 18.14 MB / 0.8952 GB, free: 86.77 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00749/1.669, allocations: 419.5 kB / 0.8956 GB, free: 86.36 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001422/1.67, allocations: 90.53 kB / 0.8957 GB, free: 86.28 MB / 0.6667 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.002718/1.673, allocations: 0.7065 MB / 0.8964 GB, free: 85.56 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001166/1.674, allocations: 333.7 kB / 0.8967 GB, free: 85.23 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009356/1.675, allocations: 384.1 kB / 0.897 GB, free: 84.85 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-05/1.675, allocations: 24 kB / 0.8971 GB, free: 84.82 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.15e-05/1.675, allocations: 12 kB / 0.8971 GB, free: 84.81 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.413e-05/1.675, allocations: 11.95 kB / 0.8971 GB, free: 84.8 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008395/1.684, allocations: 3.628 MB / 0.9006 GB, free: 81.18 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.363e-05/1.684, allocations: 4 kB / 0.9006 GB, free: 81.18 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007872/1.692, allocations: 0.5032 MB / 0.9011 GB, free: 80.68 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02783/1.72, allocations: 2.86 MB / 0.9039 GB, free: 77.81 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008716/1.72, allocations: 55.97 kB / 0.904 GB, free: 77.75 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.08694/1.807, allocations: 17.95 MB / 0.9215 GB, free: 59.56 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/1.808, allocations: 0 / 0.9215 GB, free: 59.56 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03224/1.84, allocations: 6.523 MB / 0.9279 GB, free: 53 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002586/1.842, allocations: 0.6961 MB / 0.9286 GB, free: 52.29 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001148/1.844, allocations: 44 kB / 0.9286 GB, free: 52.24 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009898/1.854, allocations: 411.6 kB / 0.929 GB, free: 51.84 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003123/1.857, allocations: 370.6 kB / 0.9293 GB, free: 51.48 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009753/1.858, allocations: 71.91 kB / 0.9294 GB, free: 51.41 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.005392/1.863, allocations: 1.513 MB / 0.9309 GB, free: 49.9 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.723e-06/1.863, allocations: 3.281 kB / 0.9309 GB, free: 49.9 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.006781/1.87, allocations: 1.043 MB / 0.9319 GB, free: 48.86 MB / 0.6667 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.05176/1.922, allocations: 7.147 MB / 0.9389 GB, free: 41.66 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.04666/1.969, allocations: 6.827 MB / 0.9456 GB, free: 34.74 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 9.929e-06/1.969, allocations: 4 kB / 0.9456 GB, free: 34.73 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.03267/2.001, allocations: 4.232 MB / 0.9497 GB, free: 30.48 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0075/2.009, allocations: 1.011 MB / 0.9507 GB, free: 29.51 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09556/2.105, allocations: 30.53 MB / 0.9805 GB, free: 13.47 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003591/2.108, allocations: 2.293 MB / 0.9827 GB, free: 11.14 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.004188/2.112, allocations: 0.5138 MB / 0.9832 GB, free: 10.62 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003401/2.116, allocations: 1.327 MB / 0.9845 GB, free: 9.297 MB / 0.6823 GB Notification: Performance of SimCode: time 1.282e-06/2.116, allocations: 3.938 kB / 0.9845 GB, free: 9.293 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2651/2.381, allocations: 96.51 MB / 1.079 GB, free: 9.535 MB / 0.7761 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003771/2.381, allocations: 231.7 kB / 1.079 GB, free: 9.285 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.288/9.669, allocations: 0 / 1.079 GB, free: 9.285 MB / 0.7761 GB