Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Delays.Examples.Delay.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo", uses=false) 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/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.Delays.Examples.Delay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Delays.Examples.Delay") translateModel(Buildings.Fluid.Delays.Examples.Delay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Delays.Examples.Delay") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.584/1.584, allocations: 297.8 MB / 313.7 MB, free: 136 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009384/0.0009383, allocations: 180.5 kB / 384.6 MB, free: 10.88 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.352/1.352, allocations: 223.2 MB / 0.6626 GB, free: 4.246 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0006417/0.0006418, allocations: 94.36 kB / 0.7808 GB, free: 50.64 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003751/0.0003752, allocations: 16 kB / 0.9088 GB, free: 2.875 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6375/0.6379, allocations: 120.3 MB / 1.026 GB, free: 55.95 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.5/5.138, allocations: 1.915 GB / 2.941 GB, free: 284.2 MB / 0.9792 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003814/5.139, allocations: 92.83 kB / 2.941 GB, free: 284.2 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 1.866/7.005, allocations: 487.6 MB / 3.417 GB, free: 196.7 MB / 0.9792 GB Notification: Performance of FrontEnd: time 2.365e-06/7.005, allocations: 0 / 3.417 GB, free: 196.7 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 0.0001597/7.005, allocations: 18.97 kB / 3.417 GB, free: 196.7 MB / 0.9792 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.00426/7.009, allocations: 1.079 MB / 3.418 GB, free: 195.8 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 6.582e-05/7.01, allocations: 11.5 kB / 3.418 GB, free: 195.8 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002011/7.012, allocations: 206.4 kB / 3.418 GB, free: 195.7 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002201/7.014, allocations: 0.6396 MB / 3.419 GB, free: 195.2 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.652e-05/7.014, allocations: 48.08 kB / 3.419 GB, free: 195.2 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001944/7.014, allocations: 47.33 kB / 3.419 GB, free: 195.2 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001197/7.015, allocations: 487.8 kB / 3.42 GB, free: 194.9 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.253e-05/7.015, allocations: 7.875 kB / 3.42 GB, free: 194.9 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.508e-05/7.015, allocations: 15.91 kB / 3.42 GB, free: 194.9 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.037e-05/7.016, allocations: 23.3 kB / 3.42 GB, free: 194.9 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001022/7.017, allocations: 422.3 kB / 3.42 GB, free: 194.7 MB / 0.9792 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.003961/7.021, allocations: 2.009 MB / 3.422 GB, free: 193 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005922/7.021, allocations: 333.2 kB / 3.422 GB, free: 192.8 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00034/7.021, allocations: 205.4 kB / 3.423 GB, free: 192.7 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003242/7.022, allocations: 192.4 kB / 3.423 GB, free: 192.5 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.92e-05/7.022, allocations: 46 kB / 3.423 GB, free: 192.4 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=33): time 4.92e-06/7.022, allocations: 0 / 3.423 GB, free: 192.4 MB / 0.9792 GB Notification: Performance of matching and sorting (n=33): time 0.001586/7.023, allocations: 0.5438 MB / 3.423 GB, free: 192.2 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.914e-05/7.024, allocations: 58.81 kB / 3.423 GB, free: 192.1 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007842/7.024, allocations: 0.4942 MB / 3.424 GB, free: 191.8 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 7.723e-05/7.024, allocations: 37.08 kB / 3.424 GB, free: 191.8 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002404/7.025, allocations: 298.1 kB / 3.424 GB, free: 191.5 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001415/7.025, allocations: 120.9 kB / 3.424 GB, free: 191.4 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.72e-05/7.025, allocations: 4 kB / 3.424 GB, free: 191.4 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0001904/7.025, allocations: 369.5 kB / 3.425 GB, free: 191 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002818/7.025, allocations: 136.8 kB / 3.425 GB, free: 191 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000369/7.026, allocations: 224 kB / 3.425 GB, free: 190.8 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006143/7.026, allocations: 343.8 kB / 3.425 GB, free: 190.6 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.917e-06/7.026, allocations: 0 / 3.425 GB, free: 190.6 MB / 0.9792 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0008416/7.027, allocations: 428.8 kB / 3.426 GB, free: 190.4 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001144/7.027, allocations: 120 kB / 3.426 GB, free: 190.3 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.029e-05/7.027, allocations: 0 / 3.426 GB, free: 190.3 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.834e-05/7.027, allocations: 3.75 kB / 3.426 GB, free: 190.3 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004261/7.028, allocations: 75.23 kB / 3.426 GB, free: 190.3 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.082e-05/7.028, allocations: 3.938 kB / 3.426 GB, free: 190.3 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008112/7.029, allocations: 74.2 kB / 3.426 GB, free: 190.2 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.777e-05/7.029, allocations: 7.812 kB / 3.426 GB, free: 190.2 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 8.776e-06/7.029, allocations: 3.938 kB / 3.426 GB, free: 190.2 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006424/7.029, allocations: 345.9 kB / 3.426 GB, free: 190.1 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.296e-06/7.029, allocations: 4.094 kB / 3.426 GB, free: 190.1 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.867e-06/7.029, allocations: 3.938 kB / 3.426 GB, free: 190.1 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003272/7.03, allocations: 77.06 kB / 3.426 GB, free: 190 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.017e-06/7.03, allocations: 3.938 kB / 3.426 GB, free: 190 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006813/7.031, allocations: 62.86 kB / 3.426 GB, free: 190 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.792e-05/7.031, allocations: 18.5 kB / 3.426 GB, free: 190 MB / 0.9792 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 () * Number of clocked 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 0.0005561/7.031, allocations: 285.5 kB / 3.427 GB, free: 189.7 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001304/7.031, allocations: 69.23 kB / 3.427 GB, free: 189.7 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008201/7.032, allocations: 424.4 kB / 3.427 GB, free: 189.5 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.297e-06/7.032, allocations: 10.27 kB / 3.427 GB, free: 189.5 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.915e-06/7.032, allocations: 0 / 3.427 GB, free: 189.5 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006279/7.033, allocations: 442 kB / 3.428 GB, free: 189.2 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002035/7.035, allocations: 1.174 MB / 3.429 GB, free: 188.3 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/7.035, allocations: 0 / 3.429 GB, free: 188.3 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004077/7.035, allocations: 87.92 kB / 3.429 GB, free: 188.3 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.943e-06/7.035, allocations: 4.156 kB / 3.429 GB, free: 188.3 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.147e-05/7.035, allocations: 11.59 kB / 3.429 GB, free: 188.3 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.782e-06/7.035, allocations: 7.016 kB / 3.429 GB, free: 188.3 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/7.035, allocations: 3.375 kB / 3.429 GB, free: 188.3 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001175/7.037, allocations: 0.7299 MB / 3.43 GB, free: 187.8 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000308/7.037, allocations: 178.5 kB / 3.43 GB, free: 187.6 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.503e-05/7.037, allocations: 15.7 kB / 3.43 GB, free: 187.6 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005042/7.037, allocations: 52.36 kB / 3.43 GB, free: 187.6 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.953e-05/7.038, allocations: 27.12 kB / 3.43 GB, free: 187.6 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.209e-05/7.038, allocations: 16.22 kB / 3.43 GB, free: 187.6 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.0004778/7.038, allocations: 360.5 kB / 3.43 GB, free: 187.4 MB / 0.9792 GB Notification: Performance of sort global known variables: time 5.81e-07/7.038, allocations: 0 / 3.43 GB, free: 187.4 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.002025/7.04, allocations: 440.9 kB / 3.431 GB, free: 187.2 MB / 0.9792 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 () * Number of clocked 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.003188/7.043, allocations: 1.295 MB / 3.432 GB, free: 186.5 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.001453/7.045, allocations: 0.5137 MB / 3.432 GB, free: 186.3 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 6.783e-06/7.045, allocations: 3.406 kB / 3.432 GB, free: 186.3 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.000346/7.045, allocations: 187.1 kB / 3.433 GB, free: 186.2 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002219/7.047, allocations: 361.1 kB / 3.433 GB, free: 186 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003533/7.051, allocations: 1.548 MB / 3.434 GB, free: 184.9 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007863/7.052, allocations: 0.9297 MB / 3.435 GB, free: 184.1 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.0009427/7.053, allocations: 182.8 kB / 3.436 GB, free: 184 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001724/7.053, allocations: 44.66 kB / 3.436 GB, free: 184 MB / 0.9792 GB Notification: Performance of SimCode: time 1.152e-06/7.053, allocations: 0 / 3.436 GB, free: 184 MB / 0.9792 GB Notification: Performance of Templates: time 0.04291/7.096, allocations: 26.42 MB / 3.461 GB, free: 166.1 MB / 0.9792 GB make -j1 -f Buildings_latest_Buildings.Fluid.Delays.Examples.Delay.makefile (rm -f Buildings_latest_Buildings.Fluid.Delays.Examples.Delay.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Delays.Examples.Delay.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Delays.Examples.Delay.pipe >> ../files/Buildings_latest_Buildings.Fluid.Delays.Examples.Delay.sim & ./Buildings_latest_Buildings.Fluid.Delays.Examples.Delay -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Delays.Examples.Delay.pipe 2>&1)