Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_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 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Electrical.DC.Lines.Examples.DCLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Electrical.DC.Lines.Examples.DCLine") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.454/2.454, allocations: 287.9 MB / 302.9 MB, free: 8.309 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001776/0.001776, allocations: 181 kB / 371.4 MB, free: 10.67 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.063/2.063, allocations: 205.4 MB / 0.6301 GB, free: 10.4 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001001/0.001001, allocations: 97.89 kB / 0.7434 GB, free: 6.41 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004623/0.0004625, allocations: 11.19 kB / 0.8662 GB, free: 141.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1531/0.1536, allocations: 115.3 MB / 0.9788 GB, free: 28.18 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLine): time 0.006816/0.1604, allocations: 5.32 MB / 0.9839 GB, free: 22.83 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.006683/0.1672, allocations: 4.129 MB / 0.988 GB, free: 18.69 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006471/0.1678, allocations: 19.88 kB / 0.988 GB, free: 18.67 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0004933/0.1684, allocations: 147 kB / 0.9881 GB, free: 18.53 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.002073/0.1705, allocations: 0.6181 MB / 0.9887 GB, free: 17.91 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007921/0.1713, allocations: 237.5 kB / 0.989 GB, free: 17.68 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.001087/0.1724, allocations: 0.6665 MB / 0.9896 GB, free: 17.01 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006269/0.173, allocations: 492.4 kB / 0.9901 GB, free: 16.5 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004994/0.1735, allocations: 342.7 kB / 0.9904 GB, free: 16.17 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005534/0.1741, allocations: 358.6 kB / 0.9908 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 8.704e-05/0.1742, allocations: 32 kB / 0.9908 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004076/0.1746, allocations: 147.8 kB / 0.9909 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001624/0.1748, allocations: 183.4 kB / 0.9911 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001449/0.175, allocations: 165.3 kB / 0.9913 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0008183/0.1758, allocations: 0.8106 MB / 0.9921 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.253e-06/0.1758, allocations: 0 / 0.9921 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.488e-06/0.1758, allocations: 4 kB / 0.9921 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.175e-05/0.1758, allocations: 0 / 0.9921 GB, free: 14.48 MB / 0.6198 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.001588/0.1774, allocations: 0.9681 MB / 0.993 GB, free: 13.46 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.54e-05/0.1775, allocations: 16.02 kB / 0.993 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003708/0.1812, allocations: 0.6583 MB / 0.9937 GB, free: 12.79 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009812/0.1822, allocations: 0.5182 MB / 0.9942 GB, free: 12.23 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.75e-05/0.1823, allocations: 37.31 kB / 0.9942 GB, free: 12.19 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001054/0.1824, allocations: 51.95 kB / 0.9943 GB, free: 12.14 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002309/0.1847, allocations: 1.022 MB / 0.9953 GB, free: 11.07 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.209e-05/0.1848, allocations: 3.938 kB / 0.9953 GB, free: 11.07 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.766e-05/0.1849, allocations: 24 kB / 0.9953 GB, free: 11.04 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.493e-05/0.185, allocations: 45.3 kB / 0.9953 GB, free: 11 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002867/0.1878, allocations: 1.012 MB / 0.9963 GB, free: 9.988 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004674/0.1925, allocations: 3.517 MB / 0.9997 GB, free: 6.164 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001762/0.1943, allocations: 0.5182 MB / 1 GB, free: 5.637 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.899e-05/0.1944, allocations: 4 kB / 1 GB, free: 5.633 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.366e-05/0.1945, allocations: 34.56 kB / 1 GB, free: 5.59 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=31): time 3.87e-06/0.1945, allocations: 4 kB / 1 GB, free: 5.586 MB / 0.6198 GB Notification: Performance of matching and sorting (n=43): time 0.008043/0.2025, allocations: 2.22 MB / 1.002 GB, free: 3.32 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.594e-05/0.2026, allocations: 55.41 kB / 1.003 GB, free: 3.254 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007634/0.2034, allocations: 0.5742 MB / 1.003 GB, free: 2.672 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 5.767e-05/0.2034, allocations: 37.7 kB / 1.003 GB, free: 2.629 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.000208/0.2036, allocations: 352.2 kB / 1.003 GB, free: 2.281 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001173/0.2038, allocations: 149.8 kB / 1.004 GB, free: 2.133 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.965e-05/0.2038, allocations: 12 kB / 1.004 GB, free: 2.121 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.869e-05/0.2039, allocations: 370.7 kB / 1.004 GB, free: 1.75 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008228/0.2048, allocations: 280.9 kB / 1.004 GB, free: 1.477 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008589/0.2056, allocations: 377.8 kB / 1.005 GB, free: 1.062 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008593/0.2065, allocations: 313.6 kB / 1.005 GB, free: 0.7578 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.663e-06/0.2065, allocations: 0 / 1.005 GB, free: 0.7578 MB / 0.6198 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.003095/0.2096, allocations: 0.9744 MB / 1.006 GB, free: 15.76 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007013/0.2104, allocations: 1.222 MB / 1.007 GB, free: 14.44 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.076e-05/0.2104, allocations: 4 kB / 1.007 GB, free: 14.44 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001521/0.2119, allocations: 276.8 kB / 1.007 GB, free: 14.15 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00081/0.2128, allocations: 131.8 kB / 1.007 GB, free: 14.02 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01087/0.2237, allocations: 8.558 MB / 1.016 GB, free: 4.676 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007838/0.2245, allocations: 56 kB / 1.016 GB, free: 4.621 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.617e-05/0.2246, allocations: 20 kB / 1.016 GB, free: 4.602 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.313e-05/0.2246, allocations: 5.406 kB / 1.016 GB, free: 4.598 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003307/0.2279, allocations: 1.081 MB / 1.017 GB, free: 3.441 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.218e-05/0.228, allocations: 4 kB / 1.017 GB, free: 3.438 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001069/0.229, allocations: 221.2 kB / 1.017 GB, free: 3.203 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008442/0.2299, allocations: 131.8 kB / 1.017 GB, free: 3.074 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00951/0.2394, allocations: 8.235 MB / 1.025 GB, free: 10.04 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007724/0.2403, allocations: 60 kB / 1.025 GB, free: 9.984 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.031e-05/0.2403, allocations: 16 kB / 1.025 GB, free: 9.969 MB / 0.6511 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.0005513/0.2409, allocations: 305 kB / 1.026 GB, free: 9.66 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001633/0.2411, allocations: 63.25 kB / 1.026 GB, free: 9.598 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001782/0.2413, allocations: 82.36 kB / 1.026 GB, free: 9.512 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.227e-05/0.2413, allocations: 11.95 kB / 1.026 GB, free: 9.5 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.289e-05/0.2413, allocations: 4 kB / 1.026 GB, free: 9.496 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.284e-06/0.2414, allocations: 0 / 1.026 GB, free: 9.496 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00118/0.2425, allocations: 0.6456 MB / 1.026 GB, free: 8.801 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.282e-06/0.2426, allocations: 0 / 1.026 GB, free: 8.801 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006848/0.2433, allocations: 99.86 kB / 1.027 GB, free: 8.703 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001366/0.2446, allocations: 264.8 kB / 1.027 GB, free: 8.426 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.254e-05/0.2447, allocations: 11.95 kB / 1.027 GB, free: 8.414 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0103/0.255, allocations: 8.507 MB / 1.035 GB, free: 15.1 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.2551, allocations: 0 / 1.035 GB, free: 15.1 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003136/0.2582, allocations: 0.9638 MB / 1.036 GB, free: 14.1 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004057/0.2587, allocations: 180.3 kB / 1.036 GB, free: 13.91 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001113/0.2588, allocations: 12 kB / 1.036 GB, free: 13.89 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006309/0.2594, allocations: 51.94 kB / 1.036 GB, free: 13.84 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001619/0.2596, allocations: 43.88 kB / 1.036 GB, free: 13.8 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.065e-05/0.2597, allocations: 12 kB / 1.036 GB, free: 13.79 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0006861/0.2604, allocations: 395.1 kB / 1.037 GB, free: 13.41 MB / 0.6667 GB Notification: Performance of sort global known variables: time 8.6e-07/0.2604, allocations: 0 / 1.037 GB, free: 13.41 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001456/0.2619, allocations: 304 kB / 1.037 GB, free: 13.11 MB / 0.6667 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.0001845/0.2621, allocations: 107.2 kB / 1.037 GB, free: 13 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.005302/0.2674, allocations: 2.422 MB / 1.039 GB, free: 10.43 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 5.869e-06/0.2674, allocations: 0 / 1.039 GB, free: 10.43 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.001979/0.2694, allocations: 1.027 MB / 1.04 GB, free: 9.32 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001157/0.2706, allocations: 205 kB / 1.041 GB, free: 9.121 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003357/0.274, allocations: 1.524 MB / 1.042 GB, free: 7.57 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008791/0.2749, allocations: 1.001 MB / 1.043 GB, free: 6.539 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0008962/0.2758, allocations: 149.4 kB / 1.043 GB, free: 6.391 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001846/0.276, allocations: 43.42 kB / 1.043 GB, free: 6.352 MB / 0.6667 GB Notification: Performance of SimCode: time 1.496e-06/0.276, allocations: 0 / 1.043 GB, free: 6.352 MB / 0.6667 GB Notification: Performance of Templates: time 0.03139/0.3074, allocations: 12.5 MB / 1.056 GB, free: 9.992 MB / 0.6823 GB