Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.DC.Lines.Examples.DCLine.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/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.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Electrical.DC.Lines.Examples.DCLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.DC.Lines.Examples.DCLine") translateModel(Buildings.Electrical.DC.Lines.Examples.DCLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.DC.Lines.Examples.DCLine") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.499/2.499, allocations: 254.9 MB / 269.9 MB, free: 9.648 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.002022/0.002022, allocations: 199.9 kB / 329.5 MB, free: 1.16 MB / 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 2.58/2.58, allocations: 225.6 MB / 0.6001 GB, free: 0.5 MB / 426.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.001036/0.001036, allocations: 102 kB / 0.7074 GB, free: 6.223 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0008175/0.0008183, allocations: 11.19 kB / 0.8242 GB, free: 124.9 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2472/0.2481, allocations: 109.1 MB / 0.9308 GB, free: 24.9 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLine): time 0.008002/0.2562, allocations: 5.555 MB / 0.9362 GB, free: 19.32 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.007789/0.264, allocations: 4.221 MB / 0.9403 GB, free: 15.09 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006605/0.2647, allocations: 19.88 kB / 0.9403 GB, free: 15.07 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0005856/0.2653, allocations: 142.9 kB / 0.9405 GB, free: 14.93 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.002371/0.2677, allocations: 0.6305 MB / 0.9411 GB, free: 14.3 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009663/0.2687, allocations: 251.5 kB / 0.9413 GB, free: 14.05 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.001705/0.2704, allocations: 1.199 MB / 0.9425 GB, free: 12.85 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008136/0.2713, allocations: 0.5199 MB / 0.943 GB, free: 12.29 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006789/0.272, allocations: 382.4 kB / 0.9434 GB, free: 11.92 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009673/0.273, allocations: 462.2 kB / 0.9438 GB, free: 11.46 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 0.0001246/0.2731, allocations: 36 kB / 0.9438 GB, free: 11.43 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005402/0.2737, allocations: 151.8 kB / 0.944 GB, free: 11.28 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.0002105/0.2739, allocations: 207.3 kB / 0.9442 GB, free: 11.08 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.0001928/0.2741, allocations: 161.3 kB / 0.9443 GB, free: 10.91 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0009726/0.2751, allocations: 0.8106 MB / 0.9451 GB, free: 10.1 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.2751, allocations: 0 / 0.9451 GB, free: 10.1 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.733e-06/0.2751, allocations: 0 / 0.9451 GB, free: 10.1 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 1.14e-05/0.2751, allocations: 0 / 0.9451 GB, free: 10.1 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.002254/0.2774, allocations: 0.9855 MB / 0.9461 GB, free: 9.066 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.887e-05/0.2774, allocations: 11.97 kB / 0.9461 GB, free: 9.055 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005312/0.2828, allocations: 0.6475 MB / 0.9467 GB, free: 8.406 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001299/0.2841, allocations: 0.5195 MB / 0.9472 GB, free: 7.844 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.208e-05/0.2842, allocations: 45.67 kB / 0.9473 GB, free: 7.797 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001423/0.2843, allocations: 52.12 kB / 0.9473 GB, free: 7.746 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002993/0.2873, allocations: 1.022 MB / 0.9483 GB, free: 6.684 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.499e-05/0.2874, allocations: 0 / 0.9483 GB, free: 6.684 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001168/0.2875, allocations: 27.98 kB / 0.9484 GB, free: 6.656 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.836e-05/0.2876, allocations: 49.28 kB / 0.9484 GB, free: 6.609 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003838/0.2915, allocations: 1.012 MB / 0.9494 GB, free: 5.598 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00551/0.297, allocations: 3.521 MB / 0.9528 GB, free: 1.77 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002397/0.2994, allocations: 0.5179 MB / 0.9533 GB, free: 1.242 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009425/0.3004, allocations: 240.7 kB / 0.9536 GB, free: 1.004 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 4.941e-05/0.3005, allocations: 15.92 kB / 0.9536 GB, free: 0.9883 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.338e-05/0.3005, allocations: 38.56 kB / 0.9536 GB, free: 0.9414 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=31): time 2.765e-06/0.3005, allocations: 0 / 0.9536 GB, free: 0.9414 MB / 0.5886 GB Notification: Performance of matching and sorting (n=43): time 0.01238/0.3129, allocations: 2.226 MB / 0.9558 GB, free: 14.67 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.101e-05/0.313, allocations: 55.41 kB / 0.9558 GB, free: 14.61 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001027/0.314, allocations: 0.5665 MB / 0.9564 GB, free: 14.03 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 7.13e-05/0.3141, allocations: 33.7 kB / 0.9564 GB, free: 13.99 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003617/0.3145, allocations: 360.2 kB / 0.9568 GB, free: 13.63 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001957/0.3147, allocations: 149.8 kB / 0.9569 GB, free: 13.48 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.79e-05/0.3148, allocations: 8 kB / 0.9569 GB, free: 13.48 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0002083/0.315, allocations: 378.6 kB / 0.9573 GB, free: 13.1 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00127/0.3163, allocations: 276.9 kB / 0.9575 GB, free: 12.83 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001396/0.3177, allocations: 385.8 kB / 0.9579 GB, free: 12.41 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00133/0.319, allocations: 309.6 kB / 0.9582 GB, free: 12.11 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/0.3191, allocations: 0 / 0.9582 GB, free: 12.11 MB / 0.6042 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.004432/0.3235, allocations: 0.9743 MB / 0.9592 GB, free: 11.11 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001519/0.3237, allocations: 180.5 kB / 0.9593 GB, free: 10.88 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.256e-05/0.3237, allocations: 4 kB / 0.9593 GB, free: 10.88 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001963/0.3257, allocations: 276.8 kB / 0.9596 GB, free: 10.59 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001183/0.3269, allocations: 135.8 kB / 0.9597 GB, free: 10.46 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01042/0.3373, allocations: 8.467 MB / 0.968 GB, free: 1.188 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001115/0.3385, allocations: 60 kB / 0.9681 GB, free: 1.129 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.422e-05/0.3386, allocations: 20 kB / 0.9681 GB, free: 1.109 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.045e-05/0.3386, allocations: 4 kB / 0.9681 GB, free: 1.105 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004312/0.3429, allocations: 1.081 MB / 0.9691 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.229e-05/0.343, allocations: 4 kB / 0.9691 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001361/0.3443, allocations: 221.4 kB / 0.9693 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001259/0.3456, allocations: 139.8 kB / 0.9695 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00878/0.3544, allocations: 8.16 MB / 0.9775 GB, free: 6.617 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001102/0.3556, allocations: 56.02 kB / 0.9775 GB, free: 6.562 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.911e-05/0.3557, allocations: 23.98 kB / 0.9775 GB, free: 6.539 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 (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.0005682/0.3562, allocations: 311.9 kB / 0.9778 GB, free: 6.227 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001798/0.3564, allocations: 67.16 kB / 0.9779 GB, free: 6.16 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002494/0.3567, allocations: 78.38 kB / 0.978 GB, free: 6.082 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.051e-05/0.3567, allocations: 8 kB / 0.978 GB, free: 6.074 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.512e-05/0.3567, allocations: 7.938 kB / 0.978 GB, free: 6.066 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.006e-05/0.3568, allocations: 3.984 kB / 0.978 GB, free: 6.062 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001254/0.358, allocations: 0.6377 MB / 0.9786 GB, free: 5.375 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.759e-06/0.358, allocations: 0 / 0.9786 GB, free: 5.375 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001001/0.3591, allocations: 107.8 kB / 0.9787 GB, free: 5.27 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001764/0.3608, allocations: 261 kB / 0.979 GB, free: 4.996 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.281e-05/0.3609, allocations: 11.92 kB / 0.979 GB, free: 4.984 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009864/0.3708, allocations: 8.419 MB / 0.9872 GB, free: 11.76 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.3709, allocations: 0 / 0.9872 GB, free: 11.76 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004143/0.375, allocations: 0.96 MB / 0.9881 GB, free: 10.77 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004593/0.3755, allocations: 184.2 kB / 0.9883 GB, free: 10.57 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001416/0.3757, allocations: 11.94 kB / 0.9883 GB, free: 10.55 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000949/0.3766, allocations: 55.94 kB / 0.9884 GB, free: 10.5 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001947/0.3768, allocations: 35.94 kB / 0.9884 GB, free: 10.46 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.286e-05/0.3769, allocations: 16 kB / 0.9884 GB, free: 10.45 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0007498/0.3777, allocations: 395.1 kB / 0.9888 GB, free: 10.07 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.8e-07/0.3777, allocations: 0 / 0.9888 GB, free: 10.07 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001534/0.3792, allocations: 304 kB / 0.9891 GB, free: 9.773 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 (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.0002119/0.3795, allocations: 115 kB / 0.9892 GB, free: 9.652 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.006643/0.3861, allocations: 2.414 MB / 0.9916 GB, free: 7.082 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 6.702e-06/0.3862, allocations: 0 / 0.9916 GB, free: 7.082 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.00247/0.3887, allocations: 1.035 MB / 0.9926 GB, free: 5.969 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001779/0.3905, allocations: 210.6 kB / 0.9928 GB, free: 5.766 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004134/0.3946, allocations: 1.523 MB / 0.9943 GB, free: 4.215 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007828/0.3955, allocations: 0.9821 MB / 0.9952 GB, free: 3.199 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.001113/0.3966, allocations: 157.4 kB / 0.9954 GB, free: 3.043 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002353/0.3969, allocations: 43.42 kB / 0.9954 GB, free: 3 MB / 0.6355 GB Notification: Performance of SimCode: time 1.683e-06/0.3969, allocations: 0 / 0.9954 GB, free: 3 MB / 0.6355 GB Notification: Performance of Templates: time 0.03706/0.434, allocations: 12.51 MB / 1.008 GB, free: 6.551 MB / 0.6511 GB make -j1 -f Buildings_7.0.0_Buildings.Electrical.DC.Lines.Examples.DCLine.makefile (rm -f Buildings_7.0.0_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe ; mkfifo Buildings_7.0.0_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe >> ../files/Buildings_7.0.0_Buildings.Electrical.DC.Lines.Examples.DCLine.sim & ./Buildings_7.0.0_Buildings.Electrical.DC.Lines.Examples.DCLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe 2>&1)