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 2.675/2.675, allocations: 287.9 MB / 302.9 MB, free: 8.223 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.001448/0.001448, allocations: 177.1 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.105/2.105, allocations: 205.4 MB / 0.6301 GB, free: 10.43 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.001012/0.001012, allocations: 92.48 kB / 0.7434 GB, free: 6.43 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004712/0.0004714, allocations: 12.5 kB / 0.8662 GB, free: 141.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1559/0.1564, allocations: 115.3 MB / 0.9788 GB, free: 28.19 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLines): time 0.02111/0.1776, allocations: 19.16 MB / 0.9975 GB, free: 8.977 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.02725/0.2049, allocations: 16.05 MB / 1.013 GB, free: 8.891 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003273/0.2082, allocations: 95.44 kB / 1.013 GB, free: 8.797 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.002419/0.2106, allocations: 0.547 MB / 1.014 GB, free: 8.246 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.01123/0.2219, allocations: 2.828 MB / 1.017 GB, free: 5.422 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.00404/0.226, allocations: 0.9394 MB / 1.017 GB, free: 4.484 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.007948/0.2339, allocations: 3.332 MB / 1.021 GB, free: 1.148 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004483/0.2385, allocations: 2.021 MB / 1.023 GB, free: 15.06 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004258/0.2428, allocations: 1.705 MB / 1.024 GB, free: 13.35 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004198/0.247, allocations: 1.763 MB / 1.026 GB, free: 11.58 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.000964/0.248, allocations: 164 kB / 1.026 GB, free: 11.42 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002453/0.2505, allocations: 475.4 kB / 1.027 GB, free: 10.96 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.001735/0.2523, allocations: 0.8527 MB / 1.027 GB, free: 10.1 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.001664/0.2539, allocations: 0.6873 MB / 1.028 GB, free: 9.406 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.006606/0.2606, allocations: 3.802 MB / 1.032 GB, free: 5.594 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 3.389e-06/0.2606, allocations: 4 kB / 1.032 GB, free: 5.59 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.611e-06/0.2606, allocations: 0 / 1.032 GB, free: 5.59 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 8.629e-05/0.2607, allocations: 0 / 1.032 GB, free: 5.59 MB / 0.6511 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.009978/0.2707, allocations: 3.865 MB / 1.036 GB, free: 1.613 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.398e-05/0.2708, allocations: 12.02 kB / 1.036 GB, free: 1.602 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02087/0.2917, allocations: 3.397 MB / 1.039 GB, free: 14.2 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005413/0.2971, allocations: 1.956 MB / 1.041 GB, free: 12.17 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002441/0.2974, allocations: 184.7 kB / 1.041 GB, free: 11.99 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008376/0.2983, allocations: 232 kB / 1.041 GB, free: 11.76 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01451/0.3128, allocations: 4.705 MB / 1.046 GB, free: 6.914 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.556e-05/0.3129, allocations: 0 / 1.046 GB, free: 6.914 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004412/0.3133, allocations: 112 kB / 1.046 GB, free: 6.805 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000282/0.3136, allocations: 176.8 kB / 1.046 GB, free: 6.629 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01811/0.3318, allocations: 5.222 MB / 1.051 GB, free: 1.391 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02889/0.3607, allocations: 14.11 MB / 1.065 GB, free: 2.113 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.5762/0.9369, allocations: 3.845 MB / 1.069 GB, free: 81.39 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001931/0.9372, allocations: 27.3 kB / 1.069 GB, free: 81.39 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0057/0.9429, allocations: 1.811 MB / 1.071 GB, free: 81.2 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=163): time 6.248e-06/0.9429, allocations: 0 / 1.071 GB, free: 81.2 MB / 0.6823 GB Notification: Performance of matching and sorting (n=250): time 0.1621/1.105, allocations: 33.39 MB / 1.103 GB, free: 74 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002556/1.105, allocations: 0.491 MB / 1.104 GB, free: 73.43 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008888/1.114, allocations: 2.274 MB / 1.106 GB, free: 72.22 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.000871/1.115, allocations: 77.52 kB / 1.106 GB, free: 72.16 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.002447/1.118, allocations: 1.43 MB / 1.107 GB, free: 70.9 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.001843/1.12, allocations: 0.8277 MB / 1.108 GB, free: 70.18 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005541/1.12, allocations: 47.69 kB / 1.108 GB, free: 70.14 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0002866/1.12, allocations: 405.1 kB / 1.109 GB, free: 69.77 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02933/1.15, allocations: 1.92 MB / 1.11 GB, free: 68.87 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0153/1.165, allocations: 2.209 MB / 1.113 GB, free: 67.68 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01104/1.176, allocations: 2.129 MB / 1.115 GB, free: 66.54 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.29e-05/1.176, allocations: 3.688 kB / 1.115 GB, free: 66.54 MB / 0.6823 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.01872/1.195, allocations: 6.16 MB / 1.121 GB, free: 60.57 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005126/1.196, allocations: 2.443 MB / 1.123 GB, free: 57.86 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.856e-05/1.196, allocations: 11.98 kB / 1.123 GB, free: 57.85 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008107/1.204, allocations: 1.847 MB / 1.125 GB, free: 56 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003537/1.207, allocations: 0.5851 MB / 1.126 GB, free: 55.41 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02748/1.235, allocations: 14.82 MB / 1.14 GB, free: 40.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004215/1.239, allocations: 403.6 kB / 1.14 GB, free: 40 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005039/1.24, allocations: 91.97 kB / 1.14 GB, free: 39.91 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.339e-05/1.24, allocations: 4.094 kB / 1.14 GB, free: 39.91 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01771/1.257, allocations: 5.761 MB / 1.146 GB, free: 34.07 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.317e-05/1.258, allocations: 4 kB / 1.146 GB, free: 34.07 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00644/1.264, allocations: 1.823 MB / 1.148 GB, free: 32.24 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003548/1.268, allocations: 0.6046 MB / 1.148 GB, free: 31.63 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0352/1.303, allocations: 14.06 MB / 1.162 GB, free: 17.31 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008274/1.311, allocations: 399.6 kB / 1.163 GB, free: 16.92 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008932/1.312, allocations: 91.97 kB / 1.163 GB, free: 16.83 MB / 0.6823 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.003796/1.316, allocations: 0.7762 MB / 1.163 GB, free: 16.04 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001407/1.317, allocations: 334.4 kB / 1.164 GB, free: 15.71 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001444/1.319, allocations: 396.1 kB / 1.164 GB, free: 15.32 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.65e-05/1.319, allocations: 24 kB / 1.164 GB, free: 15.3 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.315e-05/1.319, allocations: 11.94 kB / 1.164 GB, free: 15.29 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.631e-05/1.319, allocations: 15.95 kB / 1.164 GB, free: 15.27 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01036/1.329, allocations: 3.174 MB / 1.167 GB, free: 12.11 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.477e-05/1.33, allocations: 0 / 1.167 GB, free: 12.11 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006082/1.336, allocations: 0.5111 MB / 1.168 GB, free: 11.59 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01462/1.35, allocations: 1.715 MB / 1.169 GB, free: 9.871 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007692/1.351, allocations: 55.92 kB / 1.17 GB, free: 9.816 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04462/1.396, allocations: 14.61 MB / 1.184 GB, free: 10.95 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.865e-06/1.396, allocations: 3.984 kB / 1.184 GB, free: 10.95 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0201/1.416, allocations: 5.773 MB / 1.189 GB, free: 5.141 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002186/1.418, allocations: 0.6648 MB / 1.19 GB, free: 4.453 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007991/1.419, allocations: 44 kB / 1.19 GB, free: 4.41 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003907/1.423, allocations: 407.5 kB / 1.19 GB, free: 4.012 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001136/1.424, allocations: 306.6 kB / 1.191 GB, free: 3.715 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003049/1.424, allocations: 71.91 kB / 1.191 GB, free: 3.645 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.003183/1.428, allocations: 1.513 MB / 1.192 GB, free: 2.133 MB / 0.698 GB Notification: Performance of sort global known variables: time 9.11e-07/1.428, allocations: 0 / 1.192 GB, free: 2.133 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.005939/1.434, allocations: 1.625 MB / 1.194 GB, free: 0.5078 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,varLoad1.T_start,varLoad1.count,varLoad2.T_start,varLoad2.count,varLoad3.T_start,varLoad3.count,varLoad4.T_start,varLoad4.count,varLoad5.T_start,varLoad5.count) * Number of discrete states: 5 (varLoad1.count,varLoad2.count,varLoad3.count,varLoad4.count,varLoad5.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (128): * Single equations (assignments): 116 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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,60.0%) 52} * Non-linear torn systems: 1 {10 52} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006104/1.434, allocations: 167 kB / 1.194 GB, free: 340 kB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.03111/1.465, allocations: 10.06 MB / 1.204 GB, free: 6.086 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 9.847e-06/1.465, allocations: 0.75 kB / 1.204 GB, free: 6.086 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.01142/1.477, allocations: 3.495 MB / 1.207 GB, free: 2.559 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00572/1.483, allocations: 1.009 MB / 1.208 GB, free: 1.574 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0194/1.502, allocations: 7.577 MB / 1.216 GB, free: 9.996 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003229/1.505, allocations: 2.375 MB / 1.218 GB, free: 7.582 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.004367/1.51, allocations: 0.6348 MB / 1.219 GB, free: 6.941 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001032/1.511, allocations: 183.4 kB / 1.219 GB, free: 6.766 MB / 0.7292 GB Notification: Performance of SimCode: time 1.601e-06/1.511, allocations: 0 / 1.219 GB, free: 6.766 MB / 0.7292 GB Notification: Performance of Templates: time 0.1774/1.688, allocations: 74.04 MB / 1.291 GB, free: 13.42 MB / 0.8073 GB