Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.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.DCLinesLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.941/4.941, allocations: 0.5623 GB / 0.5776 GB, free: 3.371 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.002452/0.002452, allocations: 359.2 kB / 0.6447 GB, free: 185.7 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.387/4.387, allocations: 410.7 MB / 1.113 GB, free: 6 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.00184/0.00184, allocations: 184.8 kB / 1.226 GB, free: 6.199 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0006558/0.000656, allocations: 12 kB / 1.349 GB, free: 8.336 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.74/0.7407, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.0283/0.769, allocations: 20.25 MB / 1.481 GB, free: 264.1 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.03056/0.7996, allocations: 16.47 MB / 1.497 GB, free: 247.7 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003615/0.8033, allocations: 101 kB / 1.497 GB, free: 247.6 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.002751/0.8061, allocations: 0.5154 MB / 1.498 GB, free: 247.1 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.01165/0.8178, allocations: 2.822 MB / 1.501 GB, free: 244.3 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.004494/0.8224, allocations: 0.9534 MB / 1.501 GB, free: 243.3 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.009335/0.8317, allocations: 5.929 MB / 1.507 GB, free: 237.4 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004546/0.8363, allocations: 2.074 MB / 1.509 GB, free: 235.4 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004877/0.8412, allocations: 1.914 MB / 1.511 GB, free: 233.5 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005502/0.8468, allocations: 2.22 MB / 1.513 GB, free: 231.3 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.001346/0.8482, allocations: 180.6 kB / 1.514 GB, free: 231.1 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002877/0.8511, allocations: 0.4954 MB / 1.514 GB, free: 230.6 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.001906/0.853, allocations: 0.9506 MB / 1.515 GB, free: 229.7 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.001608/0.8547, allocations: 0.6989 MB / 1.516 GB, free: 228.9 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.006269/0.861, allocations: 3.928 MB / 1.519 GB, free: 225 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 7.654e-06/0.8611, allocations: 0 / 1.519 GB, free: 225 MB / 0.8542 GB Notification: Performance of FrontEnd: time 3.367e-06/0.8611, allocations: 0 / 1.519 GB, free: 225 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.000183/0.8613, allocations: 4 kB / 1.519 GB, free: 225 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.01409/0.8754, allocations: 4.105 MB / 1.523 GB, free: 220.8 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.331e-05/0.8754, allocations: 15.56 kB / 1.523 GB, free: 220.8 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02816/0.9036, allocations: 3.405 MB / 1.527 GB, free: 217.4 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005778/0.9094, allocations: 1.983 MB / 1.529 GB, free: 215.4 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005176/0.91, allocations: 466.7 kB / 1.529 GB, free: 214.9 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001124/0.9112, allocations: 236 kB / 1.529 GB, free: 214.6 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01867/0.9298, allocations: 4.849 MB / 1.534 GB, free: 209.7 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.374e-05/0.93, allocations: 4 kB / 1.534 GB, free: 209.6 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005525/0.9306, allocations: 107.9 kB / 1.534 GB, free: 209.5 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000298/0.9309, allocations: 176.7 kB / 1.534 GB, free: 209.4 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0244/0.9553, allocations: 5.3 MB / 1.54 GB, free: 204.1 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0329/0.9882, allocations: 14.58 MB / 1.554 GB, free: 188.3 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02074/1.009, allocations: 3.673 MB / 1.557 GB, free: 184.7 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01007/1.019, allocations: 1.588 MB / 1.559 GB, free: 183.1 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007977/1.027, allocations: 29.91 kB / 1.559 GB, free: 183 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01539/1.043, allocations: 1.913 MB / 1.561 GB, free: 181.1 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=163): time 8.225e-06/1.043, allocations: 0 / 1.561 GB, free: 181.1 MB / 0.8542 GB Notification: Performance of matching and sorting (n=250): time 0.2866/1.329, allocations: 34.1 MB / 1.594 GB, free: 146.7 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001878/1.33, allocations: 0.4889 MB / 1.595 GB, free: 146.1 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007467/1.337, allocations: 2.273 MB / 1.597 GB, free: 143.9 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0009341/1.338, allocations: 73.7 kB / 1.597 GB, free: 143.8 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.002241/1.34, allocations: 1.434 MB / 1.598 GB, free: 142.3 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.001872/1.342, allocations: 0.8163 MB / 1.599 GB, free: 141.5 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001726/1.344, allocations: 52 kB / 1.599 GB, free: 141.5 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0004538/1.345, allocations: 394.7 kB / 1.6 GB, free: 141.1 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01059/1.355, allocations: 2.108 MB / 1.602 GB, free: 138.9 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01039/1.366, allocations: 2.414 MB / 1.604 GB, free: 136.5 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01024/1.376, allocations: 2.288 MB / 1.606 GB, free: 134.1 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.398e-05/1.376, allocations: 7.984 kB / 1.606 GB, free: 134.1 MB / 0.8542 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.03547/1.412, allocations: 6.883 MB / 1.613 GB, free: 127.1 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006968/1.412, allocations: 148.5 kB / 1.613 GB, free: 127 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000372/1.413, allocations: 4.344 kB / 1.613 GB, free: 127 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03029/1.443, allocations: 2.944 MB / 1.616 GB, free: 124 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00713/1.451, allocations: 0.5696 MB / 1.617 GB, free: 123.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06407/1.515, allocations: 17.32 MB / 1.633 GB, free: 105.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007269/1.522, allocations: 419.5 kB / 1.634 GB, free: 105.5 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006764/1.523, allocations: 91.97 kB / 1.634 GB, free: 105.4 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 (162): * Single equations (assignments): 155 * 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 {9 63} Notification: Performance of prepare postOptimizeDAE: time 0.002286/1.525, allocations: 0.7089 MB / 1.635 GB, free: 104.7 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009532/1.526, allocations: 328.2 kB / 1.635 GB, free: 104.4 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008991/1.527, allocations: 380.1 kB / 1.635 GB, free: 104 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.617e-05/1.527, allocations: 11.95 kB / 1.635 GB, free: 104 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.257e-06/1.527, allocations: 3.938 kB / 1.635 GB, free: 104 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002029/1.529, allocations: 0.7077 MB / 1.636 GB, free: 103.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001036/1.53, allocations: 44 kB / 1.636 GB, free: 103.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006654/1.537, allocations: 415.5 kB / 1.636 GB, free: 102.8 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001743/1.538, allocations: 425.2 kB / 1.637 GB, free: 102.4 MB / 0.8542 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0349/1.573, allocations: 6.686 MB / 1.643 GB, free: 95.68 MB / 0.8542 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0328/1.606, allocations: 7.06 MB / 1.65 GB, free: 88.6 MB / 0.8542 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.01553/1.622, allocations: 2.314 MB / 1.653 GB, free: 86.29 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.004365/1.626, allocations: 1.513 MB / 1.654 GB, free: 84.77 MB / 0.8542 GB Notification: Performance of Backend: time 1.483e-06/1.626, allocations: 0 / 1.654 GB, free: 84.77 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.04775/1.674, allocations: 5.057 MB / 1.659 GB, free: 79.62 MB / 0.8542 GB Notification: Performance of SimCode: time 0.01995/1.694, allocations: 8.444 MB / 1.667 GB, free: 71.14 MB / 0.8542 GB Notification: Performance of Templates: time 0.8503/2.544, allocations: 73.59 MB / 1.739 GB, free: 259.3 MB / 0.8542 GB