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.553/0.553, allocations: 95.6 MB / 110.6 MB, free: 9.367 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.00112/0.00112, allocations: 166.3 kB / 134.2 MB, free: 2.262 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.545/1.545, allocations: 170.7 MB / 328.4 MB, free: 12.18 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.001847/0.001848, allocations: 115.3 kB / 390.7 MB, free: 13.87 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004265/0.0004265, allocations: 12 kB / 462.7 MB, free: 35.69 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1597/0.1601, allocations: 61.53 MB / 0.512 GB, free: 6.09 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 11.88/12.04, allocations: 5.298 GB / 5.81 GB, free: 122.2 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002715/12.04, allocations: 87.95 kB / 5.81 GB, free: 122.1 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.358/13.4, allocations: 418.4 MB / 6.219 GB, free: 104.9 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.062e-06/13.4, allocations: 2.719 kB / 6.219 GB, free: 104.9 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.69e-05/13.4, allocations: 23.41 kB / 6.219 GB, free: 104.9 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.002431/13.4, allocations: 1.189 MB / 6.22 GB, free: 104.1 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.292e-05/13.4, allocations: 15.08 kB / 6.22 GB, free: 104.1 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000352/13.4, allocations: 105.6 kB / 6.22 GB, free: 104.1 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07134/13.47, allocations: 40.81 MB / 6.26 GB, free: 72.36 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.108e-05/13.47, allocations: 45.31 kB / 6.26 GB, free: 72.32 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001007/13.47, allocations: 60 kB / 6.26 GB, free: 72.26 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001389/13.48, allocations: 0.678 MB / 6.261 GB, free: 71.57 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.947e-05/13.48, allocations: 3.953 kB / 6.261 GB, free: 71.57 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.41e-05/13.48, allocations: 28 kB / 6.261 GB, free: 71.54 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.226e-05/13.48, allocations: 12 kB / 6.261 GB, free: 71.53 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001185/13.48, allocations: 0.7506 MB / 6.262 GB, free: 70.78 MB / 0.5261 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.00341/13.48, allocations: 2.211 MB / 6.264 GB, free: 68.45 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000834/13.48, allocations: 472.5 kB / 6.264 GB, free: 67.97 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001442/13.48, allocations: 186.6 kB / 6.264 GB, free: 67.75 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.094e-05/13.48, allocations: 42.98 kB / 6.265 GB, free: 67.7 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=48): time 2.355e-06/13.48, allocations: 0 / 6.265 GB, free: 67.7 MB / 0.5261 GB Notification: Performance of matching and sorting (n=54): time 0.005468/13.49, allocations: 2.145 MB / 6.267 GB, free: 65.51 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.041e-05/13.49, allocations: 63.84 kB / 6.267 GB, free: 65.43 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000606/13.49, allocations: 0.5854 MB / 6.267 GB, free: 64.84 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 5.525e-05/13.49, allocations: 37.7 kB / 6.267 GB, free: 64.8 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001774/13.49, allocations: 352.5 kB / 6.268 GB, free: 64.45 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001195/13.49, allocations: 189.3 kB / 6.268 GB, free: 64.26 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.9e-05/13.49, allocations: 8 kB / 6.268 GB, free: 64.25 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.94e-05/13.49, allocations: 382.8 kB / 6.268 GB, free: 63.87 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003749/13.49, allocations: 237 kB / 6.268 GB, free: 63.63 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004043/13.49, allocations: 349.9 kB / 6.269 GB, free: 63.25 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004197/13.49, allocations: 282 kB / 6.269 GB, free: 62.98 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/13.49, allocations: 0 / 6.269 GB, free: 62.98 MB / 0.5261 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001031/13.49, allocations: 0.7216 MB / 6.27 GB, free: 62.25 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001571/13.49, allocations: 0.7938 MB / 6.27 GB, free: 61.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.616e-06/13.49, allocations: 4 kB / 6.27 GB, free: 61.39 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.799e-05/13.49, allocations: 4 kB / 6.27 GB, free: 61.39 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007218/13.49, allocations: 147.8 kB / 6.271 GB, free: 61.25 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.288e-06/13.49, allocations: 4 kB / 6.271 GB, free: 61.24 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005533/13.49, allocations: 71.88 kB / 6.271 GB, free: 61.17 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.834e-05/13.49, allocations: 22.95 kB / 6.271 GB, free: 61.15 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 6.893e-06/13.49, allocations: 4 kB / 6.271 GB, free: 61.15 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009138/13.49, allocations: 0.6156 MB / 6.271 GB, free: 60.53 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/13.49, allocations: 7.984 kB / 6.271 GB, free: 60.52 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.28e-06/13.49, allocations: 4 kB / 6.271 GB, free: 60.52 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006496/13.49, allocations: 147.8 kB / 6.271 GB, free: 60.38 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.069e-06/13.49, allocations: 4 kB / 6.271 GB, free: 60.37 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004777/13.49, allocations: 71.77 kB / 6.272 GB, free: 60.3 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.029e-05/13.49, allocations: 20 kB / 6.272 GB, free: 60.28 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" fixed = true 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" fixed = true 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" fixed = true 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 () * Number of clocked 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.0005269/13.49, allocations: 421.7 kB / 6.272 GB, free: 59.86 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001198/13.49, allocations: 83 kB / 6.272 GB, free: 59.78 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001276/13.5, allocations: 0.7172 MB / 6.273 GB, free: 59.05 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.78e-06/13.5, allocations: 4 kB / 6.273 GB, free: 59.05 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/13.5, allocations: 0 / 6.273 GB, free: 59.05 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.903e-06/13.5, allocations: 7.938 kB / 6.273 GB, free: 59.04 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002046/13.5, allocations: 1.544 MB / 6.274 GB, free: 57.43 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.478e-06/13.5, allocations: 7.938 kB / 6.274 GB, free: 57.42 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006581/13.5, allocations: 131.9 kB / 6.274 GB, free: 57.29 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.51e-06/13.5, allocations: 4 kB / 6.274 GB, free: 57.29 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.921e-05/13.5, allocations: 16.11 kB / 6.274 GB, free: 57.27 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.653e-06/13.5, allocations: 11.94 kB / 6.274 GB, free: 57.26 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/13.5, allocations: 3.828 kB / 6.274 GB, free: 57.26 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0013/13.5, allocations: 1.084 MB / 6.276 GB, free: 56.12 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003225/13.5, allocations: 236 kB / 6.276 GB, free: 55.87 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.955e-05/13.5, allocations: 12 kB / 6.276 GB, free: 55.86 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005677/13.5, allocations: 51.95 kB / 6.276 GB, free: 55.81 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.267e-05/13.5, allocations: 40.28 kB / 6.276 GB, free: 55.77 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.279e-05/13.5, allocations: 35.97 kB / 6.276 GB, free: 55.73 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0004417/13.5, allocations: 475 kB / 6.276 GB, free: 55.27 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.6e-07/13.5, allocations: 0 / 6.276 GB, free: 55.27 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001906/13.5, allocations: 0.6402 MB / 6.277 GB, free: 54.63 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 () * Number of clocked 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.001967/13.51, allocations: 1.23 MB / 6.278 GB, free: 53.39 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001519/13.51, allocations: 0.9146 MB / 6.279 GB, free: 52.48 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 6.822e-06/13.51, allocations: 0 / 6.279 GB, free: 52.48 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0004141/13.51, allocations: 302.2 kB / 6.279 GB, free: 52.19 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002027/13.51, allocations: 459.2 kB / 6.28 GB, free: 51.74 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003042/13.51, allocations: 1.916 MB / 6.282 GB, free: 49.78 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004857/13.51, allocations: 1.007 MB / 6.283 GB, free: 48.75 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001213/13.51, allocations: 254.4 kB / 6.283 GB, free: 48.49 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000213/13.51, allocations: 79.41 kB / 6.283 GB, free: 48.41 MB / 0.5261 GB Notification: Performance of SimCode: time 1.062e-06/13.51, allocations: 0 / 6.283 GB, free: 48.41 MB / 0.5261 GB Notification: Performance of Templates: time 0.04197/13.56, allocations: 31.26 MB / 6.313 GB, free: 17.22 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)