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.613/1.613, allocations: 289.9 MB / 297.4 MB, free: 6.375 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.001058/0.001058, allocations: 176.8 kB / 366.7 MB, free: 1.648 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.664/1.664, allocations: 205.3 MB / 0.626 GB, free: 7.176 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.0009079/0.0009079, allocations: 91.08 kB / 0.74 GB, free: 39.55 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.86e-05/1.862e-05, allocations: 4 kB / 0.8597 GB, free: 13.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.688/0.688, allocations: 116.3 MB / 0.9732 GB, free: 76.42 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.597/5.285, allocations: 2.078 GB / 3.051 GB, free: 51.88 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002111/5.285, allocations: 87.95 kB / 3.051 GB, free: 51.8 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.053/7.338, allocations: 476.7 MB / 3.517 GB, free: 226.6 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.603e-06/7.338, allocations: 0 / 3.517 GB, free: 226.6 MB / 0.948 GB Notification: Performance of Transformations before backend: time 5.923e-05/7.338, allocations: 21.69 kB / 3.517 GB, free: 226.6 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.001794/7.34, allocations: 0.9687 MB / 3.518 GB, free: 226.2 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.135e-05/7.34, allocations: 9.531 kB / 3.518 GB, free: 226.2 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001277/7.342, allocations: 208 kB / 3.518 GB, free: 226.2 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001108/7.343, allocations: 0.6074 MB / 3.518 GB, free: 226 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.77e-05/7.343, allocations: 16.86 kB / 3.518 GB, free: 226 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.461e-05/7.343, allocations: 33.97 kB / 3.518 GB, free: 226 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006806/7.344, allocations: 367 kB / 3.519 GB, free: 226 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006359/7.344, allocations: 397.5 kB / 3.519 GB, free: 225.9 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.903e-05/7.344, allocations: 0 / 3.519 GB, free: 225.9 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.267e-05/7.344, allocations: 5.016 kB / 3.519 GB, free: 225.9 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.071e-05/7.344, allocations: 15.69 kB / 3.519 GB, free: 225.9 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.0024/7.347, allocations: 1.899 MB / 3.521 GB, free: 225 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004406/7.347, allocations: 300 kB / 3.521 GB, free: 225 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002487/7.347, allocations: 177.3 kB / 3.521 GB, free: 224.9 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002692/7.348, allocations: 198.4 kB / 3.522 GB, free: 224.8 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.083e-05/7.348, allocations: 41.08 kB / 3.522 GB, free: 224.7 MB / 0.948 GB Notification: Performance of pre-optimization done (n=33): time 1.764e-06/7.348, allocations: 1.219 kB / 3.522 GB, free: 224.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=33): time 0.0008784/7.349, allocations: 361.3 kB / 3.522 GB, free: 224.7 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.605e-05/7.349, allocations: 58.06 kB / 3.522 GB, free: 224.6 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004316/7.349, allocations: 368.5 kB / 3.522 GB, free: 224.5 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 3.597e-05/7.349, allocations: 30.39 kB / 3.522 GB, free: 224.5 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001816/7.349, allocations: 311 kB / 3.523 GB, free: 224.3 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 9.322e-05/7.349, allocations: 113.4 kB / 3.523 GB, free: 224.3 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.567e-05/7.349, allocations: 2 kB / 3.523 GB, free: 224.3 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.723e-05/7.35, allocations: 360.9 kB / 3.523 GB, free: 224 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001693/7.35, allocations: 111.4 kB / 3.523 GB, free: 224 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002539/7.35, allocations: 194.8 kB / 3.524 GB, free: 223.9 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000218/7.35, allocations: 155.6 kB / 3.524 GB, free: 223.9 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/7.35, allocations: 3.125 kB / 3.524 GB, free: 223.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005022/7.351, allocations: 366.9 kB / 3.524 GB, free: 223.8 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 9.149e-05/7.351, allocations: 359.4 kB / 3.524 GB, free: 223.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.575e-06/7.351, allocations: 1.375 kB / 3.524 GB, free: 223.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.741e-05/7.351, allocations: 2.719 kB / 3.524 GB, free: 223.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003535/7.351, allocations: 78.41 kB / 3.524 GB, free: 223.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.214e-06/7.351, allocations: 2.75 kB / 3.524 GB, free: 223.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005804/7.352, allocations: 53.22 kB / 3.524 GB, free: 223.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.092e-05/7.352, allocations: 9.375 kB / 3.525 GB, free: 223.4 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 7.173e-06/7.352, allocations: 7.406 kB / 3.525 GB, free: 223.4 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004084/7.352, allocations: 283.1 kB / 3.525 GB, free: 223.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.264e-06/7.352, allocations: 1.25 kB / 3.525 GB, free: 223.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.639e-06/7.352, allocations: 2.719 kB / 3.525 GB, free: 223.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003052/7.353, allocations: 73.75 kB / 3.525 GB, free: 223.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.087e-06/7.353, allocations: 3.625 kB / 3.525 GB, free: 223.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004578/7.353, allocations: 59.97 kB / 3.525 GB, free: 223.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.696e-05/7.353, allocations: 14 kB / 3.525 GB, free: 223.4 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 9.56e-05/7.353, allocations: 114.8 kB / 3.525 GB, free: 223.3 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.954e-05/7.353, allocations: 55.31 kB / 3.525 GB, free: 223.3 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005898/7.354, allocations: 361.6 kB / 3.525 GB, free: 223.2 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.16e-06/7.354, allocations: 2.625 kB / 3.525 GB, free: 223.2 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/7.354, allocations: 1.312 kB / 3.525 GB, free: 223.2 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003861/7.354, allocations: 383.5 kB / 3.526 GB, free: 223.1 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001326/7.356, allocations: 1.047 MB / 3.527 GB, free: 222.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/7.356, allocations: 0.9062 kB / 3.527 GB, free: 222.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004215/7.356, allocations: 91.45 kB / 3.527 GB, free: 222.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.893e-06/7.356, allocations: 2.688 kB / 3.527 GB, free: 222.7 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.438e-05/7.356, allocations: 3.719 kB / 3.527 GB, free: 222.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.518e-06/7.356, allocations: 6.75 kB / 3.527 GB, free: 222.7 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.039e-06/7.356, allocations: 5.312 kB / 3.527 GB, free: 222.7 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007545/7.357, allocations: 0.7164 MB / 3.528 GB, free: 222.4 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001913/7.357, allocations: 173.5 kB / 3.528 GB, free: 222.3 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.686e-05/7.357, allocations: 2.406 kB / 3.528 GB, free: 222.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004848/7.358, allocations: 48.17 kB / 3.528 GB, free: 222.3 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.537e-05/7.358, allocations: 30.06 kB / 3.528 GB, free: 222.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.9e-05/7.358, allocations: 13.25 kB / 3.528 GB, free: 222.3 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0003095/7.358, allocations: 295.2 kB / 3.528 GB, free: 222.2 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.6e-07/7.358, allocations: 0 / 3.528 GB, free: 222.2 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001159/7.359, allocations: 401.4 kB / 3.529 GB, free: 222.2 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.001943/7.361, allocations: 1.427 MB / 3.53 GB, free: 221.9 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.000742/7.362, allocations: 464.4 kB / 3.53 GB, free: 221.8 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.048e-06/7.362, allocations: 0 / 3.53 GB, free: 221.8 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002146/7.362, allocations: 167.3 kB / 3.531 GB, free: 221.8 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001604/7.364, allocations: 333.2 kB / 3.531 GB, free: 221.8 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001558/7.365, allocations: 0.9486 MB / 3.532 GB, free: 221.5 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000414/7.366, allocations: 0.9465 MB / 3.533 GB, free: 220.8 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0008017/7.367, allocations: 212.4 kB / 3.533 GB, free: 220.8 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000112/7.367, allocations: 36.41 kB / 3.533 GB, free: 220.8 MB / 0.948 GB Notification: Performance of SimCode: time 9.82e-07/7.367, allocations: 0 / 3.533 GB, free: 220.8 MB / 0.948 GB Notification: Performance of Templates: time 0.02614/7.393, allocations: 17.83 MB / 3.55 GB, free: 220.5 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)