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.01116/0.01116, allocations: 108 kB / 15.06 MB, free: 5.555 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.001229/0.001229, allocations: 180.3 kB / 15.95 MB, free: 5.52 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.043/2.043, allocations: 194.5 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.401/2.401, allocations: 236.2 MB / 492.6 MB, free: 11.38 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000769/0.0007693, allocations: 12 kB / 0.587 GB, free: 2.078 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8165/0.8173, allocations: 98.72 MB / 0.6834 GB, free: 16.86 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.03248/0.8498, allocations: 19.17 MB / 0.7022 GB, free: 4.156 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.04432/0.8942, allocations: 16.05 MB / 0.7178 GB, free: 7.832 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004169/0.8984, allocations: 95.62 kB / 0.7179 GB, free: 7.793 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 0.003379/0.9019, allocations: 0.5507 MB / 0.7185 GB, free: 7.289 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 0.01428/0.9162, allocations: 2.825 MB / 0.7212 GB, free: 4.996 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.005129/0.9213, allocations: 0.9411 MB / 0.7221 GB, free: 4.258 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 0.01023/0.9316, allocations: 3.434 MB / 0.7255 GB, free: 2.039 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005584/0.9372, allocations: 2.061 MB / 0.7275 GB, free: 0.7852 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006131/0.9434, allocations: 1.824 MB / 0.7293 GB, free: 15.32 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005926/0.9494, allocations: 1.798 MB / 0.731 GB, free: 13.52 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 0.001572/0.951, allocations: 172 kB / 0.7312 GB, free: 13.35 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003556/0.9546, allocations: 491.4 kB / 0.7317 GB, free: 12.87 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.002113/0.9568, allocations: 0.8878 MB / 0.7325 GB, free: 11.98 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.002032/0.9588, allocations: 0.6951 MB / 0.7332 GB, free: 11.28 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.008288/0.9671, allocations: 3.905 MB / 0.737 GB, free: 7.359 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.9672, allocations: 0 / 0.737 GB, free: 7.359 MB / 0.5573 GB Notification: Performance of FrontEnd: time 3.206e-06/0.9672, allocations: 0 / 0.737 GB, free: 7.359 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 0.0001894/0.9674, allocations: 4 kB / 0.737 GB, free: 7.355 MB / 0.5573 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.01548/0.9829, allocations: 4.103 MB / 0.741 GB, free: 3.141 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 5.374e-05/0.983, allocations: 8.031 kB / 0.741 GB, free: 3.133 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001537/0.9845, allocations: 366.2 kB / 0.7414 GB, free: 2.766 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02934/1.014, allocations: 3.405 MB / 0.7447 GB, free: 15.35 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007075/1.021, allocations: 1.98 MB / 0.7467 GB, free: 13.3 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006962/1.022, allocations: 481.6 kB / 0.7471 GB, free: 12.77 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001302/1.023, allocations: 224 kB / 0.7473 GB, free: 12.55 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02092/1.044, allocations: 4.841 MB / 0.7521 GB, free: 7.566 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.066e-05/1.044, allocations: 3.938 kB / 0.7521 GB, free: 7.562 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006197/1.045, allocations: 104 kB / 0.7522 GB, free: 7.461 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003537/1.045, allocations: 172.8 kB / 0.7523 GB, free: 7.289 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02663/1.072, allocations: 5.3 MB / 0.7575 GB, free: 1.973 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04095/1.113, allocations: 14.61 MB / 0.7718 GB, free: 2.191 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01966/1.133, allocations: 3.676 MB / 0.7754 GB, free: 14.5 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003106/1.133, allocations: 29.28 kB / 0.7754 GB, free: 14.47 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008333/1.141, allocations: 1.903 MB / 0.7772 GB, free: 12.5 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=163): time 5.781e-06/1.141, allocations: 4 kB / 0.7772 GB, free: 12.5 MB / 0.6042 GB Notification: Performance of matching and sorting (n=250): time 0.353/1.494, allocations: 34.09 MB / 0.8105 GB, free: 10.19 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004222/1.495, allocations: 0.4928 MB / 0.811 GB, free: 9.582 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008395/1.503, allocations: 2.277 MB / 0.8132 GB, free: 7.293 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.001054/1.504, allocations: 77.7 kB / 0.8133 GB, free: 7.211 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.002896/1.507, allocations: 1.43 MB / 0.8147 GB, free: 5.77 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.002202/1.51, allocations: 0.8124 MB / 0.8155 GB, free: 4.945 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006658/1.51, allocations: 55.94 kB / 0.8156 GB, free: 4.891 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0004095/1.511, allocations: 402.6 kB / 0.8159 GB, free: 4.492 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01713/1.528, allocations: 2.105 MB / 0.818 GB, free: 2.383 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01806/1.546, allocations: 2.399 MB / 0.8203 GB, free: 15.9 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01802/1.564, allocations: 2.288 MB / 0.8226 GB, free: 13.56 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.158e-05/1.564, allocations: 8 kB / 0.8226 GB, free: 13.55 MB / 0.6511 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.05799/1.622, allocations: 6.887 MB / 0.8293 GB, free: 6.566 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001931/1.622, allocations: 144.5 kB / 0.8294 GB, free: 6.395 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.309e-05/1.623, allocations: 8.344 kB / 0.8295 GB, free: 6.387 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02634/1.649, allocations: 2.942 MB / 0.8323 GB, free: 3.438 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00814/1.657, allocations: 0.5695 MB / 0.8329 GB, free: 2.867 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08269/1.74, allocations: 18.16 MB / 0.8506 GB, free: 468 kB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007336/1.747, allocations: 415.6 kB / 0.851 GB, free: 52 kB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008964/1.748, allocations: 87.97 kB / 0.8511 GB, free: 15.96 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.002883/1.751, allocations: 0.7105 MB / 0.8518 GB, free: 15.25 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001197/1.752, allocations: 332.1 kB / 0.8521 GB, free: 14.92 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001231/1.754, allocations: 384.1 kB / 0.8525 GB, free: 14.54 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.561e-05/1.754, allocations: 31.89 kB / 0.8525 GB, free: 14.5 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.794e-05/1.754, allocations: 8 kB / 0.8525 GB, free: 14.5 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.303e-05/1.754, allocations: 15.95 kB / 0.8525 GB, free: 14.48 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009203/1.763, allocations: 3.632 MB / 0.8561 GB, free: 10.79 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.051e-05/1.763, allocations: 0 / 0.8561 GB, free: 10.79 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005061/1.768, allocations: 0.4993 MB / 0.8566 GB, free: 10.29 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01882/1.787, allocations: 2.865 MB / 0.8594 GB, free: 7.418 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006603/1.788, allocations: 51.97 kB / 0.8594 GB, free: 7.367 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.08377/1.871, allocations: 17.94 MB / 0.8769 GB, free: 5.152 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.397e-06/1.872, allocations: 0 / 0.8769 GB, free: 5.152 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04644/1.918, allocations: 6.521 MB / 0.8833 GB, free: 14.59 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003189/1.921, allocations: 0.7 MB / 0.884 GB, free: 13.87 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001177/1.922, allocations: 51.98 kB / 0.884 GB, free: 13.82 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006983/1.929, allocations: 411.5 kB / 0.8844 GB, free: 13.41 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002267/1.932, allocations: 366.6 kB / 0.8848 GB, free: 13.05 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004958/1.932, allocations: 71.97 kB / 0.8848 GB, free: 12.98 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.003876/1.936, allocations: 1.513 MB / 0.8863 GB, free: 11.47 MB / 0.7136 GB Notification: Performance of sort global known variables: time 9.52e-07/1.936, allocations: 0 / 0.8863 GB, free: 11.47 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.004883/1.941, allocations: 1.039 MB / 0.8873 GB, free: 10.43 MB / 0.7136 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.03606/1.977, allocations: 7.157 MB / 0.8943 GB, free: 3.23 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.04517/2.022, allocations: 6.83 MB / 0.901 GB, free: 12.31 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.519e-05/2.023, allocations: 0 / 0.901 GB, free: 12.31 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.04455/2.067, allocations: 4.237 MB / 0.9051 GB, free: 8.047 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009933/2.077, allocations: 0.9982 MB / 0.9061 GB, free: 7.059 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.7179/2.795, allocations: 30.52 MB / 0.9359 GB, free: 189.5 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004309/2.799, allocations: 2.299 MB / 0.9382 GB, free: 188.6 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.005654/2.805, allocations: 0.5162 MB / 0.9387 GB, free: 188.6 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004124/2.809, allocations: 1.327 MB / 0.94 GB, free: 187.5 MB / 0.7292 GB Notification: Performance of SimCode: time 1.332e-06/2.809, allocations: 0 / 0.94 GB, free: 187.5 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2415/3.051, allocations: 96.51 MB / 1.034 GB, free: 107.8 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002742/3.051, allocations: 223.2 kB / 1.034 GB, free: 107.5 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.22/10.27, allocations: 0 / 1.034 GB, free: 107.5 MB / 0.7292 GB