Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLine.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Electrical.DC.Lines.Examples.DCLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.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.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLine") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.573/1.573, allocations: 255.9 MB / 271.2 MB, free: 8.871 MB / 218.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.001074/0.001074, allocations: 184.6 kB / 330.8 MB, free: 464 kB / 250.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.59/1.59, allocations: 225.7 MB / 0.6016 GB, free: 15.95 MB / 442.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.0007923/0.0007926, allocations: 101.4 kB / 0.709 GB, free: 5.406 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0003469/0.000347, allocations: 9.969 kB / 0.8261 GB, free: 123.5 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2358/0.2362, allocations: 109.2 MB / 0.9328 GB, free: 24.13 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLine): time 0.005365/0.2416, allocations: 5.61 MB / 0.9382 GB, free: 18.5 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.005603/0.2473, allocations: 6.289 MB / 0.9444 GB, free: 11.72 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005027/0.2478, allocations: 23.88 kB / 0.9444 GB, free: 11.7 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0004869/0.2483, allocations: 150.9 kB / 0.9445 GB, free: 11.55 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.001708/0.25, allocations: 0.7036 MB / 0.9452 GB, free: 10.84 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006069/0.2506, allocations: 291.6 kB / 0.9455 GB, free: 10.55 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.001055/0.2517, allocations: 1.437 MB / 0.9469 GB, free: 9.113 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005404/0.2523, allocations: 0.538 MB / 0.9474 GB, free: 8.547 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000369/0.2526, allocations: 402.3 kB / 0.9478 GB, free: 8.152 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005163/0.2532, allocations: 474 kB / 0.9483 GB, free: 7.688 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 7.2e-05/0.2532, allocations: 36 kB / 0.9483 GB, free: 7.652 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005259/0.2538, allocations: 295.4 kB / 0.9486 GB, free: 7.363 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.000181/0.254, allocations: 199.3 kB / 0.9488 GB, free: 7.168 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.0003115/0.2543, allocations: 391.7 kB / 0.9491 GB, free: 6.777 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0008463/0.2551, allocations: 1.035 MB / 0.9502 GB, free: 5.738 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 8.035e-06/0.2552, allocations: 0 / 0.9502 GB, free: 5.738 MB / 0.5886 GB Notification: Performance of FrontEnd: time 3.908e-06/0.2552, allocations: 4 kB / 0.9502 GB, free: 5.734 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 1.655e-05/0.2552, allocations: 0 / 0.9502 GB, free: 5.734 MB / 0.5886 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.001625/0.2568, allocations: 0.97 MB / 0.9511 GB, free: 4.715 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.563e-05/0.2569, allocations: 11.98 kB / 0.9511 GB, free: 4.703 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00283/0.2597, allocations: 0.6475 MB / 0.9518 GB, free: 4.055 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007316/0.2605, allocations: 0.5502 MB / 0.9523 GB, free: 3.465 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.053e-05/0.2605, allocations: 33.69 kB / 0.9523 GB, free: 3.434 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.631e-05/0.2606, allocations: 56.11 kB / 0.9524 GB, free: 3.379 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001727/0.2623, allocations: 1.018 MB / 0.9534 GB, free: 2.316 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.729e-05/0.2624, allocations: 11.94 kB / 0.9534 GB, free: 2.305 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.665e-05/0.2624, allocations: 16 kB / 0.9534 GB, free: 2.289 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.643e-05/0.2625, allocations: 49.28 kB / 0.9534 GB, free: 2.242 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00194/0.2644, allocations: 1.016 MB / 0.9544 GB, free: 1.227 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004227/0.2687, allocations: 3.525 MB / 0.9579 GB, free: 13.39 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001421/0.2701, allocations: 0.5255 MB / 0.9584 GB, free: 12.86 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005463/0.2707, allocations: 245.2 kB / 0.9586 GB, free: 12.62 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.377e-05/0.2707, allocations: 4 kB / 0.9586 GB, free: 12.61 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.553e-05/0.2707, allocations: 42.55 kB / 0.9587 GB, free: 12.56 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=31): time 2.795e-06/0.2708, allocations: 3.938 kB / 0.9587 GB, free: 12.56 MB / 0.6042 GB Notification: Performance of matching and sorting (n=43): time 0.006733/0.2775, allocations: 2.224 MB / 0.9608 GB, free: 10.29 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.078e-05/0.2776, allocations: 55.41 kB / 0.9609 GB, free: 10.23 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006758/0.2783, allocations: 0.5665 MB / 0.9615 GB, free: 9.648 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.635e-05/0.2783, allocations: 33.7 kB / 0.9615 GB, free: 9.609 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002452/0.2786, allocations: 356.2 kB / 0.9618 GB, free: 9.258 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.00013/0.2787, allocations: 149.8 kB / 0.962 GB, free: 9.109 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.852e-05/0.2787, allocations: 8 kB / 0.962 GB, free: 9.102 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001812/0.2789, allocations: 378.7 kB / 0.9623 GB, free: 8.723 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000646/0.2796, allocations: 268.9 kB / 0.9626 GB, free: 8.457 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007238/0.2803, allocations: 393.7 kB / 0.963 GB, free: 8.031 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001366/0.2817, allocations: 0.6616 MB / 0.9636 GB, free: 7.328 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.2817, allocations: 4 kB / 0.9636 GB, free: 7.324 MB / 0.6042 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.002395/0.2841, allocations: 0.9666 MB / 0.9646 GB, free: 6.328 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001328/0.2842, allocations: 180.3 kB / 0.9647 GB, free: 6.105 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.879e-06/0.2842, allocations: 4 kB / 0.9647 GB, free: 6.102 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001147/0.2854, allocations: 280.9 kB / 0.965 GB, free: 5.809 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006155/0.286, allocations: 127.8 kB / 0.9651 GB, free: 5.684 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007267/0.2933, allocations: 8.483 MB / 0.9734 GB, free: 12.4 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006848/0.294, allocations: 60 kB / 0.9735 GB, free: 12.34 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.256e-05/0.2941, allocations: 16 kB / 0.9735 GB, free: 12.33 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 8.556e-06/0.2941, allocations: 4 kB / 0.9735 GB, free: 12.32 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002335/0.2964, allocations: 1.093 MB / 0.9746 GB, free: 11.16 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.2965, allocations: 0 / 0.9746 GB, free: 11.16 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008385/0.2973, allocations: 213.2 kB / 0.9748 GB, free: 10.93 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006086/0.2979, allocations: 139.8 kB / 0.9749 GB, free: 10.79 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006245/0.3042, allocations: 8.157 MB / 0.9829 GB, free: 1.836 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007709/0.305, allocations: 56.08 kB / 0.9829 GB, free: 1.781 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.14e-05/0.3051, allocations: 19.94 kB / 0.9829 GB, free: 1.762 MB / 0.6198 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 (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,2), (1,2), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0004572/0.3055, allocations: 318.5 kB / 0.9832 GB, free: 1.441 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000105/0.3056, allocations: 71.16 kB / 0.9833 GB, free: 1.371 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001304/0.3058, allocations: 74.38 kB / 0.9834 GB, free: 1.297 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.479e-06/0.3058, allocations: 4 kB / 0.9834 GB, free: 1.293 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.316e-05/0.3058, allocations: 4 kB / 0.9834 GB, free: 1.289 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.296e-06/0.3058, allocations: 3.984 kB / 0.9834 GB, free: 1.285 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007914/0.3066, allocations: 0.6455 MB / 0.984 GB, free: 0.5898 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.3066, allocations: 0 / 0.984 GB, free: 0.5898 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004865/0.3071, allocations: 103.8 kB / 0.9841 GB, free: 500 kB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009851/0.3081, allocations: 260.9 kB / 0.9844 GB, free: 220 kB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.866e-05/0.3082, allocations: 11.98 kB / 0.9844 GB, free: 208 kB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006748/0.3149, allocations: 8.423 MB / 0.9926 GB, free: 6.977 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.315, allocations: 0 / 0.9926 GB, free: 6.977 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002239/0.3172, allocations: 0.9601 MB / 0.9935 GB, free: 5.98 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002687/0.3175, allocations: 184.2 kB / 0.9937 GB, free: 5.781 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.774e-05/0.3176, allocations: 15.92 kB / 0.9937 GB, free: 5.766 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004775/0.3181, allocations: 51.88 kB / 0.9938 GB, free: 5.715 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001434/0.3182, allocations: 43.94 kB / 0.9938 GB, free: 5.672 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.368e-05/0.3183, allocations: 12 kB / 0.9938 GB, free: 5.66 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0004608/0.3187, allocations: 399.1 kB / 0.9942 GB, free: 5.277 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3187, allocations: 0 / 0.9942 GB, free: 5.277 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001002/0.3197, allocations: 296 kB / 0.9945 GB, free: 4.988 MB / 0.6355 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 (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,2), (1,2), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001571/0.3199, allocations: 119.2 kB / 0.9946 GB, free: 4.863 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.003789/0.3237, allocations: 2.423 MB / 0.997 GB, free: 2.285 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/0.3237, allocations: 0 / 0.997 GB, free: 2.285 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.001457/0.3252, allocations: 1.024 MB / 0.998 GB, free: 1.184 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001111/0.3263, allocations: 206.1 kB / 0.9982 GB, free: 0.9844 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002629/0.329, allocations: 1.609 MB / 0.9997 GB, free: 15.35 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006171/0.3296, allocations: 0.982 MB / 1.001 GB, free: 14.34 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0006003/0.3302, allocations: 145.4 kB / 1.001 GB, free: 14.19 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001321/0.3304, allocations: 51.42 kB / 1.001 GB, free: 14.14 MB / 0.6511 GB Notification: Performance of SimCode: time 6.91e-07/0.3304, allocations: 0 / 1.001 GB, free: 14.14 MB / 0.6511 GB Notification: Performance of Templates: time 0.02144/0.3518, allocations: 12.84 MB / 1.013 GB, free: 1.352 MB / 0.6511 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLine.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLine.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe 2>&1)