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.7429/0.7429, allocations: 94.77 MB / 102.2 MB, free: 10.13 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.002826/0.002826, allocations: 172.3 kB / 125.5 MB, free: 11.88 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.79/1.79, allocations: 170.6 MB / 319.4 MB, free: 9.32 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.001907/0.001906, allocations: 110.5 kB / 381.3 MB, free: 18.27 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.696e-05/1.707e-05, allocations: 0 / 449.1 MB, free: 1.742 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1691/0.1691, allocations: 61.52 MB / 0.4987 GB, free: 4.137 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 14.07/14.24, allocations: 5.298 GB / 5.796 GB, free: 164.8 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002987/14.24, allocations: 85.59 kB / 5.796 GB, free: 164.8 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.586/15.82, allocations: 412.8 MB / 6.199 GB, free: 95.14 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.034e-06/15.82, allocations: 0 / 6.199 GB, free: 95.14 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.54e-05/15.82, allocations: 23.14 kB / 6.199 GB, free: 95.14 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.002242/15.83, allocations: 1.079 MB / 6.2 GB, free: 94.73 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.728e-05/15.83, allocations: 9.688 kB / 6.2 GB, free: 94.73 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003791/15.83, allocations: 108.8 kB / 6.201 GB, free: 94.68 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.08122/15.91, allocations: 40.12 MB / 6.24 GB, free: 91.73 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.227e-05/15.91, allocations: 24.41 kB / 6.24 GB, free: 91.73 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001208/15.91, allocations: 34.28 kB / 6.24 GB, free: 91.73 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001385/15.91, allocations: 0.6562 MB / 6.24 GB, free: 91.73 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001096/15.91, allocations: 0.5508 MB / 6.241 GB, free: 91.68 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.687e-05/15.91, allocations: 2.406 kB / 6.241 GB, free: 91.68 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.735e-05/15.91, allocations: 0.6562 kB / 6.241 GB, free: 91.68 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.038e-05/15.91, allocations: 14.97 kB / 6.241 GB, free: 91.68 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.004199/15.92, allocations: 2.059 MB / 6.243 GB, free: 90.96 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008737/15.92, allocations: 418.5 kB / 6.243 GB, free: 90.93 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003652/15.92, allocations: 240.4 kB / 6.244 GB, free: 90.93 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002003/15.92, allocations: 187.3 kB / 6.244 GB, free: 90.74 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.331e-05/15.92, allocations: 42.78 kB / 6.244 GB, free: 90.7 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=48): time 3.276e-06/15.92, allocations: 0 / 6.244 GB, free: 90.7 MB / 0.5261 GB Notification: Performance of matching and sorting (n=54): time 0.006131/15.92, allocations: 1.849 MB / 6.246 GB, free: 90.29 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.622e-05/15.92, allocations: 55.97 kB / 6.246 GB, free: 90.22 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000589/15.92, allocations: 440.9 kB / 6.246 GB, free: 90.12 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 5.169e-05/15.92, allocations: 26.86 kB / 6.246 GB, free: 90.09 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002441/15.92, allocations: 363.4 kB / 6.247 GB, free: 89.91 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001425/15.92, allocations: 191.5 kB / 6.247 GB, free: 89.79 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.057e-05/15.92, allocations: 0 / 6.247 GB, free: 89.79 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001097/15.92, allocations: 370.3 kB / 6.247 GB, free: 89.47 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003027/15.92, allocations: 203.2 kB / 6.247 GB, free: 89.47 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003913/15.92, allocations: 318.6 kB / 6.248 GB, free: 89.35 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001138/15.93, allocations: 405.8 kB / 6.248 GB, free: 89.35 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/15.93, allocations: 0 / 6.248 GB, free: 89.35 MB / 0.5261 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001791/15.93, allocations: 0.7581 MB / 6.249 GB, free: 89.28 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001794/15.93, allocations: 0.7893 MB / 6.249 GB, free: 88.46 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.12e-05/15.93, allocations: 6.766 kB / 6.249 GB, free: 88.46 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.516e-05/15.93, allocations: 3.594 kB / 6.249 GB, free: 88.46 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007454/15.93, allocations: 148.3 kB / 6.25 GB, free: 88.46 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.639e-05/15.93, allocations: 6.406 kB / 6.25 GB, free: 88.46 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006174/15.93, allocations: 57.59 kB / 6.25 GB, free: 88.45 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.477e-05/15.93, allocations: 23.58 kB / 6.25 GB, free: 88.45 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 8.335e-06/15.93, allocations: 7.984 kB / 6.25 GB, free: 88.45 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0013/15.93, allocations: 0.6276 MB / 6.25 GB, free: 88.44 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/15.93, allocations: 2.5 kB / 6.25 GB, free: 88.44 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.975e-06/15.93, allocations: 7.719 kB / 6.25 GB, free: 88.44 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006712/15.93, allocations: 144 kB / 6.25 GB, free: 88.44 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.746e-06/15.93, allocations: 12.45 kB / 6.25 GB, free: 88.44 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000532/15.93, allocations: 55 kB / 6.251 GB, free: 88.43 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.065e-05/15.93, allocations: 27.52 kB / 6.251 GB, free: 88.43 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.0003359/15.93, allocations: 212.2 kB / 6.251 GB, free: 88.31 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00014/15.93, allocations: 64.94 kB / 6.251 GB, free: 88.28 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00182/15.93, allocations: 0.7501 MB / 6.252 GB, free: 88.21 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.255e-06/15.93, allocations: 7.5 kB / 6.252 GB, free: 88.21 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/15.93, allocations: 0 / 6.252 GB, free: 88.21 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.594e-06/15.93, allocations: 3.141 kB / 6.252 GB, free: 88.21 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002792/15.94, allocations: 1.499 MB / 6.253 GB, free: 87.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.893e-06/15.94, allocations: 2.281 kB / 6.253 GB, free: 87.9 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007608/15.94, allocations: 134.8 kB / 6.253 GB, free: 87.9 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.379e-05/15.94, allocations: 3.594 kB / 6.253 GB, free: 87.9 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.839e-05/15.94, allocations: 21.47 kB / 6.253 GB, free: 87.89 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.123e-06/15.94, allocations: 5.469 kB / 6.253 GB, free: 87.89 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.439e-06/15.94, allocations: 2.5 kB / 6.253 GB, free: 87.89 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002003/15.94, allocations: 1.094 MB / 6.254 GB, free: 87.62 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004079/15.94, allocations: 225.1 kB / 6.254 GB, free: 87.48 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001005/15.94, allocations: 8.578 kB / 6.254 GB, free: 87.48 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005944/15.94, allocations: 41.48 kB / 6.255 GB, free: 87.48 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001132/15.94, allocations: 38.22 kB / 6.255 GB, free: 87.48 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.063e-05/15.94, allocations: 34.02 kB / 6.255 GB, free: 87.48 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0004924/15.94, allocations: 353.4 kB / 6.255 GB, free: 87.39 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.124e-06/15.94, allocations: 3.281 kB / 6.255 GB, free: 87.39 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.002328/15.94, allocations: 0.5773 MB / 6.255 GB, free: 87.31 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.002352/15.95, allocations: 1.409 MB / 6.257 GB, free: 87.06 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.00132/15.95, allocations: 0.8223 MB / 6.258 GB, free: 87.05 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.219e-06/15.95, allocations: 3.969 kB / 6.258 GB, free: 87.05 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0003114/15.95, allocations: 272.5 kB / 6.258 GB, free: 87.05 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001752/15.95, allocations: 356.4 kB / 6.258 GB, free: 87.04 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002385/15.95, allocations: 1.21 MB / 6.259 GB, free: 86.69 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004409/15.95, allocations: 1.009 MB / 6.26 GB, free: 85.99 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001148/15.95, allocations: 275.7 kB / 6.261 GB, free: 85.98 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001792/15.95, allocations: 59.97 kB / 6.261 GB, free: 85.97 MB / 0.5261 GB Notification: Performance of SimCode: time 7.11e-07/15.95, allocations: 0 / 6.261 GB, free: 85.97 MB / 0.5261 GB Notification: Performance of Templates: time 0.03414/15.99, allocations: 22.85 MB / 6.283 GB, free: 84.59 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)