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 4.658/4.658, allocations: 0.5623 GB / 0.5769 GB, free: 3.34 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002383/0.002383, allocations: 362.5 kB / 0.644 GB, free: 185.6 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.825/3.825, allocations: 410.8 MB / 1.112 GB, free: 147.7 MB / 0.5886 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001665/0.001664, allocations: 179.5 kB / 1.225 GB, free: 35.86 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0004697/0.0004698, allocations: 8 kB / 1.348 GB, free: 121.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1496/0.1501, allocations: 115.3 MB / 1.461 GB, free: 6.551 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLine): time 0.006308/0.1565, allocations: 5.542 MB / 1.466 GB, free: 0.9805 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.008107/0.1646, allocations: 4.234 MB / 1.47 GB, free: 12.73 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000509/0.1652, allocations: 23.88 kB / 1.47 GB, free: 12.71 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0004589/0.1657, allocations: 130.9 kB / 1.47 GB, free: 12.58 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.001933/0.1676, allocations: 0.6214 MB / 1.471 GB, free: 11.96 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008099/0.1684, allocations: 243 kB / 1.471 GB, free: 11.72 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.001586/0.17, allocations: 1.195 MB / 1.472 GB, free: 10.52 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007804/0.1708, allocations: 488.4 kB / 1.473 GB, free: 10.02 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005726/0.1714, allocations: 374.5 kB / 1.473 GB, free: 9.652 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008398/0.1723, allocations: 462.2 kB / 1.474 GB, free: 9.199 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0001029/0.1724, allocations: 36 kB / 1.474 GB, free: 9.164 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004649/0.1729, allocations: 147.7 kB / 1.474 GB, free: 9.02 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0002478/0.1731, allocations: 203.3 kB / 1.474 GB, free: 8.82 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0002052/0.1734, allocations: 165.3 kB / 1.474 GB, free: 8.652 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.001051/0.1744, allocations: 0.8106 MB / 1.475 GB, free: 7.84 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.166e-06/0.1744, allocations: 4 kB / 1.475 GB, free: 7.836 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.881e-06/0.1744, allocations: 0 / 1.475 GB, free: 7.836 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.111e-05/0.1745, allocations: 0 / 1.475 GB, free: 7.836 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.001995/0.1765, allocations: 0.9776 MB / 1.476 GB, free: 6.809 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.715e-05/0.1765, allocations: 8.031 kB / 1.476 GB, free: 6.801 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003965/0.1805, allocations: 0.6544 MB / 1.477 GB, free: 6.145 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001097/0.1816, allocations: 0.5298 MB / 1.477 GB, free: 5.574 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.243e-05/0.1817, allocations: 33.31 kB / 1.477 GB, free: 5.543 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001294/0.1818, allocations: 55.95 kB / 1.477 GB, free: 5.488 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002587/0.1844, allocations: 1.026 MB / 1.478 GB, free: 4.414 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.215e-05/0.1845, allocations: 3.938 kB / 1.478 GB, free: 4.41 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.35e-05/0.1846, allocations: 20 kB / 1.478 GB, free: 4.391 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.55e-05/0.1847, allocations: 41.3 kB / 1.478 GB, free: 4.352 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0031/0.1878, allocations: 1.016 MB / 1.479 GB, free: 3.336 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00563/0.1934, allocations: 3.513 MB / 1.483 GB, free: 15.52 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001872/0.1953, allocations: 0.5221 MB / 1.483 GB, free: 14.98 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007545/0.1961, allocations: 245.2 kB / 1.483 GB, free: 14.74 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.935e-05/0.1962, allocations: 7.984 kB / 1.483 GB, free: 14.73 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.745e-05/0.1962, allocations: 34.56 kB / 1.483 GB, free: 14.69 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=31): time 3.45e-06/0.1962, allocations: 4 kB / 1.484 GB, free: 14.69 MB / 0.6355 GB Notification: Performance of matching and sorting (n=43): time 0.008735/0.205, allocations: 2.225 MB / 1.486 GB, free: 12.42 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.255e-05/0.2051, allocations: 55.41 kB / 1.486 GB, free: 12.35 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001149/0.2062, allocations: 0.5742 MB / 1.486 GB, free: 11.77 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 8.561e-05/0.2063, allocations: 33.7 kB / 1.486 GB, free: 11.73 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004218/0.2068, allocations: 352.2 kB / 1.487 GB, free: 11.38 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001761/0.207, allocations: 149.8 kB / 1.487 GB, free: 11.23 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.264e-05/0.207, allocations: 12 kB / 1.487 GB, free: 11.22 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0002283/0.2073, allocations: 374.8 kB / 1.487 GB, free: 10.85 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009041/0.2082, allocations: 268.9 kB / 1.487 GB, free: 10.59 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009935/0.2092, allocations: 385.8 kB / 1.488 GB, free: 10.16 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009761/0.2102, allocations: 301.7 kB / 1.488 GB, free: 9.871 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.2102, allocations: 4 kB / 1.488 GB, free: 9.867 MB / 0.6355 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.003257/0.2135, allocations: 0.9744 MB / 1.489 GB, free: 8.867 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001569/0.2136, allocations: 184.5 kB / 1.489 GB, free: 8.641 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.468e-05/0.2137, allocations: 4 kB / 1.489 GB, free: 8.637 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001459/0.2151, allocations: 272.9 kB / 1.489 GB, free: 8.352 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000791/0.2159, allocations: 127.8 kB / 1.49 GB, free: 8.227 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01016/0.2261, allocations: 8.477 MB / 1.498 GB, free: 14.96 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007483/0.2269, allocations: 55.95 kB / 1.498 GB, free: 14.91 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.453e-05/0.227, allocations: 23.98 kB / 1.498 GB, free: 14.88 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 9.478e-06/0.227, allocations: 4 kB / 1.498 GB, free: 14.88 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003181/0.2302, allocations: 1.078 MB / 1.499 GB, free: 13.73 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.018e-05/0.2302, allocations: 4 kB / 1.499 GB, free: 13.72 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001035/0.2313, allocations: 221.2 kB / 1.499 GB, free: 13.49 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007947/0.2321, allocations: 131.8 kB / 1.499 GB, free: 13.36 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008812/0.2409, allocations: 8.157 MB / 1.507 GB, free: 4.406 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007676/0.2417, allocations: 59.89 kB / 1.507 GB, free: 4.348 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.842e-05/0.2418, allocations: 23.94 kB / 1.507 GB, free: 4.324 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.0005216/0.2423, allocations: 309 kB / 1.508 GB, free: 4.012 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001574/0.2425, allocations: 71.23 kB / 1.508 GB, free: 3.941 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001703/0.2427, allocations: 78.38 kB / 1.508 GB, free: 3.859 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.621e-06/0.2427, allocations: 4 kB / 1.508 GB, free: 3.855 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.136e-05/0.2427, allocations: 7.938 kB / 1.508 GB, free: 3.848 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.255e-06/0.2427, allocations: 3.953 kB / 1.508 GB, free: 3.844 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001093/0.2439, allocations: 0.6417 MB / 1.508 GB, free: 3.152 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.95e-06/0.2439, allocations: 4 kB / 1.508 GB, free: 3.148 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006521/0.2445, allocations: 103.8 kB / 1.509 GB, free: 3.047 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001315/0.2459, allocations: 256.9 kB / 1.509 GB, free: 2.777 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.576e-05/0.2459, allocations: 8 kB / 1.509 GB, free: 2.77 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009618/0.2556, allocations: 8.424 MB / 1.517 GB, free: 9.543 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.528e-06/0.2556, allocations: 8.016 kB / 1.517 GB, free: 9.535 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003017/0.2586, allocations: 0.956 MB / 1.518 GB, free: 8.543 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003549/0.259, allocations: 184.2 kB / 1.518 GB, free: 8.344 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001067/0.2591, allocations: 11.95 kB / 1.518 GB, free: 8.332 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006138/0.2597, allocations: 51.95 kB / 1.518 GB, free: 8.281 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001547/0.2599, allocations: 35.94 kB / 1.518 GB, free: 8.246 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.869e-05/0.26, allocations: 12 kB / 1.518 GB, free: 8.234 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0006636/0.2607, allocations: 403.1 kB / 1.519 GB, free: 7.848 MB / 0.6667 GB Notification: Performance of sort global known variables: time 7.63e-07/0.2607, allocations: 0 / 1.519 GB, free: 7.848 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001367/0.262, allocations: 300 kB / 1.519 GB, free: 7.555 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.0001756/0.2622, allocations: 107.2 kB / 1.519 GB, free: 7.441 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.005051/0.2673, allocations: 2.422 MB / 1.521 GB, free: 4.863 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 8.88e-06/0.2673, allocations: 4 kB / 1.521 GB, free: 4.859 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.001909/0.2693, allocations: 1.019 MB / 1.522 GB, free: 3.762 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001343/0.2706, allocations: 207.5 kB / 1.523 GB, free: 3.562 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003252/0.2739, allocations: 1.536 MB / 1.524 GB, free: 2.008 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008581/0.2748, allocations: 0.9976 MB / 1.525 GB, free: 0.9805 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0008351/0.2756, allocations: 157.3 kB / 1.525 GB, free: 0.8242 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001794/0.2758, allocations: 39.44 kB / 1.525 GB, free: 0.7852 MB / 0.6667 GB Notification: Performance of SimCode: time 1.741e-06/0.2758, allocations: 0 / 1.525 GB, free: 0.7852 MB / 0.6667 GB Notification: Performance of Templates: time 0.5305/0.8064, allocations: 12.5 MB / 1.537 GB, free: 67.8 MB / 0.6667 GB