Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_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 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Electrical.DC.Lines.Examples.DCLines,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.DC.Lines.Examples.DCLines") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.333/2.333, allocations: 251.1 MB / 266.1 MB, free: 11.64 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001605/0.001605, allocations: 189.4 kB / 325.6 MB, free: 2.828 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.528/2.528, allocations: 205.4 MB / 0.5766 GB, free: 21.15 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001538/0.001538, allocations: 89.59 kB / 0.6811 GB, free: 14.02 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006887/0.000689, allocations: 10 kB / 0.7951 GB, free: 135.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.242/0.2427, allocations: 106.3 MB / 0.8989 GB, free: 65.97 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLines): time 0.02703/0.2698, allocations: 19.15 MB / 0.9176 GB, free: 46.76 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.02999/0.2998, allocations: 16.07 MB / 0.9333 GB, free: 30.65 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003391/0.3033, allocations: 91.44 kB / 0.9334 GB, free: 30.56 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.002858/0.3062, allocations: 0.5509 MB / 0.9339 GB, free: 30 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.01331/0.3195, allocations: 2.827 MB / 0.9367 GB, free: 27.18 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.004441/0.324, allocations: 0.9416 MB / 0.9376 GB, free: 26.24 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.00791/0.3319, allocations: 3.331 MB / 0.9408 GB, free: 22.91 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004231/0.3362, allocations: 2.028 MB / 0.9428 GB, free: 20.81 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00428/0.3406, allocations: 1.709 MB / 0.9445 GB, free: 19.1 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004331/0.3449, allocations: 1.751 MB / 0.9462 GB, free: 17.34 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.001308/0.3463, allocations: 164 kB / 0.9463 GB, free: 17.18 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002858/0.3492, allocations: 483.4 kB / 0.9468 GB, free: 16.71 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.001788/0.351, allocations: 0.8488 MB / 0.9476 GB, free: 15.86 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.001541/0.3526, allocations: 0.6912 MB / 0.9483 GB, free: 15.16 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.006234/0.3589, allocations: 3.791 MB / 0.952 GB, free: 11.36 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.75e-06/0.3589, allocations: 0 / 0.952 GB, free: 11.36 MB / 0.6042 GB Notification: Performance of FrontEnd: time 3.056e-06/0.359, allocations: 0 / 0.952 GB, free: 11.36 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0002176/0.3592, allocations: 0 / 0.952 GB, free: 11.36 MB / 0.6042 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.01215/0.3714, allocations: 3.881 MB / 0.9558 GB, free: 7.363 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.394e-05/0.3714, allocations: 8.031 kB / 0.9558 GB, free: 7.355 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02715/0.3986, allocations: 3.397 MB / 0.9591 GB, free: 3.949 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006583/0.4052, allocations: 1.952 MB / 0.961 GB, free: 1.93 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002082/0.4055, allocations: 180.7 kB / 0.9612 GB, free: 1.75 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001173/0.4067, allocations: 228 kB / 0.9614 GB, free: 1.527 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01897/0.4257, allocations: 4.705 MB / 0.966 GB, free: 12.68 MB / 0.6199 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.868e-05/0.4258, allocations: 4 kB / 0.966 GB, free: 12.68 MB / 0.6199 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006141/0.4264, allocations: 103.9 kB / 0.9661 GB, free: 12.57 MB / 0.6199 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003558/0.4268, allocations: 176.8 kB / 0.9663 GB, free: 12.4 MB / 0.6199 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02557/0.4524, allocations: 5.222 MB / 0.9714 GB, free: 7.156 MB / 0.6199 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03626/0.4887, allocations: 14.11 MB / 0.9852 GB, free: 7.867 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02159/0.5103, allocations: 3.846 MB / 0.9889 GB, free: 4.016 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002662/0.5106, allocations: 25.28 kB / 0.989 GB, free: 3.992 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00775/0.5184, allocations: 1.817 MB / 0.9907 GB, free: 2.109 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=163): time 5.7e-06/0.5184, allocations: 3.938 kB / 0.9907 GB, free: 2.105 MB / 0.6355 GB Notification: Performance of matching and sorting (n=250): time 0.2489/0.7674, allocations: 33.4 MB / 1.023 GB, free: 500 kB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003388/0.7678, allocations: 0.4967 MB / 1.024 GB, free: 15.88 MB / 0.6824 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005061/0.7728, allocations: 2.269 MB / 1.026 GB, free: 13.6 MB / 0.6824 GB Notification: Performance of collectPreVariables (initialization): time 0.0006504/0.7736, allocations: 77.69 kB / 1.026 GB, free: 13.52 MB / 0.6824 GB Notification: Performance of collectInitialEqns (initialization): time 0.001842/0.7754, allocations: 1.434 MB / 1.028 GB, free: 12.07 MB / 0.6824 GB Notification: Performance of collectInitialBindings (initialization): time 0.001424/0.7769, allocations: 0.8124 MB / 1.028 GB, free: 11.24 MB / 0.6824 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003389/0.7772, allocations: 48 kB / 1.028 GB, free: 11.2 MB / 0.6824 GB Notification: Performance of setup shared object (initialization): time 0.0002482/0.7775, allocations: 394.7 kB / 1.029 GB, free: 10.8 MB / 0.6824 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009456/0.787, allocations: 1.921 MB / 1.031 GB, free: 8.879 MB / 0.6824 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01007/0.7971, allocations: 2.213 MB / 1.033 GB, free: 6.582 MB / 0.6824 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009788/0.8069, allocations: 2.128 MB / 1.035 GB, free: 4.402 MB / 0.6824 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.691e-05/0.807, allocations: 4 kB / 1.035 GB, free: 4.398 MB / 0.6824 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.03971/0.8467, allocations: 6.165 MB / 1.041 GB, free: 14.14 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.001515/0.8483, allocations: 2.451 MB / 1.043 GB, free: 11.42 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.798e-05/0.8484, allocations: 4 kB / 1.043 GB, free: 11.41 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0179/0.8663, allocations: 1.856 MB / 1.045 GB, free: 9.551 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00825/0.8746, allocations: 0.5891 MB / 1.046 GB, free: 8.961 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.6585/1.533, allocations: 14.81 MB / 1.06 GB, free: 138.4 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008086/1.541, allocations: 404.2 kB / 1.061 GB, free: 138.4 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006051/1.542, allocations: 88.28 kB / 1.061 GB, free: 138.4 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/1.542, allocations: 5.812 kB / 1.061 GB, free: 138.4 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02851/1.57, allocations: 5.752 MB / 1.066 GB, free: 138.1 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.141e-05/1.571, allocations: 10.69 kB / 1.066 GB, free: 138.1 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01031/1.581, allocations: 1.82 MB / 1.068 GB, free: 138 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005912/1.587, allocations: 0.6079 MB / 1.069 GB, free: 138 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03569/1.623, allocations: 14.05 MB / 1.082 GB, free: 131.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006422/1.629, allocations: 402.5 kB / 1.083 GB, free: 131.3 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006378/1.63, allocations: 95.81 kB / 1.083 GB, free: 131.3 MB / 0.698 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.002333/1.632, allocations: 0.7847 MB / 1.084 GB, free: 130.8 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008919/1.633, allocations: 331.6 kB / 1.084 GB, free: 130.7 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009611/1.634, allocations: 395 kB / 1.084 GB, free: 130.4 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.276e-05/1.634, allocations: 23.47 kB / 1.084 GB, free: 130.4 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.329e-05/1.634, allocations: 11.78 kB / 1.084 GB, free: 130.4 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.549e-05/1.634, allocations: 11.2 kB / 1.084 GB, free: 130.4 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006072/1.64, allocations: 3.165 MB / 1.087 GB, free: 129.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-05/1.64, allocations: 0 / 1.087 GB, free: 129.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004869/1.645, allocations: 0.5133 MB / 1.088 GB, free: 129.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01332/1.659, allocations: 1.716 MB / 1.09 GB, free: 128.8 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006721/1.659, allocations: 49.5 kB / 1.09 GB, free: 128.8 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07961/1.739, allocations: 14.61 MB / 1.104 GB, free: 118.9 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/1.739, allocations: 0 / 1.104 GB, free: 118.9 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02539/1.764, allocations: 5.785 MB / 1.11 GB, free: 113 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002396/1.767, allocations: 0.6649 MB / 1.11 GB, free: 112.4 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009876/1.768, allocations: 51.94 kB / 1.11 GB, free: 112.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005883/1.774, allocations: 395.6 kB / 1.111 GB, free: 111.9 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001477/1.775, allocations: 306.6 kB / 1.111 GB, free: 111.6 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003409/1.776, allocations: 67.97 kB / 1.111 GB, free: 111.5 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.002887/1.779, allocations: 1.513 MB / 1.112 GB, free: 110 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.435e-06/1.779, allocations: 0 / 1.112 GB, free: 110 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.006563/1.785, allocations: 1.627 MB / 1.114 GB, free: 108.4 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.0006981/1.786, allocations: 167.5 kB / 1.114 GB, free: 108.2 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.04003/1.826, allocations: 10.08 MB / 1.124 GB, free: 97.98 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.141e-05/1.826, allocations: 4.75 kB / 1.124 GB, free: 97.98 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.01442/1.84, allocations: 3.49 MB / 1.127 GB, free: 94.46 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006989/1.847, allocations: 1.006 MB / 1.128 GB, free: 93.5 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02228/1.87, allocations: 7.573 MB / 1.136 GB, free: 85.94 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002766/1.873, allocations: 2.379 MB / 1.138 GB, free: 83.52 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.004915/1.878, allocations: 0.6316 MB / 1.139 GB, free: 82.89 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001364/1.879, allocations: 183.4 kB / 1.139 GB, free: 82.71 MB / 0.698 GB Notification: Performance of SimCode: time 2.044e-06/1.879, allocations: 0 / 1.139 GB, free: 82.71 MB / 0.698 GB Notification: Performance of Templates: time 0.2321/2.111, allocations: 74.04 MB / 1.211 GB, free: 9.371 MB / 0.698 GB