Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Fluid.Delays.Examples.Delay.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.Fluid.Delays.Examples.Delay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.Delays.Examples.Delay") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.691/2.691, allocations: 287.9 MB / 302.9 MB, free: 8.402 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.00144/0.001439, allocations: 182.7 kB / 371.4 MB, free: 10.68 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.011/2.011, allocations: 205.4 MB / 0.6301 GB, free: 10.31 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.001017/0.001016, allocations: 89.97 kB / 0.7434 GB, free: 6.328 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004738/0.000474, allocations: 16.36 kB / 0.8662 GB, free: 141.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1561/0.1565, allocations: 115.3 MB / 0.9788 GB, free: 28.18 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Delays.Examples.Delay): time 0.7409/0.8975, allocations: 152.5 MB / 1.128 GB, free: 0.8477 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.008499/0.906, allocations: 4.738 MB / 1.132 GB, free: 0.4922 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001106/0.9072, allocations: 22.56 kB / 1.132 GB, free: 492 kB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.001504/0.9087, allocations: 441.9 kB / 1.133 GB, free: 416 kB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.004972/0.9137, allocations: 1.358 MB / 1.134 GB, free: 340 kB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.003483/0.9172, allocations: 0.8719 MB / 1.135 GB, free: 300 kB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.002256/0.9195, allocations: 1.082 MB / 1.136 GB, free: 244 kB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007931/0.9203, allocations: 453.8 kB / 1.136 GB, free: 104 kB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001714/0.922, allocations: 0.6 MB / 1.137 GB, free: 0 / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006449/0.9227, allocations: 355.4 kB / 1.137 GB, free: 15.86 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 9.911e-05/0.9228, allocations: 25.78 kB / 1.137 GB, free: 15.86 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002246/0.9251, allocations: 0.6927 MB / 1.138 GB, free: 15.72 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.00032/0.9254, allocations: 206.9 kB / 1.138 GB, free: 15.64 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0002863/0.9257, allocations: 169 kB / 1.138 GB, free: 15.59 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001592/0.9273, allocations: 0.8658 MB / 1.139 GB, free: 15.18 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.359e-06/0.9274, allocations: 0 / 1.139 GB, free: 15.18 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.582e-06/0.9274, allocations: 0 / 1.139 GB, free: 15.18 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.623e-05/0.9274, allocations: 4 kB / 1.139 GB, free: 15.17 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.001853/0.9293, allocations: 0.9464 MB / 1.14 GB, free: 14.46 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.823e-05/0.9293, allocations: 13.06 kB / 1.14 GB, free: 14.46 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001682/0.931, allocations: 204.1 kB / 1.14 GB, free: 14.38 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00124/0.9323, allocations: 0.5693 MB / 1.141 GB, free: 14.01 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.857e-05/0.9323, allocations: 33.72 kB / 1.141 GB, free: 14.01 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.163e-05/0.9324, allocations: 50.84 kB / 1.141 GB, free: 14.01 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00115/0.9336, allocations: 493.3 kB / 1.142 GB, free: 13.88 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.234e-05/0.9336, allocations: 2.562 kB / 1.142 GB, free: 13.88 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.974e-05/0.9337, allocations: 19.19 kB / 1.142 GB, free: 13.88 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.511e-05/0.9338, allocations: 15.06 kB / 1.142 GB, free: 13.87 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00106/0.9348, allocations: 444.4 kB / 1.142 GB, free: 13.79 MB / 0.698 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.003596/0.9385, allocations: 2.001 MB / 1.144 GB, free: 12.45 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007922/0.9393, allocations: 362.5 kB / 1.144 GB, free: 12.38 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 6.763e-05/0.9394, allocations: 13.39 kB / 1.144 GB, free: 12.38 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.252e-05/0.9394, allocations: 40.45 kB / 1.144 GB, free: 12.33 MB / 0.698 GB Notification: Performance of pre-optimization done (n=33): time 3.42e-06/0.9394, allocations: 0 / 1.144 GB, free: 12.33 MB / 0.698 GB Notification: Performance of matching and sorting (n=33): time 0.001764/0.9412, allocations: 0.559 MB / 1.145 GB, free: 12.19 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.877e-05/0.9413, allocations: 54.88 kB / 1.145 GB, free: 12.12 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008207/0.9421, allocations: 0.4988 MB / 1.145 GB, free: 11.93 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 6.141e-05/0.9422, allocations: 34.02 kB / 1.145 GB, free: 11.9 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002636/0.9425, allocations: 305.8 kB / 1.146 GB, free: 11.73 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001489/0.9426, allocations: 118.1 kB / 1.146 GB, free: 11.65 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.317e-05/0.9427, allocations: 3.906 kB / 1.146 GB, free: 11.65 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000211/0.9429, allocations: 363.6 kB / 1.146 GB, free: 11.32 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003782/0.9433, allocations: 143.2 kB / 1.146 GB, free: 11.3 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004698/0.9438, allocations: 219 kB / 1.147 GB, free: 11.19 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004455/0.9442, allocations: 175.1 kB / 1.147 GB, free: 11.16 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.864e-06/0.9442, allocations: 0 / 1.147 GB, free: 11.16 MB / 0.698 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.00108/0.9453, allocations: 437.9 kB / 1.147 GB, free: 11.04 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.000213/0.9456, allocations: 365.5 kB / 1.147 GB, free: 10.68 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.693e-06/0.9456, allocations: 5.094 kB / 1.147 GB, free: 10.67 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.807e-05/0.9456, allocations: 2.062 kB / 1.147 GB, free: 10.67 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004733/0.9461, allocations: 69.34 kB / 1.148 GB, free: 10.66 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.719e-06/0.9461, allocations: 2.969 kB / 1.148 GB, free: 10.66 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007119/0.9468, allocations: 71.48 kB / 1.148 GB, free: 10.62 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.707e-05/0.9469, allocations: 11.91 kB / 1.148 GB, free: 10.62 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.153e-05/0.9469, allocations: 3.75 kB / 1.148 GB, free: 10.62 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009008/0.9478, allocations: 355.1 kB / 1.148 GB, free: 10.57 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.992e-06/0.9479, allocations: 1.094 kB / 1.148 GB, free: 10.57 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.043e-05/0.9479, allocations: 2.312 kB / 1.148 GB, free: 10.57 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004547/0.9484, allocations: 76.2 kB / 1.148 GB, free: 10.55 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.722e-06/0.9484, allocations: 2.062 kB / 1.148 GB, free: 10.55 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006912/0.9491, allocations: 61.25 kB / 1.148 GB, free: 10.52 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.568e-05/0.9491, allocations: 18.14 kB / 1.148 GB, free: 10.52 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (39): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004503/0.9496, allocations: 287.9 kB / 1.148 GB, free: 10.32 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001582/0.9498, allocations: 68.86 kB / 1.148 GB, free: 10.28 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001075/0.9509, allocations: 425.7 kB / 1.149 GB, free: 10.16 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.141e-06/0.9509, allocations: 3.719 kB / 1.149 GB, free: 10.16 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.177e-06/0.9509, allocations: 0 / 1.149 GB, free: 10.16 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008759/0.9518, allocations: 444.6 kB / 1.149 GB, free: 9.957 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002582/0.9544, allocations: 1.185 MB / 1.15 GB, free: 9.371 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.039e-06/0.9544, allocations: 1.969 kB / 1.15 GB, free: 9.371 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005766/0.955, allocations: 88.95 kB / 1.151 GB, free: 9.352 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.946e-06/0.955, allocations: 2.812 kB / 1.151 GB, free: 9.352 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.374e-05/0.9551, allocations: 14.7 kB / 1.151 GB, free: 9.348 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.997e-06/0.9551, allocations: 3.375 kB / 1.151 GB, free: 9.348 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.397e-06/0.9551, allocations: 2.188 kB / 1.151 GB, free: 9.348 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001631/0.9568, allocations: 0.8124 MB / 1.151 GB, free: 8.945 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000372/0.9572, allocations: 177.4 kB / 1.152 GB, free: 8.805 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.754e-05/0.9573, allocations: 9.719 kB / 1.152 GB, free: 8.805 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006667/0.958, allocations: 52.42 kB / 1.152 GB, free: 8.781 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.784e-05/0.9581, allocations: 33.36 kB / 1.152 GB, free: 8.766 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.582e-05/0.9581, allocations: 17.14 kB / 1.152 GB, free: 8.762 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.000595/0.9587, allocations: 351.2 kB / 1.152 GB, free: 8.629 MB / 0.698 GB Notification: Performance of sort global known variables: time 7.91e-07/0.9587, allocations: 0 / 1.152 GB, free: 8.629 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001154/0.9599, allocations: 325 kB / 1.152 GB, free: 8.582 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (del.dynBal.U,del.dynBal.m,del.dynBal.mXi[1]) * 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 (33): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005206/0.9604, allocations: 194 kB / 1.152 GB, free: 8.457 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001395/0.9619, allocations: 0.526 MB / 1.153 GB, free: 8.363 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.76e-06/0.9619, allocations: 0 / 1.153 GB, free: 8.363 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004529/0.9623, allocations: 189.5 kB / 1.153 GB, free: 8.328 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002207/0.9646, allocations: 365.2 kB / 1.154 GB, free: 8.199 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002944/0.9675, allocations: 1.534 MB / 1.155 GB, free: 7.207 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007589/0.9683, allocations: 0.9469 MB / 1.156 GB, free: 6.398 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001057/0.9694, allocations: 188.4 kB / 1.156 GB, free: 6.309 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001897/0.9696, allocations: 45.5 kB / 1.156 GB, free: 6.301 MB / 0.698 GB Notification: Performance of SimCode: time 2.733e-06/0.9696, allocations: 0 / 1.156 GB, free: 6.301 MB / 0.698 GB Notification: Performance of Templates: time 0.03093/1.001, allocations: 10.95 MB / 1.167 GB, free: 0.9141 MB / 0.698 GB