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 4.624/4.624, allocations: 0.5623 GB / 0.5769 GB, free: 3.395 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.002362/0.002362, allocations: 361 kB / 0.644 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.93/3.93, allocations: 410.7 MB / 1.112 GB, free: 5.957 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.001759/0.001759, allocations: 188.4 kB / 1.225 GB, free: 6.141 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0005231/0.0005233, allocations: 12 kB / 1.348 GB, free: 8.285 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5735/0.574, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Delays.Examples.Delay): time 0.1559/0.7299, allocations: 164.9 MB / 1.622 GB, free: 119.4 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.007548/0.7375, allocations: 4.941 MB / 1.627 GB, free: 114.5 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007452/0.7383, allocations: 23.81 kB / 1.627 GB, free: 114.5 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.001098/0.7394, allocations: 393.6 kB / 1.627 GB, free: 114.1 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.003796/0.7432, allocations: 1.465 MB / 1.628 GB, free: 112.6 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.00281/0.7461, allocations: 0.866 MB / 1.629 GB, free: 111.8 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.00217/0.7482, allocations: 2.136 MB / 1.631 GB, free: 109.6 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006374/0.7489, allocations: 443.1 kB / 1.632 GB, free: 109.2 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001064/0.75, allocations: 0.6261 MB / 1.632 GB, free: 108.6 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006855/0.7507, allocations: 0.5229 MB / 1.633 GB, free: 108 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 8.439e-05/0.7508, allocations: 24 kB / 1.633 GB, free: 108 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00157/0.7524, allocations: 0.6232 MB / 1.633 GB, free: 107.4 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0002286/0.7526, allocations: 219.3 kB / 1.634 GB, free: 107.2 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0001691/0.7528, allocations: 169.3 kB / 1.634 GB, free: 107 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0009862/0.7538, allocations: 0.8807 MB / 1.635 GB, free: 106.1 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.544e-06/0.7538, allocations: 0 / 1.635 GB, free: 106.1 MB / 0.8542 GB Notification: Performance of FrontEnd: time 3.152e-06/0.7538, allocations: 0 / 1.635 GB, free: 106.1 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.019e-05/0.7539, allocations: 3.938 kB / 1.635 GB, free: 106.1 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: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.001493/0.7554, allocations: 0.9461 MB / 1.636 GB, free: 105.1 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.561e-05/0.7554, allocations: 11.62 kB / 1.636 GB, free: 105.1 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00152/0.7569, allocations: 210.9 kB / 1.636 GB, free: 104.9 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009822/0.7579, allocations: 0.5619 MB / 1.636 GB, free: 104.3 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.742e-05/0.758, allocations: 33 kB / 1.636 GB, free: 104.3 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.056e-05/0.7581, allocations: 48 kB / 1.636 GB, free: 104.2 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009733/0.7591, allocations: 0.4906 MB / 1.637 GB, free: 103.7 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.153e-05/0.7591, allocations: 3.938 kB / 1.637 GB, free: 103.7 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.88e-05/0.7592, allocations: 20 kB / 1.637 GB, free: 103.7 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.158e-05/0.7592, allocations: 13 kB / 1.637 GB, free: 103.7 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009496/0.7602, allocations: 449.8 kB / 1.637 GB, free: 103.2 MB / 0.8542 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.002857/0.7631, allocations: 2 MB / 1.639 GB, free: 101.1 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006618/0.7637, allocations: 351.5 kB / 1.64 GB, free: 100.7 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004057/0.7642, allocations: 217.3 kB / 1.64 GB, free: 100.5 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000275/0.7645, allocations: 194.4 kB / 1.64 GB, free: 100.3 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.611e-05/0.7645, allocations: 42.8 kB / 1.64 GB, free: 100.2 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=33): time 3.315e-06/0.7645, allocations: 4 kB / 1.64 GB, free: 100.2 MB / 0.8542 GB Notification: Performance of matching and sorting (n=33): time 0.00148/0.766, allocations: 0.5566 MB / 1.641 GB, free: 99.68 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.347e-05/0.7661, allocations: 59.34 kB / 1.641 GB, free: 99.61 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006245/0.7667, allocations: 0.4952 MB / 1.641 GB, free: 99.1 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 4.392e-05/0.7667, allocations: 29.7 kB / 1.641 GB, free: 99.07 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001986/0.767, allocations: 308.2 kB / 1.642 GB, free: 98.76 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001094/0.7671, allocations: 114.3 kB / 1.642 GB, free: 98.65 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.288e-05/0.7671, allocations: 4 kB / 1.642 GB, free: 98.64 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 9.601e-05/0.7672, allocations: 370.8 kB / 1.642 GB, free: 98.27 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003322/0.7676, allocations: 136.6 kB / 1.642 GB, free: 98.14 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003963/0.768, allocations: 226.5 kB / 1.642 GB, free: 97.89 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003746/0.7684, allocations: 163.9 kB / 1.643 GB, free: 97.73 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.696e-06/0.7684, allocations: 0 / 1.643 GB, free: 97.73 MB / 0.8542 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0009238/0.7693, allocations: 434.6 kB / 1.643 GB, free: 97.3 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 5.396e-05/0.7694, allocations: 119.6 kB / 1.643 GB, free: 97.17 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.79e-06/0.7694, allocations: 0 / 1.643 GB, free: 97.17 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.947e-05/0.7694, allocations: 4 kB / 1.643 GB, free: 97.17 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000447/0.7699, allocations: 71.89 kB / 1.643 GB, free: 97.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.008e-05/0.7699, allocations: 4 kB / 1.643 GB, free: 97.09 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006794/0.7706, allocations: 63.66 kB / 1.643 GB, free: 97.03 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.503e-05/0.7707, allocations: 12 kB / 1.643 GB, free: 97.02 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.028e-05/0.7707, allocations: 4 kB / 1.643 GB, free: 97.02 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000771/0.7715, allocations: 353.3 kB / 1.644 GB, free: 96.67 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.684e-06/0.7715, allocations: 0 / 1.644 GB, free: 96.67 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.951e-06/0.7715, allocations: 4 kB / 1.644 GB, free: 96.67 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004031/0.7719, allocations: 71.91 kB / 1.644 GB, free: 96.6 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.32e-06/0.7719, allocations: 4 kB / 1.644 GB, free: 96.59 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006585/0.7726, allocations: 67.69 kB / 1.644 GB, free: 96.53 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.758e-05/0.7727, allocations: 12 kB / 1.644 GB, free: 96.52 MB / 0.8542 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.0003397/0.773, allocations: 293 kB / 1.644 GB, free: 96.22 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001178/0.7732, allocations: 63.19 kB / 1.644 GB, free: 96.16 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008921/0.7741, allocations: 431.1 kB / 1.644 GB, free: 95.73 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.453e-06/0.7741, allocations: 4 kB / 1.644 GB, free: 95.72 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.317e-06/0.7741, allocations: 4 kB / 1.644 GB, free: 95.72 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007014/0.7748, allocations: 448.1 kB / 1.645 GB, free: 95.25 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001997/0.7768, allocations: 1.17 MB / 1.646 GB, free: 94.01 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.606e-06/0.7769, allocations: 12.19 kB / 1.646 GB, free: 94 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005394/0.7774, allocations: 91.88 kB / 1.646 GB, free: 93.91 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.917e-06/0.7774, allocations: 7.953 kB / 1.646 GB, free: 93.9 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.493e-05/0.7775, allocations: 8 kB / 1.646 GB, free: 93.89 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.102e-06/0.7775, allocations: 4 kB / 1.646 GB, free: 93.89 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.155e-06/0.7775, allocations: 0 / 1.646 GB, free: 93.89 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001224/0.7787, allocations: 0.7453 MB / 1.647 GB, free: 93.11 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002665/0.779, allocations: 172.4 kB / 1.647 GB, free: 92.92 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.124e-05/0.7791, allocations: 15.94 kB / 1.647 GB, free: 92.91 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006427/0.7798, allocations: 59.8 kB / 1.647 GB, free: 92.85 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.7e-05/0.7799, allocations: 23.91 kB / 1.647 GB, free: 92.82 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.785e-05/0.7799, allocations: 12 kB / 1.647 GB, free: 92.81 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0004369/0.7804, allocations: 354.8 kB / 1.647 GB, free: 92.47 MB / 0.8542 GB Notification: Performance of sort global known variables: time 8.12e-07/0.7804, allocations: 4 kB / 1.647 GB, free: 92.46 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0009793/0.7814, allocations: 327.2 kB / 1.648 GB, free: 92.14 MB / 0.8542 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.000414/0.7818, allocations: 179.3 kB / 1.648 GB, free: 91.97 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.001157/0.783, allocations: 0.5269 MB / 1.648 GB, free: 91.45 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 4.339e-06/0.783, allocations: 0 / 1.648 GB, free: 91.45 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0003793/0.7834, allocations: 184.3 kB / 1.649 GB, free: 91.27 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002068/0.7855, allocations: 368.6 kB / 1.649 GB, free: 90.91 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002127/0.7876, allocations: 1.541 MB / 1.651 GB, free: 89.34 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004212/0.7881, allocations: 0.9488 MB / 1.651 GB, free: 88.37 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0008496/0.7889, allocations: 192.8 kB / 1.652 GB, free: 88.18 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001615/0.7891, allocations: 55.42 kB / 1.652 GB, free: 88.12 MB / 0.8542 GB Notification: Performance of SimCode: time 2.075e-06/0.7891, allocations: 0 / 1.652 GB, free: 88.12 MB / 0.8542 GB Notification: Performance of Templates: time 0.023/0.8121, allocations: 10.95 MB / 1.662 GB, free: 77.44 MB / 0.8542 GB