Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.FixedResistances.Examples.Pipe.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.Fluid.FixedResistances.Examples.Pipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.FixedResistances.Examples.Pipe") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.369/2.369, allocations: 251.1 MB / 266.1 MB, free: 11.61 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.001494/0.001494, allocations: 167.1 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.54/2.54, allocations: 205.4 MB / 0.5766 GB, free: 20.79 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.001171/0.001171, allocations: 100 kB / 0.6811 GB, free: 13.58 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006678/0.0006679, allocations: 14.03 kB / 0.7951 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2173/0.218, allocations: 106.3 MB / 0.8989 GB, free: 65.47 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.Pipe): time 0.05151/0.2696, allocations: 38.49 MB / 0.9365 GB, free: 26.87 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.02159/0.2912, allocations: 9.821 MB / 0.9461 GB, free: 17.04 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002343/0.2936, allocations: 47.69 kB / 0.9461 GB, free: 16.99 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.003365/0.297, allocations: 0.6218 MB / 0.9467 GB, free: 16.37 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.009909/0.307, allocations: 1.954 MB / 0.9486 GB, free: 14.41 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.008197/0.3152, allocations: 1.458 MB / 0.95 GB, free: 12.97 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.02451/0.3397, allocations: 12 MB / 0.9618 GB, free: 0.9609 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01675/0.3565, allocations: 6.368 MB / 0.968 GB, free: 10.52 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01369/0.3703, allocations: 4.539 MB / 0.9724 GB, free: 5.965 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01015/0.3805, allocations: 3.671 MB / 0.976 GB, free: 2.277 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.002396/0.3829, allocations: 284 kB / 0.9763 GB, free: 2 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007869/0.3909, allocations: 0.9872 MB / 0.9772 GB, free: 1.012 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.003807/0.3947, allocations: 1.265 MB / 0.9785 GB, free: 15.74 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.005011/0.3998, allocations: 1.564 MB / 0.98 GB, free: 14.17 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.01793/0.4178, allocations: 9.948 MB / 0.9897 GB, free: 4.195 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.4178, allocations: 0 / 0.9897 GB, free: 4.195 MB / 0.6355 GB Notification: Performance of FrontEnd: time 3.186e-06/0.4179, allocations: 4 kB / 0.9897 GB, free: 4.191 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0004253/0.4183, allocations: 0 / 0.9897 GB, free: 4.191 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1302 * Number of variables: 1302 Notification: Performance of Generate backend data structure: time 0.02305/0.4414, allocations: 6.612 MB / 0.9962 GB, free: 13.5 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.951e-05/0.4414, allocations: 8.031 kB / 0.9962 GB, free: 13.49 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005543/0.447, allocations: 0.8424 MB / 0.997 GB, free: 12.64 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02328/0.4703, allocations: 6.776 MB / 1.004 GB, free: 5.781 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007058/0.4711, allocations: 419.8 kB / 1.004 GB, free: 5.363 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002257/0.4734, allocations: 0.5115 MB / 1.005 GB, free: 4.852 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03544/0.5088, allocations: 7.478 MB / 1.012 GB, free: 13.08 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004113/0.5093, allocations: 27.77 kB / 1.012 GB, free: 13.05 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002227/0.5116, allocations: 224 kB / 1.012 GB, free: 12.84 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004553/0.5121, allocations: 163.9 kB / 1.012 GB, free: 12.68 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02452/0.5366, allocations: 6.04 MB / 1.018 GB, free: 6.621 MB / 0.6667 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06804/0.6047, allocations: 29.48 MB / 1.047 GB, free: 7.871 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01122/0.616, allocations: 3.61 MB / 1.05 GB, free: 4.273 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00185/0.6179, allocations: 1.002 MB / 1.051 GB, free: 3.07 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001253/0.6181, allocations: 68.34 kB / 1.051 GB, free: 2.996 MB / 0.698 GB Notification: Performance of pre-optimization done (n=253): time 6.221e-06/0.6181, allocations: 0 / 1.051 GB, free: 2.996 MB / 0.698 GB Notification: Performance of matching and sorting (n=253): time 0.6288/1.247, allocations: 4.654 MB / 1.056 GB, free: 137 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.661e-05/1.247, allocations: 79.34 kB / 1.056 GB, free: 136.9 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02457/1.272, allocations: 6.566 MB / 1.063 GB, free: 136.6 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.001005/1.273, allocations: 79.89 kB / 1.063 GB, free: 136.6 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.006773/1.28, allocations: 2.944 MB / 1.065 GB, free: 136.2 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.002562/1.282, allocations: 0.9012 MB / 1.066 GB, free: 135.7 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005675/1.283, allocations: 69.44 kB / 1.066 GB, free: 135.7 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0005445/1.283, allocations: 448.6 kB / 1.067 GB, free: 135.4 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007601/1.291, allocations: 1.621 MB / 1.068 GB, free: 135.3 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009364/1.3, allocations: 2.652 MB / 1.071 GB, free: 133.7 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009102/1.31, allocations: 2.199 MB / 1.073 GB, free: 132.9 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-05/1.31, allocations: 7.938 kB / 1.073 GB, free: 132.9 MB / 0.698 GB Notification: Performance of matching and sorting (n=436) (initialization): time 0.022/1.332, allocations: 4.925 MB / 1.078 GB, free: 131.1 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.003757/1.336, allocations: 15.02 MB / 1.093 GB, free: 115.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002036/1.336, allocations: 31.56 kB / 1.093 GB, free: 115.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000148/1.336, allocations: 59.22 kB / 1.093 GB, free: 115.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01049/1.346, allocations: 0.8869 MB / 1.094 GB, free: 115.1 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001109/1.348, allocations: 1.247 MB / 1.095 GB, free: 113.9 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0128/1.36, allocations: 0.6597 MB / 1.095 GB, free: 113.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009781/1.361, allocations: 153.9 kB / 1.096 GB, free: 113.5 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.783e-05/1.362, allocations: 5.172 kB / 1.096 GB, free: 113.5 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01895/1.38, allocations: 4.421 MB / 1.1 GB, free: 111.9 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.463e-05/1.381, allocations: 33.47 kB / 1.1 GB, free: 111.9 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.953e-05/1.381, allocations: 52.47 kB / 1.1 GB, free: 111.9 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009174/1.39, allocations: 0.8518 MB / 1.101 GB, free: 111.8 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001469/1.39, allocations: 75.02 kB / 1.101 GB, free: 111.8 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008774/1.399, allocations: 0.5924 MB / 1.101 GB, free: 111.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000792/1.4, allocations: 160 kB / 1.102 GB, free: 111.4 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 142 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (436): * Single equations (assignments): 434 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005844/1.406, allocations: 2.489 MB / 1.104 GB, free: 110.2 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002081/1.408, allocations: 0.5422 MB / 1.105 GB, free: 109.9 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0102/1.418, allocations: 3.894 MB / 1.108 GB, free: 107.7 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.069e-05/1.418, allocations: 26.58 kB / 1.108 GB, free: 107.7 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.249e-05/1.418, allocations: 7.547 kB / 1.108 GB, free: 107.7 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007075/1.425, allocations: 2.977 MB / 1.111 GB, free: 105.4 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02733/1.453, allocations: 9.802 MB / 1.121 GB, free: 95.54 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.502e-05/1.453, allocations: 0 / 1.121 GB, free: 95.54 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00488/1.458, allocations: 0.555 MB / 1.121 GB, free: 94.98 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.881e-05/1.458, allocations: 15.98 kB / 1.121 GB, free: 94.97 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004818/1.458, allocations: 71.95 kB / 1.122 GB, free: 94.9 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005568/1.459, allocations: 1.184 MB / 1.123 GB, free: 93.67 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.14e-06/1.459, allocations: 9.156 kB / 1.123 GB, free: 93.66 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01399/1.473, allocations: 5.722 MB / 1.128 GB, free: 87.82 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005383/1.478, allocations: 1.4 MB / 1.13 GB, free: 86.39 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002108/1.48, allocations: 55.98 kB / 1.13 GB, free: 86.34 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008124/1.488, allocations: 396.2 kB / 1.13 GB, free: 85.95 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000721/1.489, allocations: 153.8 kB / 1.13 GB, free: 85.8 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000469/1.49, allocations: 123.9 kB / 1.13 GB, free: 85.68 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.01129/1.501, allocations: 4.683 MB / 1.135 GB, free: 81.03 MB / 0.698 GB Notification: Performance of sort global known variables: time 5.11e-07/1.501, allocations: 0 / 1.135 GB, free: 81.03 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.01595/1.517, allocations: 3.263 MB / 1.138 GB, free: 77.78 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 22 (pip.vol[1].dynBal.U,pip.vol[2].dynBal.U,pip.vol[3].dynBal.U,pip.vol[4].dynBal.U,pip.vol[5].dynBal.U,pip.vol[6].dynBal.U,pip.vol[7].dynBal.U,pip.vol[8].dynBal.U,pip.vol[9].dynBal.U,pip.vol[10].dynBal.U,pip1.vol[1].dynBal.U,pip1.vol[2].dynBal.U,pip1.vol[3].dynBal.U,pip1.vol[4].dynBal.U,pip1.vol[5].dynBal.U,pip1.vol[6].dynBal.U,pip1.vol[7].dynBal.U,pip1.vol[8].dynBal.U,pip1.vol[9].dynBal.U,pip1.vol[10].dynBal.U,senTem.T,senTem1.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (259): * Single equations (assignments): 251 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001854/1.519, allocations: 485.3 kB / 1.139 GB, free: 77.36 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0196/1.539, allocations: 5.988 MB / 1.144 GB, free: 71.34 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.668e-05/1.539, allocations: 4 kB / 1.144 GB, free: 71.34 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.00609/1.545, allocations: 1.582 MB / 1.146 GB, free: 69.75 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0387/1.583, allocations: 3.885 MB / 1.15 GB, free: 65.95 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03951/1.623, allocations: 15.66 MB / 1.165 GB, free: 50.25 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006939/1.63, allocations: 4.635 MB / 1.17 GB, free: 45.59 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.01415/1.644, allocations: 2.865 MB / 1.172 GB, free: 42.71 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002741/1.647, allocations: 473.4 kB / 1.173 GB, free: 42.25 MB / 0.698 GB Notification: Performance of SimCode: time 1.223e-06/1.647, allocations: 4 kB / 1.173 GB, free: 42.25 MB / 0.698 GB Notification: Performance of Templates: time 0.3436/1.991, allocations: 126.5 MB / 1.296 GB, free: 12.38 MB / 0.7917 GB