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.DCLine.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: translateModel(Buildings.Electrical.DC.Lines.Examples.DCLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Electrical.DC.Lines.Examples.DCLine") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01548/0.01549, allocations: 108.5 kB / 15.06 MB, free: 5.562 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.001878/0.001877, allocations: 182.1 kB / 15.95 MB, free: 5.523 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.088/2.088, allocations: 194.6 MB / 211.3 MB, free: 11.3 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.212/2.212, allocations: 236.2 MB / 492.6 MB, free: 11.28 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004664/0.0004666, allocations: 12 kB / 0.5869 GB, free: 2.156 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6512/0.6517, allocations: 98.72 MB / 0.6833 GB, free: 16.83 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLine): time 0.006825/0.6585, allocations: 5.322 MB / 0.6885 GB, free: 13.27 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.006932/0.6655, allocations: 4.114 MB / 0.6926 GB, free: 10.49 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007561/0.6663, allocations: 19.75 kB / 0.6926 GB, free: 10.48 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0004808/0.6668, allocations: 140.8 kB / 0.6927 GB, free: 10.4 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.002185/0.669, allocations: 0.6162 MB / 0.6933 GB, free: 10 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009427/0.67, allocations: 239.8 kB / 0.6935 GB, free: 9.891 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.001449/0.6714, allocations: 0.6694 MB / 0.6942 GB, free: 9.539 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008211/0.6723, allocations: 482.5 kB / 0.6947 GB, free: 9.285 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006431/0.673, allocations: 346 kB / 0.695 GB, free: 9.133 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007226/0.6737, allocations: 363.4 kB / 0.6953 GB, free: 8.984 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 0.0001204/0.6738, allocations: 33.31 kB / 0.6954 GB, free: 8.984 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005403/0.6744, allocations: 141.9 kB / 0.6955 GB, free: 8.953 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0002241/0.6746, allocations: 186.1 kB / 0.6957 GB, free: 8.879 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0002047/0.6748, allocations: 163.1 kB / 0.6958 GB, free: 8.781 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.001171/0.676, allocations: 0.8018 MB / 0.6966 GB, free: 8.602 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.709e-06/0.676, allocations: 4 kB / 0.6966 GB, free: 8.598 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.278e-06/0.6761, allocations: 1.656 kB / 0.6966 GB, free: 8.598 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.288e-05/0.6761, allocations: 0 / 0.6966 GB, free: 8.598 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 0.001812/0.6779, allocations: 0.9805 MB / 0.6976 GB, free: 7.906 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.735e-05/0.6779, allocations: 9.188 kB / 0.6976 GB, free: 7.906 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003862/0.6818, allocations: 0.66 MB / 0.6982 GB, free: 7.66 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001121/0.683, allocations: 0.5296 MB / 0.6987 GB, free: 7.215 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.718e-05/0.683, allocations: 42.11 kB / 0.6988 GB, free: 7.195 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001254/0.6832, allocations: 49.58 kB / 0.6988 GB, free: 7.18 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002409/0.6856, allocations: 1.018 MB / 0.6998 GB, free: 6.543 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.387e-05/0.6856, allocations: 3.984 kB / 0.6998 GB, free: 6.539 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001173/0.6858, allocations: 21.81 kB / 0.6999 GB, free: 6.523 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.535e-05/0.6859, allocations: 44.86 kB / 0.6999 GB, free: 6.512 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002904/0.6888, allocations: 1.011 MB / 0.7009 GB, free: 6.016 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004853/0.6937, allocations: 3.535 MB / 0.7043 GB, free: 2.805 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00179/0.6955, allocations: 0.5244 MB / 0.7048 GB, free: 2.551 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 4.272e-05/0.6956, allocations: 8.031 kB / 0.7049 GB, free: 2.547 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.477e-05/0.6956, allocations: 31.97 kB / 0.7049 GB, free: 2.508 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=31): time 3.448e-06/0.6956, allocations: 0 / 0.7049 GB, free: 2.508 MB / 0.5261 GB Notification: Performance of matching and sorting (n=43): time 0.008383/0.704, allocations: 2.227 MB / 0.7071 GB, free: 1.359 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.499e-05/0.7041, allocations: 59.7 kB / 0.7071 GB, free: 1.293 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008842/0.705, allocations: 0.565 MB / 0.7077 GB, free: 0.9531 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 6.623e-05/0.7051, allocations: 36.33 kB / 0.7077 GB, free: 0.9141 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002225/0.7053, allocations: 355.2 kB / 0.708 GB, free: 0.6016 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001337/0.7054, allocations: 148.1 kB / 0.7082 GB, free: 484 kB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.967e-05/0.7055, allocations: 10.56 kB / 0.7082 GB, free: 476 kB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001089/0.7056, allocations: 373.7 kB / 0.7085 GB, free: 108 kB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009073/0.7065, allocations: 272.9 kB / 0.7088 GB, free: 15.98 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001005/0.7075, allocations: 385 kB / 0.7092 GB, free: 15.72 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009799/0.7085, allocations: 312.4 kB / 0.7095 GB, free: 15.57 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.072e-06/0.7086, allocations: 5.344 kB / 0.7095 GB, free: 15.57 MB / 0.5417 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.004071/0.7126, allocations: 0.9636 MB / 0.7104 GB, free: 15.05 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006877/0.7134, allocations: 1.226 MB / 0.7116 GB, free: 13.75 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.126e-05/0.7134, allocations: 2.844 kB / 0.7116 GB, free: 13.75 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00155/0.7149, allocations: 274.6 kB / 0.7119 GB, free: 13.59 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008147/0.7158, allocations: 132.4 kB / 0.712 GB, free: 13.55 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01049/0.7263, allocations: 8.551 MB / 0.7204 GB, free: 5.004 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008878/0.7272, allocations: 56.72 kB / 0.7204 GB, free: 4.98 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.709e-05/0.7273, allocations: 22.38 kB / 0.7204 GB, free: 4.973 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.124e-05/0.7273, allocations: 3.562 kB / 0.7204 GB, free: 4.973 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003242/0.7306, allocations: 1.082 MB / 0.7215 GB, free: 4.242 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.169e-05/0.7306, allocations: 3.312 kB / 0.7215 GB, free: 4.242 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001121/0.7318, allocations: 226.7 kB / 0.7217 GB, free: 4.102 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008447/0.7326, allocations: 132.4 kB / 0.7218 GB, free: 4.066 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009208/0.7418, allocations: 8.219 MB / 0.7299 GB, free: 11.72 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008857/0.7428, allocations: 59.91 kB / 0.7299 GB, free: 11.69 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.097e-05/0.7429, allocations: 23.31 kB / 0.7299 GB, free: 11.68 MB / 0.5574 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (47): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 3 {1 2,1 2,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0005759/0.7434, allocations: 308 kB / 0.7302 GB, free: 11.42 MB / 0.5574 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001644/0.7436, allocations: 72.92 kB / 0.7303 GB, free: 11.38 MB / 0.5574 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001875/0.7438, allocations: 87.42 kB / 0.7304 GB, free: 11.31 MB / 0.5574 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.24e-06/0.7438, allocations: 3.875 kB / 0.7304 GB, free: 11.31 MB / 0.5574 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.302e-05/0.7439, allocations: 6.531 kB / 0.7304 GB, free: 11.3 MB / 0.5574 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.524e-06/0.7439, allocations: 4 kB / 0.7304 GB, free: 11.3 MB / 0.5574 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001174/0.7451, allocations: 0.6464 MB / 0.731 GB, free: 10.8 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.888e-06/0.7451, allocations: 1.062 kB / 0.731 GB, free: 10.8 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006713/0.7458, allocations: 97 kB / 0.7311 GB, free: 10.77 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001393/0.7472, allocations: 265.7 kB / 0.7314 GB, free: 10.61 MB / 0.5574 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.649e-05/0.7473, allocations: 14.17 kB / 0.7314 GB, free: 10.6 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01005/0.7573, allocations: 8.506 MB / 0.7397 GB, free: 1.309 MB / 0.5574 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.148e-06/0.7574, allocations: 0 / 0.7397 GB, free: 1.309 MB / 0.5574 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003111/0.7605, allocations: 0.9561 MB / 0.7406 GB, free: 324 kB / 0.5574 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004144/0.7609, allocations: 188.2 kB / 0.7408 GB, free: 116 kB / 0.5574 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001154/0.7611, allocations: 4 kB / 0.7408 GB, free: 112 kB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00064/0.7617, allocations: 55.95 kB / 0.7409 GB, free: 56 kB / 0.5574 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000151/0.7619, allocations: 39.88 kB / 0.7409 GB, free: 16 kB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.934e-05/0.7619, allocations: 12 kB / 0.7409 GB, free: 4 kB / 0.5574 GB Notification: Performance of sorting global known variables: time 0.0007324/0.7627, allocations: 399.1 kB / 0.7413 GB, free: 15.62 MB / 0.573 GB Notification: Performance of sort global known variables: time 8.58e-07/0.7627, allocations: 0 / 0.7413 GB, free: 15.62 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.001438/0.7641, allocations: 304 kB / 0.7416 GB, free: 15.32 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 3 {1 2,1 2,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.000184/0.7643, allocations: 111.2 kB / 0.7417 GB, free: 15.2 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.005153/0.7695, allocations: 2.412 MB / 0.7441 GB, free: 12.63 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 6.807e-06/0.7696, allocations: 0 / 0.7441 GB, free: 12.63 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.001959/0.7715, allocations: 1.031 MB / 0.7451 GB, free: 11.52 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001263/0.7728, allocations: 225.8 kB / 0.7453 GB, free: 11.3 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003344/0.7762, allocations: 1.511 MB / 0.7468 GB, free: 9.773 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008822/0.7771, allocations: 0.9937 MB / 0.7477 GB, free: 8.75 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.000894/0.778, allocations: 153.3 kB / 0.7479 GB, free: 8.598 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001851/0.7782, allocations: 43.44 kB / 0.7479 GB, free: 8.555 MB / 0.573 GB Notification: Performance of SimCode: time 1.563e-06/0.7782, allocations: 0 / 0.7479 GB, free: 8.555 MB / 0.573 GB Notification: Performance of Templates: time 0.03129/0.8095, allocations: 12.49 MB / 0.7601 GB, free: 12.18 MB / 0.5886 GB