Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Delays.Examples.Delay.conf.json 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/IBPSA 4.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: translateModel(IBPSA.Fluid.Delays.Examples.Delay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Delays.Examples.Delay") translateModel(IBPSA.Fluid.Delays.Examples.Delay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Delays.Examples.Delay") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001511/0.001511, allocations: 179.2 kB / 13.19 MB, free: 2.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5109/0.5109, allocations: 90.81 MB / 104.5 MB, free: 9.789 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.399/1.399, allocations: 221.3 MB / 348.3 MB, free: 456 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008782/0.0008782, allocations: 97.52 kB / 421.2 MB, free: 5.473 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 4.473e-05/4.476e-05, allocations: 4 kB / 0.4896 GB, free: 5.363 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4317/0.4318, allocations: 72.31 MB / 0.5602 GB, free: 40.42 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.717/5.149, allocations: 1.876 GB / 2.436 GB, free: 96.86 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002349/5.149, allocations: 85.98 kB / 2.437 GB, free: 96.82 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 1.59/6.739, allocations: 490.5 MB / 2.915 GB, free: 84.08 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.333e-06/6.739, allocations: 0 / 2.915 GB, free: 84.08 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.797e-05/6.739, allocations: 23.98 kB / 2.915 GB, free: 84.05 MB / 0.6042 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.00162/6.741, allocations: 0.9781 MB / 2.916 GB, free: 83.04 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.078e-05/6.741, allocations: 11.98 kB / 2.916 GB, free: 83.02 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001218/6.742, allocations: 202.9 kB / 2.917 GB, free: 82.82 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001097/6.743, allocations: 0.6282 MB / 2.917 GB, free: 82.16 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.076e-05/6.743, allocations: 33 kB / 2.917 GB, free: 82.12 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.553e-05/6.743, allocations: 52 kB / 2.917 GB, free: 82.07 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007448/6.744, allocations: 458.5 kB / 2.918 GB, free: 81.61 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.403e-05/6.744, allocations: 4 kB / 2.918 GB, free: 81.61 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.981e-05/6.744, allocations: 16 kB / 2.918 GB, free: 81.59 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.052e-05/6.744, allocations: 20.98 kB / 2.918 GB, free: 81.57 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005478/6.745, allocations: 383.9 kB / 2.918 GB, free: 81.2 MB / 0.6042 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.002542/6.747, allocations: 2.016 MB / 2.92 GB, free: 79.01 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005023/6.748, allocations: 315.6 kB / 2.92 GB, free: 78.69 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002363/6.748, allocations: 189.4 kB / 2.921 GB, free: 78.5 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002958/6.748, allocations: 194.5 kB / 2.921 GB, free: 78.28 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.215e-05/6.748, allocations: 42.8 kB / 2.921 GB, free: 78.23 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=33): time 4.178e-06/6.748, allocations: 0 / 2.921 GB, free: 78.23 MB / 0.6042 GB Notification: Performance of matching and sorting (n=33): time 0.0008679/6.749, allocations: 386.9 kB / 2.921 GB, free: 77.84 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.42e-05/6.749, allocations: 55.41 kB / 2.921 GB, free: 77.78 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004433/6.75, allocations: 441 kB / 2.922 GB, free: 77.34 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.851e-05/6.75, allocations: 33.7 kB / 2.922 GB, free: 77.3 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001664/6.75, allocations: 312.2 kB / 2.922 GB, free: 76.99 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 8.107e-05/6.75, allocations: 118.2 kB / 2.922 GB, free: 76.88 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.793e-05/6.75, allocations: 4 kB / 2.922 GB, free: 76.87 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001196/6.75, allocations: 374.7 kB / 2.923 GB, free: 76.5 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001643/6.75, allocations: 116.6 kB / 2.923 GB, free: 76.38 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002076/6.751, allocations: 201.8 kB / 2.923 GB, free: 76.15 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001923/6.751, allocations: 143.9 kB / 2.923 GB, free: 76.01 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.534e-06/6.751, allocations: 7.938 kB / 2.923 GB, free: 76 MB / 0.6042 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0004802/6.751, allocations: 393.3 kB / 2.923 GB, free: 75.61 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 9.128e-05/6.751, allocations: 368.6 kB / 2.924 GB, free: 75.23 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.693e-06/6.751, allocations: 4 kB / 2.924 GB, free: 75.23 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.779e-05/6.751, allocations: 0 / 2.924 GB, free: 75.23 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003159/6.752, allocations: 71.91 kB / 2.924 GB, free: 75.16 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.151e-05/6.752, allocations: 0 / 2.924 GB, free: 75.16 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005933/6.752, allocations: 79.59 kB / 2.924 GB, free: 75.08 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4e-05/6.752, allocations: 15.98 kB / 2.924 GB, free: 75.06 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 8.426e-06/6.752, allocations: 4 kB / 2.924 GB, free: 75.06 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004015/6.753, allocations: 307.9 kB / 2.924 GB, free: 74.76 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.603e-06/6.753, allocations: 0 / 2.924 GB, free: 74.76 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.076e-06/6.753, allocations: 4 kB / 2.924 GB, free: 74.75 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003115/6.753, allocations: 71.89 kB / 2.924 GB, free: 74.68 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.737e-06/6.753, allocations: 4 kB / 2.924 GB, free: 74.68 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004639/6.754, allocations: 71.8 kB / 2.924 GB, free: 74.61 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.522e-05/6.754, allocations: 8 kB / 2.924 GB, free: 74.6 MB / 0.6042 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.022e-05/6.754, allocations: 128.9 kB / 2.924 GB, free: 74.47 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.293e-05/6.754, allocations: 63.2 kB / 2.924 GB, free: 74.41 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005678/6.754, allocations: 399.2 kB / 2.925 GB, free: 74.01 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.83e-06/6.754, allocations: 4 kB / 2.925 GB, free: 74 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/6.754, allocations: 0 / 2.925 GB, free: 74 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003769/6.755, allocations: 404.8 kB / 2.925 GB, free: 73.58 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001372/6.756, allocations: 1.137 MB / 2.926 GB, free: 72.37 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/6.756, allocations: 4 kB / 2.926 GB, free: 72.36 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003808/6.757, allocations: 92.08 kB / 2.926 GB, free: 72.27 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.741e-06/6.757, allocations: 0 / 2.926 GB, free: 72.27 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.879e-05/6.757, allocations: 15.98 kB / 2.926 GB, free: 72.26 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/6.757, allocations: 0 / 2.926 GB, free: 72.26 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.866e-06/6.757, allocations: 4 kB / 2.926 GB, free: 72.25 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007179/6.757, allocations: 0.7285 MB / 2.927 GB, free: 71.45 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002093/6.758, allocations: 176.4 kB / 2.927 GB, free: 71.26 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.575e-05/6.758, allocations: 8.547 kB / 2.927 GB, free: 71.25 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004653/6.758, allocations: 51.86 kB / 2.927 GB, free: 71.2 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.227e-05/6.758, allocations: 27.92 kB / 2.927 GB, free: 71.18 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.625e-05/6.758, allocations: 15.98 kB / 2.927 GB, free: 71.16 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0003203/6.759, allocations: 357.5 kB / 2.928 GB, free: 70.82 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.4e-07/6.759, allocations: 3.5 kB / 2.928 GB, free: 70.82 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001194/6.76, allocations: 451.1 kB / 2.928 GB, free: 70.38 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (del.dynBal.medium.Xi[1],del.dynBal.U,del.dynBal.m) * 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.001508/6.761, allocations: 1.252 MB / 2.929 GB, free: 69.09 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0006554/6.762, allocations: 499.2 kB / 2.93 GB, free: 68.6 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.027e-06/6.762, allocations: 4 kB / 2.93 GB, free: 68.6 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001909/6.762, allocations: 167.8 kB / 2.93 GB, free: 68.43 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001604/6.764, allocations: 359.6 kB / 2.93 GB, free: 68.09 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001536/6.765, allocations: 0.9744 MB / 2.931 GB, free: 67.07 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003653/6.766, allocations: 0.9501 MB / 2.932 GB, free: 66.09 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0007479/6.766, allocations: 236.7 kB / 2.933 GB, free: 65.86 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.512e-05/6.767, allocations: 39.44 kB / 2.933 GB, free: 65.82 MB / 0.6042 GB Notification: Performance of SimCode: time 2.21e-07/6.767, allocations: 0 / 2.933 GB, free: 65.82 MB / 0.6042 GB Notification: Performance of Templates: time 0.03543/6.802, allocations: 30.43 MB / 2.962 GB, free: 35.5 MB / 0.6042 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Delays.Examples.Delay.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Delays.Examples.Delay.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Delays.Examples.Delay.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Delays.Examples.Delay.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Delays.Examples.Delay.sim & ./IBPSA_latest_IBPSA.Fluid.Delays.Examples.Delay -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Delays.Examples.Delay.pipe 2>&1)