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.707/1.707, allocations: 289.7 MB / 302.3 MB, free: 2.141 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.001083/0.001083, allocations: 187.4 kB / 371.6 MB, free: 3.398 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.723/1.723, allocations: 205.1 MB / 0.6309 GB, free: 11.75 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.0009393/0.0009393, allocations: 97.06 kB / 0.745 GB, free: 54.47 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.029e-05/4.032e-05, allocations: 4 kB / 0.8662 GB, free: 15.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2879/0.288, allocations: 116.3 MB / 0.9798 GB, free: 10.62 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.967/6.255, allocations: 2.078 GB / 3.058 GB, free: 163.3 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002315/6.255, allocations: 83.95 kB / 3.058 GB, free: 163.2 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.564/7.819, allocations: 482.2 MB / 3.529 GB, free: 52.23 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.733e-06/7.819, allocations: 0 / 3.529 GB, free: 52.23 MB / 0.948 GB Notification: Performance of Transformations before backend: time 5.406e-05/7.819, allocations: 31.86 kB / 3.529 GB, free: 52.2 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.001718/7.821, allocations: 0.9662 MB / 3.53 GB, free: 51.19 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.353e-05/7.821, allocations: 8.031 kB / 3.53 GB, free: 51.18 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001231/7.822, allocations: 198.9 kB / 3.53 GB, free: 50.99 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001019/7.823, allocations: 0.6212 MB / 3.531 GB, free: 50.32 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.224e-05/7.823, allocations: 43.05 kB / 3.531 GB, free: 50.29 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.582e-05/7.823, allocations: 52 kB / 3.531 GB, free: 50.23 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006993/7.824, allocations: 450.5 kB / 3.531 GB, free: 49.79 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.76e-05/7.824, allocations: 3.938 kB / 3.531 GB, free: 49.79 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.687e-05/7.824, allocations: 28 kB / 3.531 GB, free: 49.76 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.361e-05/7.824, allocations: 13 kB / 3.531 GB, free: 49.75 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005647/7.824, allocations: 383.8 kB / 3.532 GB, free: 49.37 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.002168/7.827, allocations: 2.005 MB / 3.534 GB, free: 47.18 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003992/7.827, allocations: 311.6 kB / 3.534 GB, free: 46.87 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002192/7.827, allocations: 185 kB / 3.534 GB, free: 46.69 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002572/7.828, allocations: 198.5 kB / 3.534 GB, free: 46.46 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.965e-05/7.828, allocations: 34.84 kB / 3.535 GB, free: 46.42 MB / 0.948 GB Notification: Performance of pre-optimization done (n=33): time 1.833e-06/7.828, allocations: 0 / 3.535 GB, free: 46.42 MB / 0.948 GB Notification: Performance of matching and sorting (n=33): time 0.0007593/7.828, allocations: 386.9 kB / 3.535 GB, free: 46.04 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.854e-05/7.828, allocations: 59.41 kB / 3.535 GB, free: 45.96 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004174/7.829, allocations: 444.9 kB / 3.535 GB, free: 45.52 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 3.23e-05/7.829, allocations: 37.7 kB / 3.535 GB, free: 45.48 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000139/7.829, allocations: 296.3 kB / 3.536 GB, free: 45.19 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 7.162e-05/7.829, allocations: 122.2 kB / 3.536 GB, free: 45.07 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.668e-05/7.829, allocations: 8 kB / 3.536 GB, free: 45.06 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.868e-05/7.829, allocations: 366.7 kB / 3.536 GB, free: 44.69 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001594/7.829, allocations: 112.6 kB / 3.536 GB, free: 44.58 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002097/7.83, allocations: 211.3 kB / 3.536 GB, free: 44.34 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001999/7.83, allocations: 159.7 kB / 3.537 GB, free: 44.18 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/7.83, allocations: 0 / 3.537 GB, free: 44.18 MB / 0.948 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0004623/7.83, allocations: 386.5 kB / 3.537 GB, free: 43.8 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 7.565e-05/7.83, allocations: 365.5 kB / 3.537 GB, free: 43.42 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/7.83, allocations: 0 / 3.537 GB, free: 43.42 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.659e-05/7.83, allocations: 4 kB / 3.537 GB, free: 43.42 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003322/7.831, allocations: 79.83 kB / 3.537 GB, free: 43.34 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.438e-06/7.831, allocations: 4 kB / 3.537 GB, free: 43.34 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005341/7.831, allocations: 59.66 kB / 3.537 GB, free: 43.28 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.893e-05/7.831, allocations: 15.98 kB / 3.537 GB, free: 43.26 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 5.931e-06/7.831, allocations: 4 kB / 3.537 GB, free: 43.26 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003957/7.832, allocations: 309.2 kB / 3.538 GB, free: 42.96 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.724e-06/7.832, allocations: 0 / 3.538 GB, free: 42.96 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.969e-06/7.832, allocations: 7.984 kB / 3.538 GB, free: 42.95 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002798/7.832, allocations: 71.91 kB / 3.538 GB, free: 42.88 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.986e-06/7.832, allocations: 0 / 3.538 GB, free: 42.88 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004884/7.833, allocations: 63.73 kB / 3.538 GB, free: 42.82 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.843e-05/7.833, allocations: 16 kB / 3.538 GB, free: 42.8 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.0001132/7.833, allocations: 128.8 kB / 3.538 GB, free: 42.67 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.866e-05/7.833, allocations: 59.25 kB / 3.538 GB, free: 42.61 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005993/7.833, allocations: 395 kB / 3.538 GB, free: 42.21 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.893e-06/7.833, allocations: 4 kB / 3.538 GB, free: 42.21 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/7.833, allocations: 0 / 3.538 GB, free: 42.21 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003974/7.834, allocations: 400.8 kB / 3.539 GB, free: 41.79 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001506/7.835, allocations: 1.136 MB / 3.54 GB, free: 40.58 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.57e-06/7.835, allocations: 7.984 kB / 3.54 GB, free: 40.57 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003843/7.836, allocations: 83.89 kB / 3.54 GB, free: 40.49 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.911e-06/7.836, allocations: 4 kB / 3.54 GB, free: 40.49 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.482e-05/7.836, allocations: 8 kB / 3.54 GB, free: 40.48 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.174e-06/7.836, allocations: 15.89 kB / 3.54 GB, free: 40.46 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/7.836, allocations: 0 / 3.54 GB, free: 40.46 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007434/7.837, allocations: 0.7484 MB / 3.541 GB, free: 39.64 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000198/7.837, allocations: 184.3 kB / 3.541 GB, free: 39.45 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.408e-05/7.837, allocations: 8 kB / 3.541 GB, free: 39.44 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004711/7.837, allocations: 55.81 kB / 3.541 GB, free: 39.38 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.636e-05/7.837, allocations: 23.97 kB / 3.541 GB, free: 39.36 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.652e-05/7.837, allocations: 15.98 kB / 3.541 GB, free: 39.34 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0003218/7.838, allocations: 353.5 kB / 3.541 GB, free: 39 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.4e-07/7.838, allocations: 96 / 3.541 GB, free: 39 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001241/7.839, allocations: 451.2 kB / 3.542 GB, free: 38.56 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.001532/7.841, allocations: 1.26 MB / 3.543 GB, free: 37.26 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0006892/7.841, allocations: 491.8 kB / 3.544 GB, free: 36.78 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/7.841, allocations: 0 / 3.544 GB, free: 36.78 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001878/7.842, allocations: 163.8 kB / 3.544 GB, free: 36.62 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001592/7.843, allocations: 368.9 kB / 3.544 GB, free: 36.26 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001471/7.845, allocations: 0.9702 MB / 3.545 GB, free: 35.25 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003061/7.845, allocations: 0.9501 MB / 3.546 GB, free: 34.27 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0007496/7.846, allocations: 224.7 kB / 3.546 GB, free: 34.05 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.938e-05/7.846, allocations: 47.42 kB / 3.546 GB, free: 34 MB / 0.948 GB Notification: Performance of SimCode: time 4.61e-07/7.846, allocations: 0 / 3.546 GB, free: 34 MB / 0.948 GB Notification: Performance of Templates: time 0.03634/7.882, allocations: 30.43 MB / 3.576 GB, free: 3.641 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)