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.639/4.639, allocations: 0.5623 GB / 0.5769 GB, free: 3.328 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.002347/0.002347, allocations: 363.9 kB / 0.6441 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.935/3.935, allocations: 410.7 MB / 1.112 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.001781/0.001781, allocations: 187.3 kB / 1.225 GB, free: 6.09 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.000518/0.0005183, allocations: 16 kB / 1.348 GB, free: 8.227 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5734/0.5739, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.02153/0.5955, allocations: 20.26 MB / 1.481 GB, free: 264 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.02364/0.6192, allocations: 16.46 MB / 1.497 GB, free: 247.6 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003106/0.6223, allocations: 99.44 kB / 1.497 GB, free: 247.5 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.001543/0.6239, allocations: 0.5154 MB / 1.497 GB, free: 247 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.009015/0.6329, allocations: 2.832 MB / 1.5 GB, free: 244.2 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.003262/0.6362, allocations: 0.9483 MB / 1.501 GB, free: 243.3 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.006878/0.6431, allocations: 5.932 MB / 1.507 GB, free: 237.3 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003104/0.6462, allocations: 2.068 MB / 1.509 GB, free: 235.4 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003039/0.6493, allocations: 1.914 MB / 1.511 GB, free: 233.4 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003518/0.6529, allocations: 2.215 MB / 1.513 GB, free: 231.2 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.0006608/0.6536, allocations: 179.9 kB / 1.513 GB, free: 231.1 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001723/0.6553, allocations: 0.4924 MB / 1.513 GB, free: 230.6 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0008294/0.6561, allocations: 0.9575 MB / 1.514 GB, free: 229.6 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0009471/0.6571, allocations: 0.695 MB / 1.515 GB, free: 228.9 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.003874/0.661, allocations: 3.932 MB / 1.519 GB, free: 225 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 5.307e-06/0.661, allocations: 0 / 1.519 GB, free: 225 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.04e-06/0.661, allocations: 1.5 kB / 1.519 GB, free: 225 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 4.175e-05/0.6611, allocations: 0 / 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.008871/0.67, allocations: 4.1 MB / 1.523 GB, free: 220.8 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.86e-05/0.67, allocations: 15.62 kB / 1.523 GB, free: 220.8 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01989/0.6899, allocations: 3.413 MB / 1.526 GB, free: 217.4 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004419/0.6944, allocations: 1.98 MB / 1.528 GB, free: 215.4 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003305/0.6948, allocations: 469.7 kB / 1.529 GB, free: 214.9 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005787/0.6954, allocations: 232 kB / 1.529 GB, free: 214.6 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01182/0.7072, allocations: 4.861 MB / 1.534 GB, free: 209.6 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.824e-05/0.7073, allocations: 0 / 1.534 GB, free: 209.6 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000398/0.7077, allocations: 107.9 kB / 1.534 GB, free: 209.5 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002038/0.7079, allocations: 176.8 kB / 1.534 GB, free: 209.3 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01533/0.7233, allocations: 5.3 MB / 1.539 GB, free: 204 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02175/0.745, allocations: 14.59 MB / 1.553 GB, free: 188.3 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0111/0.7562, allocations: 3.675 MB / 1.557 GB, free: 184.6 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004348/0.7606, allocations: 1.588 MB / 1.558 GB, free: 183 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001425/0.7607, allocations: 29.28 kB / 1.558 GB, free: 183 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00471/0.7655, allocations: 1.913 MB / 1.56 GB, free: 181 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=163): time 5.659e-06/0.7655, allocations: 0 / 1.56 GB, free: 181 MB / 0.8542 GB Notification: Performance of matching and sorting (n=250): time 0.1409/0.9064, allocations: 34.09 MB / 1.594 GB, free: 146.7 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001243/0.9066, allocations: 0.4889 MB / 1.594 GB, free: 146.1 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003346/0.91, allocations: 2.277 MB / 1.596 GB, free: 143.8 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0004019/0.9104, allocations: 73.7 kB / 1.596 GB, free: 143.8 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.001066/0.9115, allocations: 1.434 MB / 1.598 GB, free: 142.3 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007586/0.9122, allocations: 0.8163 MB / 1.599 GB, free: 141.5 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002553/0.9125, allocations: 52 kB / 1.599 GB, free: 141.4 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001282/0.9126, allocations: 398.7 kB / 1.599 GB, free: 141 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006147/0.9188, allocations: 2.105 MB / 1.601 GB, free: 138.9 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006468/0.9253, allocations: 2.411 MB / 1.603 GB, free: 136.4 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006264/0.9316, allocations: 2.288 MB / 1.606 GB, free: 134.1 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.913e-06/0.9316, allocations: 4 kB / 1.606 GB, free: 134.1 MB / 0.8542 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.02124/0.9529, allocations: 6.883 MB / 1.612 GB, free: 127.1 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 8.143e-05/0.953, allocations: 148.5 kB / 1.612 GB, free: 126.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.82e-05/0.953, allocations: 4.344 kB / 1.612 GB, free: 126.9 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01181/0.9649, allocations: 2.947 MB / 1.615 GB, free: 124 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003436/0.9683, allocations: 0.5657 MB / 1.616 GB, free: 123.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04253/1.011, allocations: 17.32 MB / 1.633 GB, free: 105.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004983/1.016, allocations: 419.5 kB / 1.633 GB, free: 105.5 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003594/1.016, allocations: 91.97 kB / 1.633 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.001773/1.018, allocations: 0.7039 MB / 1.634 GB, free: 104.7 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000624/1.019, allocations: 328.2 kB / 1.634 GB, free: 104.4 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006594/1.019, allocations: 380.1 kB / 1.635 GB, free: 104 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.122e-05/1.019, allocations: 28 kB / 1.635 GB, free: 104 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.379e-05/1.019, allocations: 19.89 kB / 1.635 GB, free: 103.9 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.431e-05/1.02, allocations: 11.95 kB / 1.635 GB, free: 103.9 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005009/1.025, allocations: 3.633 MB / 1.638 GB, free: 100.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.607e-05/1.025, allocations: 0 / 1.638 GB, free: 100.2 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002988/1.028, allocations: 0.5071 MB / 1.639 GB, free: 99.73 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01159/1.039, allocations: 2.859 MB / 1.642 GB, free: 96.86 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004272/1.04, allocations: 47.97 kB / 1.642 GB, free: 96.82 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04188/1.082, allocations: 17.11 MB / 1.658 GB, free: 79.43 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/1.082, allocations: 0 / 1.658 GB, free: 79.43 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02018/1.102, allocations: 6.521 MB / 1.665 GB, free: 72.87 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001977/1.104, allocations: 0.7 MB / 1.665 GB, free: 72.14 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000615/1.104, allocations: 44 kB / 1.665 GB, free: 72.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003607/1.108, allocations: 423.4 kB / 1.666 GB, free: 71.69 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001324/1.109, allocations: 362.6 kB / 1.666 GB, free: 71.34 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002858/1.11, allocations: 83.91 kB / 1.666 GB, free: 71.25 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.00242/1.112, allocations: 1.505 MB / 1.668 GB, free: 69.75 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7.93e-07/1.112, allocations: 0.5625 kB / 1.668 GB, free: 69.75 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.003232/1.115, allocations: 1.051 MB / 1.669 GB, free: 68.7 MB / 0.8542 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 (118): * Single equations (assignments): 106 * 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 62} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004199/1.116, allocations: 166 kB / 1.669 GB, free: 68.53 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.02581/1.142, allocations: 6.825 MB / 1.676 GB, free: 61.61 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 9.313e-06/1.142, allocations: 4 kB / 1.676 GB, free: 61.6 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.01974/1.161, allocations: 4.229 MB / 1.68 GB, free: 57.34 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005643/1.167, allocations: 1.041 MB / 1.681 GB, free: 56.31 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01611/1.183, allocations: 7.756 MB / 1.688 GB, free: 48.54 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002082/1.185, allocations: 2.293 MB / 1.691 GB, free: 46.21 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.003121/1.189, allocations: 0.5138 MB / 1.691 GB, free: 45.69 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008491/1.189, allocations: 175.4 kB / 1.691 GB, free: 45.52 MB / 0.8542 GB Notification: Performance of SimCode: time 1.65e-06/1.189, allocations: 0 / 1.691 GB, free: 45.52 MB / 0.8542 GB Notification: Performance of Templates: time 0.6486/1.838, allocations: 70.12 MB / 1.76 GB, free: 243.6 MB / 0.8542 GB