Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.DC.Lines.Examples.DCLine.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/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") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.4/2.4, allocations: 251.1 MB / 266.1 MB, free: 11.55 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002196/0.002196, allocations: 174.4 kB / 325.6 MB, free: 2.801 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.491/2.491, allocations: 205.4 MB / 0.5766 GB, free: 20.71 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001182/0.001181, allocations: 103.1 kB / 0.6811 GB, free: 13.57 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004541/0.0004543, allocations: 12.12 kB / 0.7951 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2162/0.2167, allocations: 106.3 MB / 0.8989 GB, free: 65.42 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLine): time 0.009064/0.2258, allocations: 5.344 MB / 0.9041 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.008542/0.2345, allocations: 4.129 MB / 0.9081 GB, free: 55.91 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007861/0.2353, allocations: 19.88 kB / 0.9081 GB, free: 55.89 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0006617/0.236, allocations: 139.1 kB / 0.9083 GB, free: 55.75 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.002756/0.2388, allocations: 0.609 MB / 0.9089 GB, free: 55.14 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.001101/0.2399, allocations: 239.5 kB / 0.9091 GB, free: 54.91 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.001597/0.2415, allocations: 0.6774 MB / 0.9098 GB, free: 54.23 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008029/0.2424, allocations: 496.4 kB / 0.9102 GB, free: 53.72 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000698/0.2431, allocations: 342.8 kB / 0.9106 GB, free: 53.38 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007817/0.2439, allocations: 362.6 kB / 0.9109 GB, free: 53.03 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0001231/0.244, allocations: 32 kB / 0.9109 GB, free: 53 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005224/0.2445, allocations: 139.8 kB / 0.9111 GB, free: 52.86 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0002066/0.2448, allocations: 183.4 kB / 0.9112 GB, free: 52.68 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0002433/0.245, allocations: 169.3 kB / 0.9114 GB, free: 52.51 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.001071/0.2461, allocations: 0.8029 MB / 0.9122 GB, free: 51.7 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.2461, allocations: 0 / 0.9122 GB, free: 51.7 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.825e-06/0.2462, allocations: 4 kB / 0.9122 GB, free: 51.7 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.266e-05/0.2462, allocations: 0 / 0.9122 GB, free: 51.7 MB / 0.6042 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.002327/0.2485, allocations: 0.9775 MB / 0.9132 GB, free: 50.67 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.354e-05/0.2486, allocations: 8.031 kB / 0.9132 GB, free: 50.66 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00544/0.254, allocations: 0.6583 MB / 0.9138 GB, free: 50 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001273/0.2554, allocations: 0.5182 MB / 0.9143 GB, free: 49.44 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.217e-05/0.2554, allocations: 49.25 kB / 0.9144 GB, free: 49.39 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001335/0.2556, allocations: 44 kB / 0.9144 GB, free: 49.35 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003117/0.2587, allocations: 1.018 MB / 0.9154 GB, free: 48.29 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.174e-05/0.2588, allocations: 3.938 kB / 0.9154 GB, free: 48.28 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001128/0.2589, allocations: 27.98 kB / 0.9154 GB, free: 48.25 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.413e-05/0.259, allocations: 45.3 kB / 0.9155 GB, free: 48.21 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003971/0.263, allocations: 1.012 MB / 0.9165 GB, free: 47.2 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006168/0.2692, allocations: 3.517 MB / 0.9199 GB, free: 43.38 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002428/0.2717, allocations: 0.5143 MB / 0.9204 GB, free: 42.85 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 5.238e-05/0.2718, allocations: 7.984 kB / 0.9204 GB, free: 42.84 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.725e-05/0.2718, allocations: 34.56 kB / 0.9204 GB, free: 42.8 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=31): time 3.436e-06/0.2719, allocations: 0 / 0.9204 GB, free: 42.8 MB / 0.6042 GB Notification: Performance of matching and sorting (n=43): time 0.01192/0.2838, allocations: 2.221 MB / 0.9226 GB, free: 40.54 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.726e-05/0.2839, allocations: 59.36 kB / 0.9227 GB, free: 40.46 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008958/0.2848, allocations: 0.5627 MB / 0.9232 GB, free: 39.89 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0001119/0.2849, allocations: 33.7 kB / 0.9232 GB, free: 39.85 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002513/0.2852, allocations: 364.1 kB / 0.9236 GB, free: 39.49 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001535/0.2854, allocations: 145.8 kB / 0.9237 GB, free: 39.35 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.063e-05/0.2854, allocations: 12 kB / 0.9237 GB, free: 39.34 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001145/0.2856, allocations: 370.8 kB / 0.9241 GB, free: 38.96 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001178/0.2867, allocations: 272.9 kB / 0.9244 GB, free: 38.7 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0012/0.288, allocations: 381.8 kB / 0.9247 GB, free: 38.28 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001245/0.2892, allocations: 313.5 kB / 0.925 GB, free: 37.97 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.2893, allocations: 0 / 0.925 GB, free: 37.97 MB / 0.6042 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.004068/0.2933, allocations: 0.9783 MB / 0.926 GB, free: 36.97 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002901/0.2937, allocations: 1.221 MB / 0.9272 GB, free: 35.65 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.233e-05/0.2937, allocations: 4 kB / 0.9272 GB, free: 35.65 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001881/0.2956, allocations: 272.9 kB / 0.9274 GB, free: 35.36 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001162/0.2968, allocations: 135.8 kB / 0.9276 GB, free: 35.23 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008637/0.3055, allocations: 8.56 MB / 0.9359 GB, free: 25.88 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001114/0.3067, allocations: 55.94 kB / 0.936 GB, free: 25.82 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.187e-05/0.3068, allocations: 24.06 kB / 0.936 GB, free: 25.8 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/0.3068, allocations: 7.938 kB / 0.936 GB, free: 25.79 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004306/0.3111, allocations: 1.077 MB / 0.9371 GB, free: 24.64 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.774e-05/0.3112, allocations: 4 kB / 0.9371 GB, free: 24.63 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00206/0.3133, allocations: 217.3 kB / 0.9373 GB, free: 24.4 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00118/0.3145, allocations: 135.8 kB / 0.9374 GB, free: 24.27 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007141/0.3217, allocations: 8.219 MB / 0.9454 GB, free: 15.25 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001065/0.3228, allocations: 55.94 kB / 0.9455 GB, free: 15.2 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.88e-05/0.3229, allocations: 24.06 kB / 0.9455 GB, free: 15.17 MB / 0.6042 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.000482/0.3234, allocations: 308.9 kB / 0.9458 GB, free: 14.86 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001616/0.3236, allocations: 71.16 kB / 0.9459 GB, free: 14.79 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001716/0.3238, allocations: 86.31 kB / 0.9459 GB, free: 14.7 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.634e-06/0.3238, allocations: 4 kB / 0.9459 GB, free: 14.7 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.321e-05/0.3238, allocations: 4 kB / 0.9459 GB, free: 14.7 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.652e-06/0.3238, allocations: 4 kB / 0.946 GB, free: 14.69 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001058/0.3249, allocations: 0.6378 MB / 0.9466 GB, free: 14 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.25e-06/0.3249, allocations: 0 / 0.9466 GB, free: 14 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009376/0.3259, allocations: 103.8 kB / 0.9467 GB, free: 13.9 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001637/0.3275, allocations: 260.9 kB / 0.9469 GB, free: 13.63 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.875e-05/0.3277, allocations: 8 kB / 0.9469 GB, free: 13.62 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007932/0.3356, allocations: 8.503 MB / 0.9552 GB, free: 4.32 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.408e-06/0.3357, allocations: 3.938 kB / 0.9552 GB, free: 4.316 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003783/0.3394, allocations: 0.9678 MB / 0.9562 GB, free: 3.312 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004541/0.34, allocations: 180.3 kB / 0.9564 GB, free: 3.117 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001306/0.3401, allocations: 4 kB / 0.9564 GB, free: 3.113 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000932/0.341, allocations: 55.94 kB / 0.9564 GB, free: 3.059 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000216/0.3413, allocations: 43.88 kB / 0.9565 GB, free: 3.016 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.336e-05/0.3413, allocations: 12 kB / 0.9565 GB, free: 3.004 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0006537/0.342, allocations: 395.1 kB / 0.9568 GB, free: 2.625 MB / 0.6042 GB Notification: Performance of sort global known variables: time 4.31e-07/0.342, allocations: 0 / 0.9568 GB, free: 2.625 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001522/0.3436, allocations: 300 kB / 0.9571 GB, free: 2.332 MB / 0.6042 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.0001871/0.3438, allocations: 107.2 kB / 0.9572 GB, free: 2.215 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.006117/0.3499, allocations: 2.435 MB / 0.9596 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 7.444e-06/0.35, allocations: 0 / 0.9596 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.00257/0.3525, allocations: 1.019 MB / 0.9606 GB, free: 14.53 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001668/0.3543, allocations: 209.1 kB / 0.9608 GB, free: 14.33 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004295/0.3586, allocations: 1.527 MB / 0.9623 GB, free: 12.78 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000892/0.3595, allocations: 0.9937 MB / 0.9633 GB, free: 11.76 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.001126/0.3607, allocations: 149.4 kB / 0.9634 GB, free: 11.61 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002604/0.361, allocations: 51.42 kB / 0.9635 GB, free: 11.56 MB / 0.6198 GB Notification: Performance of SimCode: time 1.423e-06/0.361, allocations: 0 / 0.9635 GB, free: 11.56 MB / 0.6198 GB Notification: Performance of Templates: time 0.03715/0.3982, allocations: 12.48 MB / 0.9756 GB, free: 15.21 MB / 0.6355 GB