Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Delays.Examples.Delay.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Delays.Examples.Delay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Delays.Examples.Delay") translateModel(Buildings.Fluid.Delays.Examples.Delay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Delays.Examples.Delay") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007977/0.0007977, allocations: 91.84 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008243/0.0008244, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.513/1.513, allocations: 205.4 MB / 222.1 MB, free: 5.891 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.714/1.714, allocations: 292.7 MB / 0.5499 GB, free: 14.57 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005373/0.0005374, allocations: 14.5 kB / 0.6737 GB, free: 26.5 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2444/0.245, allocations: 116.3 MB / 0.7873 GB, free: 11.94 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Delays.Examples.Delay): time 0.7231/0.9681, allocations: 166.7 MB / 0.95 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.009272/0.9774, allocations: 4.521 MB / 0.9544 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00167/0.9791, allocations: 24.88 kB / 0.9545 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001335/0.9805, allocations: 295.4 kB / 0.9547 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.00469/0.9852, allocations: 1.022 MB / 0.9557 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002518/0.9877, allocations: 0.6054 MB / 0.9563 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.003248/0.991, allocations: 2.132 MB / 0.9584 GB, free: 4.305 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008658/0.9918, allocations: 438.9 kB / 0.9588 GB, free: 4.227 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001979/0.9938, allocations: 0.717 MB / 0.9595 GB, free: 4.062 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009578/0.9948, allocations: 0.5128 MB / 0.96 GB, free: 3.965 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 8.235e-05/0.9949, allocations: 25.31 kB / 0.9601 GB, free: 3.965 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002548/0.9975, allocations: 0.8766 MB / 0.9609 GB, free: 3.871 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0003193/0.9978, allocations: 223.2 kB / 0.9611 GB, free: 3.848 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0005321/0.9983, allocations: 168.1 kB / 0.9613 GB, free: 19.79 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001596/0.9999, allocations: 0.9548 MB / 0.9622 GB, free: 19.71 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.9999, allocations: 0 / 0.9622 GB, free: 19.71 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.274e-06/1, allocations: 0 / 0.9622 GB, free: 19.71 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 9.297e-06/1, allocations: 0 / 0.9622 GB, free: 19.71 MB / 0.7325 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.00173/1.002, allocations: 0.9716 MB / 0.9632 GB, free: 19.06 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.106e-05/1.002, allocations: 11.06 kB / 0.9632 GB, free: 19.06 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001344/1.003, allocations: 212.9 kB / 0.9634 GB, free: 19.02 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009806/1.004, allocations: 0.552 MB / 0.9639 GB, free: 18.73 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.27e-05/1.004, allocations: 41.77 kB / 0.964 GB, free: 18.73 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.809e-05/1.004, allocations: 46.5 kB / 0.964 GB, free: 18.73 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009827/1.005, allocations: 498.5 kB / 0.9645 GB, free: 18.68 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.893e-05/1.005, allocations: 5.469 kB / 0.9645 GB, free: 18.68 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.145e-05/1.005, allocations: 19.22 kB / 0.9645 GB, free: 18.68 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.707e-05/1.005, allocations: 16.09 kB / 0.9645 GB, free: 18.68 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009543/1.006, allocations: 445.6 kB / 0.9649 GB, free: 18.67 MB / 0.7325 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.003072/1.009, allocations: 2.007 MB / 0.9669 GB, free: 17.64 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005939/1.01, allocations: 348.7 kB / 0.9672 GB, free: 17.61 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003313/1.01, allocations: 221.7 kB / 0.9674 GB, free: 17.6 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003031/1.011, allocations: 191.1 kB / 0.9676 GB, free: 17.41 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.226e-05/1.011, allocations: 38.58 kB / 0.9677 GB, free: 17.37 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=33): time 9.508e-06/1.011, allocations: 0 / 0.9677 GB, free: 17.37 MB / 0.7325 GB Notification: Performance of matching and sorting (n=33): time 0.001268/1.012, allocations: 0.5567 MB / 0.9682 GB, free: 17.29 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.294e-05/1.012, allocations: 57.64 kB / 0.9683 GB, free: 17.23 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006481/1.013, allocations: 0.4973 MB / 0.9687 GB, free: 17.11 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.587e-05/1.013, allocations: 35.98 kB / 0.9688 GB, free: 17.08 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001996/1.013, allocations: 301.9 kB / 0.9691 GB, free: 16.94 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 9.942e-05/1.013, allocations: 117.2 kB / 0.9692 GB, free: 16.86 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.847e-05/1.013, allocations: 7.875 kB / 0.9692 GB, free: 16.86 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001577/1.013, allocations: 362.5 kB / 0.9695 GB, free: 16.55 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002527/1.014, allocations: 135.5 kB / 0.9697 GB, free: 16.55 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003133/1.014, allocations: 223.8 kB / 0.9699 GB, free: 16.47 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002999/1.014, allocations: 174 kB / 0.97 GB, free: 16.46 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/1.014, allocations: 0 / 0.97 GB, free: 16.46 MB / 0.7325 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007543/1.015, allocations: 439 kB / 0.9705 GB, free: 16.38 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 7.302e-05/1.015, allocations: 112.4 kB / 0.9706 GB, free: 16.27 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.827e-06/1.015, allocations: 1.5 kB / 0.9706 GB, free: 16.27 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.951e-05/1.015, allocations: 6.594 kB / 0.9706 GB, free: 16.27 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003509/1.015, allocations: 76.52 kB / 0.9706 GB, free: 16.26 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.047e-05/1.015, allocations: 6.844 kB / 0.9707 GB, free: 16.25 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006037/1.016, allocations: 66.61 kB / 0.9707 GB, free: 16.23 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.823e-05/1.016, allocations: 14.56 kB / 0.9707 GB, free: 16.23 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 7.084e-06/1.016, allocations: 2.906 kB / 0.9707 GB, free: 16.23 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006047/1.017, allocations: 347.2 kB / 0.9711 GB, free: 16.22 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.056e-06/1.017, allocations: 3.125 kB / 0.9711 GB, free: 16.22 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.938e-06/1.017, allocations: 3 kB / 0.9711 GB, free: 16.22 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002898/1.017, allocations: 71.84 kB / 0.9711 GB, free: 16.22 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.052e-06/1.017, allocations: 4.047 kB / 0.9711 GB, free: 16.22 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004172/1.018, allocations: 63.89 kB / 0.9712 GB, free: 16.2 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.707e-05/1.018, allocations: 12.69 kB / 0.9712 GB, free: 16.2 MB / 0.7325 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.0003566/1.018, allocations: 294.5 kB / 0.9715 GB, free: 16 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.537e-05/1.018, allocations: 60.31 kB / 0.9716 GB, free: 15.97 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007131/1.019, allocations: 434.8 kB / 0.972 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.161e-06/1.019, allocations: 7.438 kB / 0.972 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.317e-05/1.019, allocations: 3.344 kB / 0.972 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005421/1.019, allocations: 442.2 kB / 0.9724 GB, free: 15.75 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001615/1.021, allocations: 1.184 MB / 0.9736 GB, free: 15.36 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.397e-06/1.021, allocations: 3.125 kB / 0.9736 GB, free: 15.36 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003642/1.021, allocations: 93.12 kB / 0.9737 GB, free: 15.36 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/1.021, allocations: 6.75 kB / 0.9737 GB, free: 15.35 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.81e-05/1.021, allocations: 13.61 kB / 0.9737 GB, free: 15.35 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.238e-06/1.021, allocations: 3.344 kB / 0.9737 GB, free: 15.35 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.07e-06/1.021, allocations: 9.172 kB / 0.9737 GB, free: 15.34 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009362/1.022, allocations: 0.7292 MB / 0.9744 GB, free: 15.12 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002034/1.023, allocations: 178.5 kB / 0.9746 GB, free: 15 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.054e-05/1.023, allocations: 9.031 kB / 0.9746 GB, free: 15 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004346/1.023, allocations: 57.03 kB / 0.9746 GB, free: 14.98 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.512e-05/1.023, allocations: 28.45 kB / 0.9747 GB, free: 14.98 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.915e-05/1.023, allocations: 18.09 kB / 0.9747 GB, free: 14.98 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.00036/1.024, allocations: 353.1 kB / 0.975 GB, free: 14.89 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.5e-07/1.024, allocations: 0 / 0.975 GB, free: 14.89 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0008628/1.024, allocations: 314.3 kB / 0.9753 GB, free: 14.86 MB / 0.7325 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.0004361/1.025, allocations: 195.9 kB / 0.9755 GB, free: 14.75 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0009164/1.026, allocations: 0.5228 MB / 0.976 GB, free: 14.72 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/1.026, allocations: 1.625 kB / 0.976 GB, free: 14.72 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002866/1.026, allocations: 185.5 kB / 0.9762 GB, free: 14.71 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001589/1.028, allocations: 376.8 kB / 0.9765 GB, free: 14.68 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001925/1.03, allocations: 1.545 MB / 0.9781 GB, free: 13.82 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004564/1.03, allocations: 0.9344 MB / 0.979 GB, free: 13.02 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0006371/1.031, allocations: 181.3 kB / 0.9791 GB, free: 12.94 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001315/1.031, allocations: 49.02 kB / 0.9792 GB, free: 12.93 MB / 0.7325 GB Notification: Performance of SimCode: time 4.91e-07/1.031, allocations: 0 / 0.9792 GB, free: 12.93 MB / 0.7325 GB Notification: Performance of Templates: time 0.01774/1.049, allocations: 10.97 MB / 0.9899 GB, free: 7.559 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Fluid.Delays.Examples.Delay.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Fluid.Delays.Examples.Delay.pipe ; mkfifo Buildings_8_Buildings.Fluid.Delays.Examples.Delay.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Delays.Examples.Delay.pipe >> ../files/Buildings_8_Buildings.Fluid.Delays.Examples.Delay.sim & ./Buildings_8_Buildings.Fluid.Delays.Examples.Delay -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Delays.Examples.Delay.pipe 2>&1) Environment - environmentSimulation: