Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Electrical.DC.Lines.Examples.DCLines.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.DCLines,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Electrical.DC.Lines.Examples.DCLines") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.947/4.947, allocations: 0.5623 GB / 0.5776 GB, free: 3.355 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.002548/0.002548, allocations: 371.1 kB / 0.6447 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 4.423/4.423, allocations: 410.7 MB / 1.113 GB, free: 5.953 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001879/0.001879, allocations: 181.1 kB / 1.226 GB, free: 6.145 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0006515/0.0006518, allocations: 16 kB / 1.349 GB, free: 8.27 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7341/0.7348, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLines): time 0.0288/0.7636, allocations: 20.24 MB / 1.481 GB, free: 264 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.02988/0.7936, allocations: 16.46 MB / 1.497 GB, free: 247.6 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00354/0.7972, allocations: 95.44 kB / 1.497 GB, free: 247.5 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.00274/0.8, allocations: 0.5183 MB / 1.498 GB, free: 247 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.01165/0.8117, allocations: 2.827 MB / 1.501 GB, free: 244.2 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.004527/0.8162, allocations: 0.9524 MB / 1.501 GB, free: 243.3 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.00925/0.8255, allocations: 5.774 MB / 1.507 GB, free: 237.5 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004513/0.8301, allocations: 2.019 MB / 1.509 GB, free: 235.6 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004461/0.8346, allocations: 1.819 MB / 1.511 GB, free: 233.7 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005269/0.8399, allocations: 2.168 MB / 1.513 GB, free: 231.6 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.001392/0.8414, allocations: 165.5 kB / 1.513 GB, free: 231.4 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00298/0.8444, allocations: 499.2 kB / 1.514 GB, free: 230.9 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.002028/0.8465, allocations: 0.9263 MB / 1.515 GB, free: 230 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.001749/0.8483, allocations: 0.6834 MB / 1.515 GB, free: 229.3 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.006289/0.8546, allocations: 3.831 MB / 1.519 GB, free: 225.5 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 8.076e-06/0.8546, allocations: 4 kB / 1.519 GB, free: 225.5 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.605e-06/0.8547, allocations: 0 / 1.519 GB, free: 225.5 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.0001959/0.8549, allocations: 0.625 kB / 1.519 GB, free: 225.5 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 635 * Number of variables: 635 Notification: Performance of Generate backend data structure: time 0.01279/0.8677, allocations: 3.864 MB / 1.523 GB, free: 221.5 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.301e-05/0.8677, allocations: 15.62 kB / 1.523 GB, free: 221.5 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02795/0.8957, allocations: 3.4 MB / 1.526 GB, free: 218.2 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005799/0.9016, allocations: 1.964 MB / 1.528 GB, free: 216.1 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001981/0.9018, allocations: 180.7 kB / 1.528 GB, free: 215.9 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001051/0.9029, allocations: 232 kB / 1.528 GB, free: 215.7 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01831/0.9212, allocations: 4.72 MB / 1.533 GB, free: 210.9 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.853e-05/0.9214, allocations: 4 kB / 1.533 GB, free: 210.9 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008624/0.9223, allocations: 108 kB / 1.533 GB, free: 210.7 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002839/0.9226, allocations: 176.8 kB / 1.533 GB, free: 210.6 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02383/0.9464, allocations: 5.222 MB / 1.538 GB, free: 205.3 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0311/0.9776, allocations: 14.12 MB / 1.552 GB, free: 190.1 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02015/0.9978, allocations: 3.853 MB / 1.556 GB, free: 186.2 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006557/1.004, allocations: 1.51 MB / 1.557 GB, free: 184.7 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000221/1.005, allocations: 33.27 kB / 1.557 GB, free: 184.7 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007341/1.012, allocations: 1.819 MB / 1.559 GB, free: 182.8 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=163): time 6.462e-06/1.012, allocations: 0 / 1.559 GB, free: 182.8 MB / 0.8542 GB Notification: Performance of matching and sorting (n=250): time 0.2343/1.246, allocations: 33.39 MB / 1.592 GB, free: 149.2 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001574/1.247, allocations: 0.4928 MB / 1.592 GB, free: 148.6 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003998/1.251, allocations: 2.277 MB / 1.594 GB, free: 146.3 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0005686/1.251, allocations: 73.7 kB / 1.595 GB, free: 146.2 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.00128/1.252, allocations: 1.438 MB / 1.596 GB, free: 144.8 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.00109/1.254, allocations: 0.8163 MB / 1.597 GB, free: 144 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004272/1.254, allocations: 48 kB / 1.597 GB, free: 143.9 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001484/1.254, allocations: 398.7 kB / 1.597 GB, free: 143.5 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008601/1.263, allocations: 1.921 MB / 1.599 GB, free: 141.6 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00912/1.272, allocations: 2.216 MB / 1.601 GB, free: 139.3 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009006/1.281, allocations: 2.132 MB / 1.603 GB, free: 137.1 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.269e-05/1.281, allocations: 0 / 1.603 GB, free: 137.1 MB / 0.8542 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.02786/1.309, allocations: 6.169 MB / 1.609 GB, free: 130.8 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002697/1.309, allocations: 403.3 kB / 1.61 GB, free: 130.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.083e-05/1.309, allocations: 12 kB / 1.61 GB, free: 130.3 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01175/1.321, allocations: 1.844 MB / 1.612 GB, free: 128.5 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0056/1.327, allocations: 0.589 MB / 1.612 GB, free: 127.9 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03529/1.362, allocations: 14.15 MB / 1.626 GB, free: 113.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006587/1.369, allocations: 407.5 kB / 1.626 GB, free: 113.1 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005445/1.369, allocations: 91.97 kB / 1.626 GB, free: 113 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.42e-05/1.369, allocations: 7.75 kB / 1.626 GB, free: 113 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03141/1.401, allocations: 5.753 MB / 1.632 GB, free: 107.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.421e-05/1.401, allocations: 8 kB / 1.632 GB, free: 107.2 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03284/1.434, allocations: 1.825 MB / 1.634 GB, free: 105.4 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01572/1.45, allocations: 0.6008 MB / 1.634 GB, free: 104.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05168/1.501, allocations: 13.43 MB / 1.647 GB, free: 91.06 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007714/1.509, allocations: 403.5 kB / 1.648 GB, free: 90.66 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007198/1.51, allocations: 95.97 kB / 1.648 GB, free: 90.57 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 25 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.varLoad1.T_start,varLoad1.T_start,$PRE.varLoad1.count,varLoad1.count,$PRE.varLoad2.T_start,varLoad2.T_start,$PRE.varLoad2.count,varLoad2.count,$PRE.varLoad3.T_start,varLoad3.T_start,$PRE.varLoad3.count,varLoad3.count,$PRE.varLoad4.T_start,varLoad4.T_start,$PRE.varLoad4.count,varLoad4.count,$PRE.varLoad5.T_start,varLoad5.T_start,$PRE.varLoad5.count,varLoad5.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (172): * Single equations (assignments): 165 * Array equations: 0 * Algorithm blocks: 5 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(10,45.0%) 52} * Non-linear torn systems: 1 {10 52} Notification: Performance of prepare postOptimizeDAE: time 0.00233/1.512, allocations: 0.7845 MB / 1.649 GB, free: 89.77 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009329/1.513, allocations: 324.2 kB / 1.649 GB, free: 89.45 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001066/1.514, allocations: 400.1 kB / 1.649 GB, free: 89.05 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.599e-05/1.514, allocations: 11.95 kB / 1.649 GB, free: 89.04 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.899e-06/1.514, allocations: 0 / 1.649 GB, free: 89.04 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001976/1.516, allocations: 0.6609 MB / 1.65 GB, free: 88.36 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009421/1.517, allocations: 59.89 kB / 1.65 GB, free: 88.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006138/1.523, allocations: 399.5 kB / 1.651 GB, free: 87.91 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001323/1.525, allocations: 365.3 kB / 1.651 GB, free: 87.55 MB / 0.8542 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.03197/1.557, allocations: 6.221 MB / 1.657 GB, free: 81.31 MB / 0.8542 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.02847/1.585, allocations: 6.561 MB / 1.663 GB, free: 74.73 MB / 0.8542 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.008883/1.594, allocations: 2.135 MB / 1.665 GB, free: 72.59 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.003176/1.597, allocations: 1.505 MB / 1.667 GB, free: 71.09 MB / 0.8542 GB Notification: Performance of Backend: time 1.583e-06/1.597, allocations: 0 / 1.667 GB, free: 71.09 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.03473/1.632, allocations: 8.516 MB / 1.675 GB, free: 62.38 MB / 0.8542 GB Notification: Performance of SimCode: time 0.01751/1.65, allocations: 8.392 MB / 1.683 GB, free: 53.95 MB / 0.8542 GB Notification: Performance of Templates: time 0.8452/2.495, allocations: 87.38 MB / 1.769 GB, free: 239 MB / 0.8542 GB