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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) 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) 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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.862/1.862, allocations: 292.6 MB / 307.5 MB, free: 5.074 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001206/0.001206, allocations: 185 kB / 377.1 MB, free: 1.43 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.823/1.823, allocations: 205.4 MB / 0.6367 GB, free: 8.543 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008592/0.0008594, allocations: 95.75 kB / 0.751 GB, free: 63.09 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003864/0.0003866, allocations: 8 kB / 0.8748 GB, free: 11.21 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3514/0.3518, allocations: 116.3 MB / 0.9883 GB, free: 6.758 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.352/6.704, allocations: 2.078 GB / 3.067 GB, free: 141.4 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005029/6.705, allocations: 99.94 kB / 3.067 GB, free: 141.3 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.848/8.553, allocations: 482.7 MB / 3.538 GB, free: 31.07 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.544e-06/8.553, allocations: 0 / 3.538 GB, free: 31.07 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001336/8.553, allocations: 16 kB / 3.538 GB, free: 31.05 MB / 0.948 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.003849/8.557, allocations: 1.083 MB / 3.539 GB, free: 29.92 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 6.14e-05/8.557, allocations: 8.031 kB / 3.539 GB, free: 29.91 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001874/8.559, allocations: 206.9 kB / 3.54 GB, free: 29.71 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001883/8.561, allocations: 0.6291 MB / 3.54 GB, free: 29.04 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.834e-05/8.561, allocations: 37 kB / 3.54 GB, free: 29.01 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001607/8.561, allocations: 44 kB / 3.54 GB, free: 28.96 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001098/8.562, allocations: 488.7 kB / 3.541 GB, free: 28.48 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.583e-05/8.562, allocations: 0 / 3.541 GB, free: 28.48 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.266e-05/8.562, allocations: 16 kB / 3.541 GB, free: 28.46 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.731e-05/8.562, allocations: 21 kB / 3.541 GB, free: 28.44 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007786/8.563, allocations: 423.7 kB / 3.541 GB, free: 28.03 MB / 0.948 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.002847/8.566, allocations: 2.004 MB / 3.543 GB, free: 25.85 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004974/8.566, allocations: 335.5 kB / 3.543 GB, free: 25.51 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003217/8.567, allocations: 198.5 kB / 3.544 GB, free: 25.28 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.918e-05/8.567, allocations: 34.84 kB / 3.544 GB, free: 25.24 MB / 0.948 GB Notification: Performance of pre-optimization done (n=33): time 2.214e-06/8.567, allocations: 0 / 3.544 GB, free: 25.24 MB / 0.948 GB Notification: Performance of matching and sorting (n=33): time 0.001224/8.568, allocations: 0.5462 MB / 3.544 GB, free: 24.69 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.759e-05/8.568, allocations: 59.41 kB / 3.544 GB, free: 24.62 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004819/8.569, allocations: 446.2 kB / 3.545 GB, free: 24.18 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 3.667e-05/8.569, allocations: 29.7 kB / 3.545 GB, free: 24.14 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001704/8.569, allocations: 308.2 kB / 3.545 GB, free: 23.83 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 9.02e-05/8.569, allocations: 114.2 kB / 3.545 GB, free: 23.72 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.788e-05/8.569, allocations: 8 kB / 3.545 GB, free: 23.71 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001099/8.569, allocations: 374.7 kB / 3.545 GB, free: 23.34 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002268/8.569, allocations: 140.6 kB / 3.546 GB, free: 23.2 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002794/8.57, allocations: 227.2 kB / 3.546 GB, free: 22.94 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002753/8.57, allocations: 159.9 kB / 3.546 GB, free: 22.79 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/8.57, allocations: 0 / 3.546 GB, free: 22.79 MB / 0.948 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006537/8.571, allocations: 435.5 kB / 3.546 GB, free: 22.36 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001228/8.571, allocations: 364 kB / 3.547 GB, free: 21.97 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.143e-05/8.571, allocations: 4 kB / 3.547 GB, free: 21.97 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.543e-05/8.571, allocations: 0 / 3.547 GB, free: 21.97 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003768/8.571, allocations: 79.89 kB / 3.547 GB, free: 21.89 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.08e-05/8.571, allocations: 0 / 3.547 GB, free: 21.89 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000672/8.572, allocations: 63.64 kB / 3.547 GB, free: 21.83 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.222e-05/8.572, allocations: 16 kB / 3.547 GB, free: 21.81 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 9.398e-06/8.572, allocations: 4 kB / 3.547 GB, free: 21.81 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005537/8.572, allocations: 343.6 kB / 3.547 GB, free: 21.47 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.935e-06/8.572, allocations: 4 kB / 3.547 GB, free: 21.47 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.506e-06/8.572, allocations: 0 / 3.547 GB, free: 21.47 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002888/8.573, allocations: 80 kB / 3.547 GB, free: 21.39 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.218e-06/8.573, allocations: 3.938 kB / 3.547 GB, free: 21.39 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004745/8.573, allocations: 63.64 kB / 3.547 GB, free: 21.32 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.784e-05/8.573, allocations: 16 kB / 3.547 GB, free: 21.31 MB / 0.948 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.000391/8.574, allocations: 293 kB / 3.548 GB, free: 21.01 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000123/8.574, allocations: 59.25 kB / 3.548 GB, free: 20.95 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000754/8.575, allocations: 430.9 kB / 3.548 GB, free: 20.52 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.713e-06/8.575, allocations: 4 kB / 3.548 GB, free: 20.52 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.937e-06/8.575, allocations: 4 kB / 3.548 GB, free: 20.52 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005393/8.575, allocations: 441.6 kB / 3.549 GB, free: 20.05 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001694/8.577, allocations: 1.174 MB / 3.55 GB, free: 18.81 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-06/8.577, allocations: 3.938 kB / 3.55 GB, free: 18.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004054/8.577, allocations: 83.95 kB / 3.55 GB, free: 18.72 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.783e-06/8.577, allocations: 3.938 kB / 3.55 GB, free: 18.72 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.598e-05/8.577, allocations: 23.89 kB / 3.55 GB, free: 18.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.299e-06/8.577, allocations: 3.984 kB / 3.55 GB, free: 18.69 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.449e-06/8.577, allocations: 8.188 kB / 3.55 GB, free: 18.68 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001016/8.578, allocations: 0.7998 MB / 3.551 GB, free: 17.82 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002394/8.579, allocations: 172.4 kB / 3.551 GB, free: 17.63 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.772e-05/8.579, allocations: 15.94 kB / 3.551 GB, free: 17.61 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004993/8.579, allocations: 59.8 kB / 3.551 GB, free: 17.55 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001039/8.579, allocations: 15.97 kB / 3.551 GB, free: 17.54 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.88e-05/8.579, allocations: 16.09 kB / 3.551 GB, free: 17.52 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0004019/8.58, allocations: 358.8 kB / 3.551 GB, free: 17.18 MB / 0.948 GB Notification: Performance of sort global known variables: time 1e-07/8.58, allocations: 4 kB / 3.551 GB, free: 17.17 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001629/8.581, allocations: 443.3 kB / 3.552 GB, free: 16.74 MB / 0.948 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.002195/8.584, allocations: 1.256 MB / 3.553 GB, free: 15.43 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001041/8.585, allocations: 0.5202 MB / 3.553 GB, free: 14.91 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/8.585, allocations: 0 / 3.553 GB, free: 14.91 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002818/8.585, allocations: 184.3 kB / 3.554 GB, free: 14.73 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001707/8.587, allocations: 372.7 kB / 3.554 GB, free: 14.37 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002244/8.589, allocations: 1.534 MB / 3.555 GB, free: 12.79 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004148/8.589, allocations: 0.949 MB / 3.556 GB, free: 11.82 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.000706/8.59, allocations: 180.8 kB / 3.556 GB, free: 11.64 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000129/8.59, allocations: 47.44 kB / 3.557 GB, free: 11.59 MB / 0.948 GB Notification: Performance of SimCode: time 1.813e-06/8.59, allocations: 0 / 3.557 GB, free: 11.59 MB / 0.948 GB Notification: Performance of Templates: time 0.803/9.393, allocations: 25.95 MB / 3.582 GB, free: 178.3 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Fluid.Delays.Examples.Delay.makefile (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)