Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Delays.Examples.Delay.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Delays.Examples.Delay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Delays.Examples.Delay") translateModel(Buildings.Fluid.Delays.Examples.Delay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Delays.Examples.Delay") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.42/2.42, allocations: 284.8 MB / 297.3 MB, free: 6.359 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.001465/0.001464, allocations: 192.8 kB / 365.7 MB, free: 2.59 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 1.868/1.868, allocations: 205.1 MB / 0.6241 GB, free: 8.199 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001075/0.001075, allocations: 97.62 kB / 0.7372 GB, free: 40.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.953e-05/2.961e-05, allocations: 4 kB / 0.8574 GB, free: 13.73 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7983/0.7983, allocations: 115.2 MB / 0.97 GB, free: 78.34 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.939/6.738, allocations: 2.077 GB / 3.047 GB, free: 19.7 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002752/6.738, allocations: 83.77 kB / 3.047 GB, free: 19.66 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.918/9.656, allocations: 482.2 MB / 3.518 GB, free: 234.7 MB / 0.948 GB Notification: Performance of FrontEnd: time 3.747e-06/9.656, allocations: 0 / 3.518 GB, free: 234.7 MB / 0.948 GB Notification: Performance of Transformations before backend: time 8.501e-05/9.656, allocations: 26.16 kB / 3.518 GB, free: 234.7 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.002509/9.659, allocations: 0.9704 MB / 3.519 GB, free: 234.2 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.773e-05/9.659, allocations: 10.75 kB / 3.519 GB, free: 234.2 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001971/9.661, allocations: 207 kB / 3.519 GB, free: 234.1 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00205/9.663, allocations: 0.6163 MB / 3.52 GB, free: 233.9 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.952e-05/9.663, allocations: 40.3 kB / 3.52 GB, free: 233.9 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001223/9.663, allocations: 48.84 kB / 3.52 GB, free: 233.9 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001195/9.664, allocations: 456.9 kB / 3.521 GB, free: 233.9 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.873e-05/9.664, allocations: 0 / 3.521 GB, free: 233.9 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.263e-05/9.664, allocations: 21.06 kB / 3.521 GB, free: 233.9 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.494e-05/9.664, allocations: 18.83 kB / 3.521 GB, free: 233.9 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009462/9.665, allocations: 385.5 kB / 3.521 GB, free: 233.8 MB / 0.948 GB Warning: The model contains alias variables with conflicting start and/or 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.004738/9.67, allocations: 2.009 MB / 3.523 GB, free: 232.9 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007994/9.671, allocations: 311.7 kB / 3.523 GB, free: 232.9 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000424/9.671, allocations: 199.7 kB / 3.523 GB, free: 232.8 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004022/9.672, allocations: 191.2 kB / 3.524 GB, free: 232.7 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.312e-05/9.672, allocations: 37.97 kB / 3.524 GB, free: 232.6 MB / 0.948 GB Notification: Performance of pre-optimization done (n=33): time 3.357e-06/9.672, allocations: 2.812 kB / 3.524 GB, free: 232.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=33): time 0.001625/9.673, allocations: 378.8 kB / 3.524 GB, free: 232.6 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.235e-05/9.674, allocations: 54.84 kB / 3.524 GB, free: 232.5 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009629/9.675, allocations: 437.3 kB / 3.524 GB, free: 232.4 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001803/9.675, allocations: 36.45 kB / 3.524 GB, free: 232.3 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000296/9.675, allocations: 307.3 kB / 3.525 GB, free: 232.2 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002193/9.675, allocations: 121.6 kB / 3.525 GB, free: 232.2 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.98e-05/9.675, allocations: 3.875 kB / 3.525 GB, free: 232.2 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001455/9.676, allocations: 369.2 kB / 3.525 GB, free: 231.8 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003384/9.676, allocations: 113.6 kB / 3.525 GB, free: 231.8 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004164/9.676, allocations: 208.2 kB / 3.526 GB, free: 231.8 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003862/9.677, allocations: 152.7 kB / 3.526 GB, free: 231.8 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.209e-06/9.677, allocations: 0 / 3.526 GB, free: 231.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001111/9.678, allocations: 384.4 kB / 3.526 GB, free: 231.7 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001526/9.678, allocations: 364 kB / 3.526 GB, free: 231.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.36e-05/9.678, allocations: 3.469 kB / 3.526 GB, free: 231.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.885e-05/9.678, allocations: 0 / 3.526 GB, free: 231.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008224/9.679, allocations: 79.98 kB / 3.526 GB, free: 231.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.641e-05/9.679, allocations: 4.797 kB / 3.526 GB, free: 231.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001368/9.68, allocations: 70.19 kB / 3.527 GB, free: 231.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.777e-05/9.681, allocations: 7.75 kB / 3.527 GB, free: 231.3 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.727e-05/9.681, allocations: 3.938 kB / 3.527 GB, free: 231.3 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008665/9.681, allocations: 312.8 kB / 3.527 GB, free: 231.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.281e-06/9.682, allocations: 0 / 3.527 GB, free: 231.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.244e-05/9.682, allocations: 7.312 kB / 3.527 GB, free: 231.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006988/9.682, allocations: 72.94 kB / 3.527 GB, free: 231.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.087e-06/9.682, allocations: 0 / 3.527 GB, free: 231.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001332/9.684, allocations: 72.83 kB / 3.527 GB, free: 231.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.165e-05/9.684, allocations: 14.5 kB / 3.527 GB, free: 231.3 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 () * 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.0002266/9.684, allocations: 129.5 kB / 3.527 GB, free: 231.2 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002301/9.684, allocations: 53.34 kB / 3.527 GB, free: 231.2 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001143/9.685, allocations: 391.2 kB / 3.528 GB, free: 231.1 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.149e-05/9.685, allocations: 3.906 kB / 3.528 GB, free: 231.1 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.005e-06/9.685, allocations: 0 / 3.528 GB, free: 231.1 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007247/9.686, allocations: 413 kB / 3.528 GB, free: 230.9 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002952/9.689, allocations: 1.123 MB / 3.529 GB, free: 230.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.516e-06/9.689, allocations: 3.688 kB / 3.529 GB, free: 230.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008906/9.69, allocations: 87.34 kB / 3.529 GB, free: 230.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.692e-05/9.69, allocations: 7.828 kB / 3.529 GB, free: 230.6 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.35e-05/9.69, allocations: 11.25 kB / 3.529 GB, free: 230.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.604e-06/9.69, allocations: 7.656 kB / 3.529 GB, free: 230.6 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.481e-06/9.69, allocations: 6.594 kB / 3.529 GB, free: 230.6 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001528/9.692, allocations: 0.7432 MB / 3.53 GB, free: 230.3 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005813/9.692, allocations: 178.3 kB / 3.53 GB, free: 230.1 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001239/9.693, allocations: 10.27 kB / 3.53 GB, free: 230.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009988/9.694, allocations: 56.84 kB / 3.53 GB, free: 230.1 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001086/9.694, allocations: 26.14 kB / 3.53 GB, free: 230.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.428e-05/9.694, allocations: 10.64 kB / 3.53 GB, free: 230.1 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0006514/9.694, allocations: 352.9 kB / 3.53 GB, free: 230.1 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.493e-06/9.695, allocations: 0 / 3.53 GB, free: 230.1 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001856/9.696, allocations: 454.2 kB / 3.531 GB, free: 230 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 () * 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.002482/9.699, allocations: 1.26 MB / 3.532 GB, free: 229.7 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001357/9.7, allocations: 491.7 kB / 3.533 GB, free: 229.7 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 7.234e-06/9.7, allocations: 0 / 3.533 GB, free: 229.7 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.00038/9.701, allocations: 162.2 kB / 3.533 GB, free: 229.7 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003238/9.704, allocations: 364.9 kB / 3.533 GB, free: 229.7 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00246/9.707, allocations: 0.9733 MB / 3.534 GB, free: 229.4 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004926/9.707, allocations: 0.9427 MB / 3.535 GB, free: 228.7 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001502/9.709, allocations: 229.8 kB / 3.535 GB, free: 228.7 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001888/9.709, allocations: 44.7 kB / 3.535 GB, free: 228.6 MB / 0.948 GB Notification: Performance of SimCode: time 2.174e-06/9.709, allocations: 0 / 3.535 GB, free: 228.6 MB / 0.948 GB Notification: Performance of Templates: time 0.06681/9.776, allocations: 30.44 MB / 3.565 GB, free: 227.5 MB / 0.948 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Delays.Examples.Delay.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Delays.Examples.Delay.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Delays.Examples.Delay.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Delays.Examples.Delay.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Delays.Examples.Delay.sim & ./Buildings_8.0.0_Buildings.Fluid.Delays.Examples.Delay -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Delays.Examples.Delay.pipe 2>&1)