Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.DCLine.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 8.0.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Electrical.DC.Lines.Examples.DCLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.DCLine") translateModel(Buildings.Electrical.DC.Lines.Examples.DCLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.DCLine") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.636/1.636, allocations: 292.6 MB / 307.9 MB, free: 7.16 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001004/0.001004, allocations: 185 kB / 376.5 MB, free: 4.445 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.475/1.475, allocations: 225.7 MB / 0.655 GB, free: 13.05 MB / 490.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007843/0.0007843, allocations: 94.59 kB / 0.7711 GB, free: 50.43 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004173/0.0004173, allocations: 12 kB / 0.897 GB, free: 11.52 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6647/0.6651, allocations: 118.2 MB / 1.012 GB, free: 57.54 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLine): time 0.006231/0.6714, allocations: 5.551 MB / 1.018 GB, free: 57.21 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.005641/0.6771, allocations: 4.247 MB / 1.022 GB, free: 55.92 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007007/0.6778, allocations: 16.59 kB / 1.022 GB, free: 55.91 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0005049/0.6783, allocations: 141.7 kB / 1.022 GB, free: 55.85 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.001946/0.6803, allocations: 0.6718 MB / 1.023 GB, free: 55.55 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007304/0.681, allocations: 248.4 kB / 1.023 GB, free: 55.52 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.001284/0.6823, allocations: 1.205 MB / 1.024 GB, free: 55.27 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006962/0.683, allocations: 0.5363 MB / 1.025 GB, free: 55.14 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004685/0.6835, allocations: 382.9 kB / 1.025 GB, free: 55.04 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006007/0.6841, allocations: 460.7 kB / 1.026 GB, free: 54.93 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 7.849e-05/0.6842, allocations: 32.66 kB / 1.026 GB, free: 54.93 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00061/0.6848, allocations: 293.5 kB / 1.026 GB, free: 54.89 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0001831/0.685, allocations: 206 kB / 1.026 GB, free: 54.85 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0003153/0.6853, allocations: 373.5 kB / 1.026 GB, free: 54.71 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0006378/0.686, allocations: 0.8161 MB / 1.027 GB, free: 54.61 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.686, allocations: 0 / 1.027 GB, free: 54.61 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.853e-06/0.686, allocations: 1.281 kB / 1.027 GB, free: 54.61 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.008e-05/0.686, allocations: 0 / 1.027 GB, free: 54.61 MB / 0.7136 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.001416/0.6874, allocations: 0.9703 MB / 1.028 GB, free: 53.98 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.626e-05/0.6875, allocations: 7.5 kB / 1.028 GB, free: 53.98 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002983/0.6905, allocations: 0.654 MB / 1.029 GB, free: 53.92 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008945/0.6914, allocations: 0.5479 MB / 1.029 GB, free: 53.61 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.357e-05/0.6914, allocations: 40.06 kB / 1.029 GB, free: 53.61 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.657e-05/0.6915, allocations: 51.81 kB / 1.029 GB, free: 53.6 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001814/0.6933, allocations: 1.017 MB / 1.03 GB, free: 53.44 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.818e-05/0.6934, allocations: 5.094 kB / 1.03 GB, free: 53.44 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.624e-05/0.6934, allocations: 27.3 kB / 1.03 GB, free: 53.43 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.357e-05/0.6935, allocations: 45.88 kB / 1.03 GB, free: 53.43 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002226/0.6957, allocations: 1.014 MB / 1.031 GB, free: 53.41 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004447/0.7002, allocations: 3.535 MB / 1.035 GB, free: 51.12 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001612/0.7019, allocations: 0.5117 MB / 1.035 GB, free: 51.09 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006522/0.7026, allocations: 251.9 kB / 1.036 GB, free: 51.07 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.969e-05/0.7026, allocations: 3.562 kB / 1.036 GB, free: 51.07 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.953e-05/0.7026, allocations: 39.17 kB / 1.036 GB, free: 51.03 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=31): time 3.085e-06/0.7027, allocations: 0 / 1.036 GB, free: 51.03 MB / 0.7136 GB Notification: Performance of matching and sorting (n=43): time 0.00841/0.7111, allocations: 2.216 MB / 1.038 GB, free: 50.51 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.505e-05/0.7112, allocations: 55.53 kB / 1.038 GB, free: 50.45 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008557/0.712, allocations: 0.5736 MB / 1.038 GB, free: 50.17 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.645e-05/0.7121, allocations: 32.92 kB / 1.038 GB, free: 50.14 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001856/0.7123, allocations: 351.2 kB / 1.039 GB, free: 49.86 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001019/0.7124, allocations: 146.4 kB / 1.039 GB, free: 49.74 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.606e-05/0.7124, allocations: 9.438 kB / 1.039 GB, free: 49.73 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001024/0.7125, allocations: 380.4 kB / 1.039 GB, free: 49.39 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006389/0.7132, allocations: 270.5 kB / 1.04 GB, free: 49.32 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000688/0.7139, allocations: 386.7 kB / 1.04 GB, free: 49.12 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001341/0.7152, allocations: 0.6689 MB / 1.041 GB, free: 48.8 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.967e-06/0.7152, allocations: 5.375 kB / 1.041 GB, free: 48.8 MB / 0.7136 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.002434/0.7177, allocations: 0.97 MB / 1.042 GB, free: 48.43 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001027/0.7178, allocations: 181 kB / 1.042 GB, free: 48.22 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.024e-05/0.7178, allocations: 8.125 kB / 1.042 GB, free: 48.21 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001203/0.719, allocations: 273 kB / 1.042 GB, free: 48.12 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006569/0.7197, allocations: 130.3 kB / 1.042 GB, free: 48.11 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005638/0.7253, allocations: 8.48 MB / 1.05 GB, free: 39.98 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007816/0.7262, allocations: 59.19 kB / 1.05 GB, free: 39.97 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.113e-05/0.7262, allocations: 20.19 kB / 1.05 GB, free: 39.96 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 9.738e-06/0.7262, allocations: 3.375 kB / 1.05 GB, free: 39.96 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002318/0.7285, allocations: 1.084 MB / 1.052 GB, free: 39.38 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.067e-06/0.7286, allocations: 4.844 kB / 1.052 GB, free: 39.38 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007606/0.7293, allocations: 217.1 kB / 1.052 GB, free: 39.3 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006114/0.73, allocations: 134.6 kB / 1.052 GB, free: 39.29 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005554/0.7355, allocations: 8.151 MB / 1.06 GB, free: 47.26 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009068/0.7365, allocations: 57.78 kB / 1.06 GB, free: 47.25 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.358e-05/0.7366, allocations: 21.16 kB / 1.06 GB, free: 47.24 MB / 0.7292 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.0006576/0.7372, allocations: 323 kB / 1.06 GB, free: 46.98 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000124/0.7373, allocations: 65.38 kB / 1.06 GB, free: 46.95 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001413/0.7375, allocations: 80.09 kB / 1.06 GB, free: 46.89 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-06/0.7375, allocations: 6.562 kB / 1.06 GB, free: 46.89 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.926e-05/0.7375, allocations: 1.875 kB / 1.06 GB, free: 46.89 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.423e-06/0.7375, allocations: 4.219 kB / 1.06 GB, free: 46.89 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001051/0.7386, allocations: 0.6423 MB / 1.061 GB, free: 46.54 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.639e-06/0.7386, allocations: 1.734 kB / 1.061 GB, free: 46.54 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005614/0.7392, allocations: 103.3 kB / 1.061 GB, free: 46.52 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009549/0.7401, allocations: 262 kB / 1.061 GB, free: 46.43 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.221e-05/0.7402, allocations: 7.625 kB / 1.061 GB, free: 46.43 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006908/0.7471, allocations: 8.432 MB / 1.07 GB, free: 38.3 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.886e-06/0.7472, allocations: 0 / 1.07 GB, free: 38.3 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002689/0.7499, allocations: 0.9626 MB / 1.071 GB, free: 37.87 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005291/0.7504, allocations: 182.6 kB / 1.071 GB, free: 37.71 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.653e-05/0.7505, allocations: 12.62 kB / 1.071 GB, free: 37.71 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005414/0.7511, allocations: 49.77 kB / 1.071 GB, free: 37.7 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002357/0.7513, allocations: 42.44 kB / 1.071 GB, free: 37.69 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.907e-05/0.7514, allocations: 13.67 kB / 1.071 GB, free: 37.69 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0007154/0.7521, allocations: 397.1 kB / 1.071 GB, free: 37.51 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.41e-07/0.7521, allocations: 0 / 1.071 GB, free: 37.51 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.001491/0.7536, allocations: 297.6 kB / 1.071 GB, free: 37.48 MB / 0.7292 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.0001815/0.7538, allocations: 122.9 kB / 1.072 GB, free: 37.38 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.00399/0.7578, allocations: 2.424 MB / 1.074 GB, free: 35.7 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 5.06e-06/0.7578, allocations: 0 / 1.074 GB, free: 35.7 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.001475/0.7593, allocations: 1.029 MB / 1.075 GB, free: 34.91 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001273/0.7606, allocations: 206.5 kB / 1.075 GB, free: 34.86 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002544/0.7632, allocations: 1.519 MB / 1.077 GB, free: 34.01 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006362/0.7638, allocations: 0.9806 MB / 1.078 GB, free: 33.27 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0006482/0.7645, allocations: 153.9 kB / 1.078 GB, free: 33.24 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001221/0.7646, allocations: 43.33 kB / 1.078 GB, free: 33.24 MB / 0.7292 GB Notification: Performance of SimCode: time 1.814e-06/0.7646, allocations: 3.938 kB / 1.078 GB, free: 33.23 MB / 0.7292 GB Notification: Performance of Templates: time 0.01999/0.7846, allocations: 12.65 MB / 1.09 GB, free: 32.66 MB / 0.7292 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.DCLine.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.DCLine.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.DCLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe 2>&1)