Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.Delays.Examples.Delay.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Running command: translateModel(Buildings.Fluid.Delays.Examples.Delay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Delays.Examples.Delay") translateModel(Buildings.Fluid.Delays.Examples.Delay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Delays.Examples.Delay") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.7153/0.7153, allocations: 94.69 MB / 107.3 MB, free: 5.176 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001103/0.001103, allocations: 179.9 kB / 130.7 MB, free: 7.535 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.585/1.585, allocations: 170.5 MB / 324.5 MB, free: 3.98 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001663/0.001663, allocations: 116.2 kB / 386.6 MB, free: 16.23 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.954e-05/3.956e-05, allocations: 0 / 456 MB, free: 11.75 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.474/0.4741, allocations: 61.52 MB / 0.5054 GB, free: 49.49 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 14.66/15.14, allocations: 5.298 GB / 5.804 GB, free: 128.2 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003355/15.14, allocations: 88.55 kB / 5.804 GB, free: 128.2 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.56/16.7, allocations: 417.8 MB / 6.212 GB, free: 100.8 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.382e-06/16.7, allocations: 0 / 6.212 GB, free: 100.8 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0001416/16.7, allocations: 19.94 kB / 6.212 GB, free: 100.8 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 149 * Number of variables: 149 Notification: Performance of Generate backend data structure: time 0.003987/16.7, allocations: 1.084 MB / 6.213 GB, free: 100.2 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.023e-05/16.7, allocations: 8.938 kB / 6.213 GB, free: 100.2 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008035/16.7, allocations: 102.4 kB / 6.213 GB, free: 100.2 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.08195/16.78, allocations: 40.7 MB / 6.253 GB, free: 89.25 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.651e-05/16.78, allocations: 46.47 kB / 6.253 GB, free: 89.23 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003993/16.78, allocations: 61.39 kB / 6.253 GB, free: 89.21 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002426/16.79, allocations: 0.6488 MB / 6.253 GB, free: 88.86 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.767e-05/16.79, allocations: 3.953 kB / 6.253 GB, free: 88.86 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001661/16.79, allocations: 23.88 kB / 6.253 GB, free: 88.84 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.408e-05/16.79, allocations: 19 kB / 6.253 GB, free: 88.83 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001574/16.79, allocations: 0.6956 MB / 6.254 GB, free: 88.41 MB / 0.5261 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.005162/16.79, allocations: 2.211 MB / 6.256 GB, free: 86.09 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009973/16.8, allocations: 440.6 kB / 6.257 GB, free: 85.64 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000377/16.8, allocations: 254 kB / 6.257 GB, free: 85.39 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001937/16.8, allocations: 186.6 kB / 6.257 GB, free: 85.18 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.404e-05/16.8, allocations: 45.72 kB / 6.257 GB, free: 85.12 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=48): time 3.607e-06/16.8, allocations: 2.531 kB / 6.257 GB, free: 85.12 MB / 0.5261 GB Notification: Performance of matching and sorting (n=54): time 0.00611/16.8, allocations: 1.862 MB / 6.259 GB, free: 83.21 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.594e-05/16.8, allocations: 59.8 kB / 6.259 GB, free: 83.14 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009529/16.8, allocations: 0.5817 MB / 6.26 GB, free: 82.55 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0001095/16.8, allocations: 41.7 kB / 6.26 GB, free: 82.51 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002351/16.8, allocations: 348.6 kB / 6.26 GB, free: 82.16 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001741/16.8, allocations: 185.2 kB / 6.26 GB, free: 81.98 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.341e-05/16.8, allocations: 12 kB / 6.26 GB, free: 81.96 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001349/16.8, allocations: 382.8 kB / 6.261 GB, free: 81.58 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000324/16.8, allocations: 213.1 kB / 6.261 GB, free: 81.37 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004011/16.8, allocations: 330 kB / 6.261 GB, free: 81 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004089/16.81, allocations: 262.8 kB / 6.261 GB, free: 80.75 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/16.81, allocations: 0 / 6.261 GB, free: 80.75 MB / 0.5261 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001089/16.81, allocations: 0.6668 MB / 6.262 GB, free: 80.07 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002116/16.81, allocations: 0.797 MB / 6.263 GB, free: 79.21 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.264e-05/16.81, allocations: 0 / 6.263 GB, free: 79.21 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.848e-05/16.81, allocations: 4 kB / 6.263 GB, free: 79.21 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007377/16.81, allocations: 155.8 kB / 6.263 GB, free: 79.06 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.168e-05/16.81, allocations: 7.938 kB / 6.263 GB, free: 79.05 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008364/16.81, allocations: 63.86 kB / 6.263 GB, free: 78.99 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.135e-05/16.81, allocations: 23.98 kB / 6.263 GB, free: 78.96 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.4e-05/16.81, allocations: 7.938 kB / 6.263 GB, free: 78.96 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009019/16.81, allocations: 0.5711 MB / 6.264 GB, free: 78.39 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/16.81, allocations: 4 kB / 6.264 GB, free: 78.38 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.927e-06/16.81, allocations: 4 kB / 6.264 GB, free: 78.38 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006694/16.81, allocations: 147.8 kB / 6.264 GB, free: 78.23 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.221e-05/16.81, allocations: 7.953 kB / 6.264 GB, free: 78.23 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007684/16.81, allocations: 68.06 kB / 6.264 GB, free: 78.16 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.138e-05/16.81, allocations: 24 kB / 6.264 GB, free: 78.14 MB / 0.5261 GB Warning: Assuming fixed start value for the following 3 variables: del.dynBal.medium.T:VARIABLE(min = max(1.0, 1.0) max = min(10000.0, 10000.0) start = del.dynBal.T_start unit = "K" nominal = 293.15 stateSelect=StateSelect.prefer protected = true ) "Temperature of medium" type: Real del.dynBal.medium.Xi[1]:VARIABLE(min = max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, 0.0))))))))))) max = min(1.0, min(1.0, min(1.0, min(1.0, min(1.0, min(1.0, min(1.0, min(1.0, min(1.0, min(1.0, min(1.0, 1.0))))))))))) start = del.dynBal.X_start[1] unit = "1" nominal = 0.1 stateSelect=StateSelect.prefer protected = true ) "Structurally independent mass fractions" type: Real [1] del.dynBal.medium.p:VARIABLE(min = max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, 0.0))))))) max = min(100000000.0, min(100000000.0, min(100000000.0, min(100000000.0, min(100000000.0, min(100000000.0, 100000000.0)))))) start = 101325.0 unit = "Pa" nominal = 100000.0 stateSelect=StateSelect.prefer protected = true ) "Absolute pressure of medium" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (68): * Single equations (assignments): 68 * 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.0004645/16.81, allocations: 235.5 kB / 6.264 GB, free: 77.91 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002068/16.81, allocations: 75.06 kB / 6.264 GB, free: 77.83 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0014/16.81, allocations: 0.6741 MB / 6.265 GB, free: 77.15 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.634e-06/16.81, allocations: 8 kB / 6.265 GB, free: 77.14 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.234e-06/16.81, allocations: 0 / 6.265 GB, free: 77.14 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.446e-06/16.81, allocations: 7.938 kB / 6.265 GB, free: 77.14 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002477/16.82, allocations: 1.505 MB / 6.266 GB, free: 75.56 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.183e-06/16.82, allocations: 7.953 kB / 6.266 GB, free: 75.55 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006332/16.82, allocations: 127.9 kB / 6.266 GB, free: 75.43 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.315e-05/16.82, allocations: 4 kB / 6.266 GB, free: 75.43 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.729e-05/16.82, allocations: 20.11 kB / 6.266 GB, free: 75.41 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.364e-06/16.82, allocations: 4 kB / 6.266 GB, free: 75.4 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/16.82, allocations: 11.22 kB / 6.266 GB, free: 75.39 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001426/16.82, allocations: 1.021 MB / 6.267 GB, free: 74.32 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005606/16.82, allocations: 236 kB / 6.268 GB, free: 74.07 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001744/16.82, allocations: 12 kB / 6.268 GB, free: 74.06 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007369/16.82, allocations: 51.95 kB / 6.268 GB, free: 74.01 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000128/16.82, allocations: 40.34 kB / 6.268 GB, free: 73.96 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.326e-05/16.82, allocations: 31.97 kB / 6.268 GB, free: 73.93 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0007292/16.82, allocations: 471.1 kB / 6.268 GB, free: 73.48 MB / 0.5261 GB Notification: Performance of sort global known variables: time 6.31e-07/16.82, allocations: 7.938 kB / 6.268 GB, free: 73.47 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.002816/16.82, allocations: 0.6402 MB / 6.269 GB, free: 72.83 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (del.dynBal.medium.p,del.dynBal.medium.Xi[1],del.dynBal.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (58): * Single equations (assignments): 58 * 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.00308/16.83, allocations: 1.238 MB / 6.27 GB, free: 71.61 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001418/16.83, allocations: 0.8712 MB / 6.271 GB, free: 70.74 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.489e-06/16.83, allocations: 0.875 kB / 6.271 GB, free: 70.74 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0003392/16.83, allocations: 278.4 kB / 6.271 GB, free: 70.46 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002231/16.83, allocations: 445.9 kB / 6.272 GB, free: 70.04 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002449/16.83, allocations: 1.252 MB / 6.273 GB, free: 68.74 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004376/16.83, allocations: 1.011 MB / 6.274 GB, free: 67.7 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001269/16.83, allocations: 310.3 kB / 6.274 GB, free: 67.39 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001925/16.83, allocations: 67.41 kB / 6.274 GB, free: 67.33 MB / 0.5261 GB Notification: Performance of SimCode: time 1.753e-06/16.83, allocations: 0 / 6.274 GB, free: 67.33 MB / 0.5261 GB Notification: Performance of Templates: time 0.04656/16.88, allocations: 35.61 MB / 6.309 GB, free: 31.82 MB / 0.5261 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Delays.Examples.Delay.makefile (rm -f Buildings_1.6_Buildings.Fluid.Delays.Examples.Delay.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.Delays.Examples.Delay.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.Delays.Examples.Delay.pipe >> ../files/Buildings_1.6_Buildings.Fluid.Delays.Examples.Delay.sim & ./Buildings_1.6_Buildings.Fluid.Delays.Examples.Delay -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.Delays.Examples.Delay.pipe 2>&1)