Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Delays.Examples.Delay.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.Delays.Examples.Delay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Delays.Examples.Delay") translateModel(Buildings.Fluid.Delays.Examples.Delay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Delays.Examples.Delay") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.727/1.727, allocations: 293 MB / 309 MB, free: 4.809 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001251/0.001251, allocations: 172.6 kB / 378.7 MB, free: 1.023 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.831/1.831, allocations: 205.4 MB / 0.6383 GB, free: 8.219 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008184/0.0008183, allocations: 93.22 kB / 0.7527 GB, free: 62.9 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004182/0.0004182, allocations: 15.98 kB / 0.8768 GB, free: 10.45 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2822/0.2826, allocations: 116.4 MB / 0.9904 GB, free: 5.91 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.233/5.515, allocations: 2.079 GB / 3.069 GB, free: 137.9 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003178/5.516, allocations: 91.95 kB / 3.069 GB, free: 137.8 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.637/7.152, allocations: 481.7 MB / 3.54 GB, free: 28.21 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.394e-06/7.152, allocations: 0 / 3.54 GB, free: 28.21 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001274/7.153, allocations: 20 kB / 3.54 GB, free: 28.19 MB / 0.948 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.003644/7.156, allocations: 1.083 MB / 3.541 GB, free: 27.05 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 6.199e-05/7.156, allocations: 11.97 kB / 3.541 GB, free: 27.04 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00169/7.158, allocations: 207.8 kB / 3.541 GB, free: 26.84 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001988/7.16, allocations: 0.637 MB / 3.541 GB, free: 26.16 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.458e-05/7.16, allocations: 41.38 kB / 3.541 GB, free: 26.12 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001224/7.16, allocations: 52.28 kB / 3.541 GB, free: 26.07 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001087/7.161, allocations: 486.9 kB / 3.542 GB, free: 25.59 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.517e-05/7.161, allocations: 7.938 kB / 3.542 GB, free: 25.59 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.73e-05/7.162, allocations: 23.98 kB / 3.542 GB, free: 25.56 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.861e-05/7.162, allocations: 13 kB / 3.542 GB, free: 25.55 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007598/7.162, allocations: 431.7 kB / 3.542 GB, free: 25.13 MB / 0.948 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.003213/7.166, allocations: 2.002 MB / 3.544 GB, free: 22.95 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005798/7.166, allocations: 331.5 kB / 3.545 GB, free: 22.61 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003826/7.167, allocations: 217.1 kB / 3.545 GB, free: 22.4 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003172/7.167, allocations: 186.5 kB / 3.545 GB, free: 22.18 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.159e-05/7.167, allocations: 46.78 kB / 3.545 GB, free: 22.12 MB / 0.948 GB Notification: Performance of pre-optimization done (n=33): time 5.2e-06/7.167, allocations: 0 / 3.545 GB, free: 22.12 MB / 0.948 GB Notification: Performance of matching and sorting (n=33): time 0.001317/7.168, allocations: 0.538 MB / 3.546 GB, free: 21.58 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.003e-05/7.168, allocations: 59.34 kB / 3.546 GB, free: 21.51 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000597/7.169, allocations: 0.499 MB / 3.546 GB, free: 21 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 3.852e-05/7.169, allocations: 33.7 kB / 3.546 GB, free: 20.96 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002012/7.169, allocations: 308.2 kB / 3.547 GB, free: 20.66 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 9.815e-05/7.169, allocations: 114.2 kB / 3.547 GB, free: 20.54 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.842e-05/7.169, allocations: 8 kB / 3.547 GB, free: 20.54 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001589/7.17, allocations: 366.8 kB / 3.547 GB, free: 20.17 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002377/7.17, allocations: 136.6 kB / 3.547 GB, free: 20.03 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003238/7.17, allocations: 231.2 kB / 3.547 GB, free: 19.77 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005565/7.171, allocations: 335.2 kB / 3.548 GB, free: 19.43 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/7.171, allocations: 0 / 3.548 GB, free: 19.43 MB / 0.948 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006896/7.171, allocations: 435.4 kB / 3.548 GB, free: 19 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 8.902e-05/7.172, allocations: 115.5 kB / 3.548 GB, free: 18.88 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.839e-06/7.172, allocations: 0 / 3.548 GB, free: 18.88 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.765e-05/7.172, allocations: 4 kB / 3.548 GB, free: 18.87 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003791/7.172, allocations: 79.98 kB / 3.548 GB, free: 18.79 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.618e-05/7.172, allocations: 4 kB / 3.548 GB, free: 18.79 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000663/7.173, allocations: 63.64 kB / 3.548 GB, free: 18.73 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.198e-05/7.173, allocations: 12 kB / 3.548 GB, free: 18.71 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 6.232e-06/7.173, allocations: 4 kB / 3.548 GB, free: 18.71 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005764/7.173, allocations: 351.9 kB / 3.549 GB, free: 18.37 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.124e-06/7.173, allocations: 0 / 3.549 GB, free: 18.37 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 5e-06/7.173, allocations: 4 kB / 3.549 GB, free: 18.36 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002885/7.174, allocations: 83.75 kB / 3.549 GB, free: 18.28 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.764e-06/7.174, allocations: 7.938 kB / 3.549 GB, free: 18.27 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004437/7.174, allocations: 59.75 kB / 3.549 GB, free: 18.21 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.568e-05/7.174, allocations: 15.98 kB / 3.549 GB, free: 18.2 MB / 0.948 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.0003897/7.175, allocations: 293 kB / 3.549 GB, free: 17.9 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.194e-05/7.175, allocations: 55.34 kB / 3.549 GB, free: 17.85 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007614/7.175, allocations: 424.2 kB / 3.55 GB, free: 17.43 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.726e-06/7.175, allocations: 4 kB / 3.55 GB, free: 17.42 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/7.175, allocations: 0 / 3.55 GB, free: 17.42 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005932/7.176, allocations: 448.4 kB / 3.55 GB, free: 16.95 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001778/7.178, allocations: 1.17 MB / 3.551 GB, free: 15.71 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.2e-06/7.178, allocations: 0 / 3.551 GB, free: 15.71 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004092/7.178, allocations: 87.88 kB / 3.551 GB, free: 15.62 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.831e-06/7.178, allocations: 8.188 kB / 3.551 GB, free: 15.62 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.933e-05/7.178, allocations: 12 kB / 3.551 GB, free: 15.61 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.418e-06/7.178, allocations: 4 kB / 3.551 GB, free: 15.6 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/7.178, allocations: 0 / 3.551 GB, free: 15.6 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001016/7.179, allocations: 0.7508 MB / 3.552 GB, free: 14.82 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002123/7.18, allocations: 176.4 kB / 3.552 GB, free: 14.63 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.561e-05/7.18, allocations: 8 kB / 3.552 GB, free: 14.62 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004751/7.18, allocations: 51.86 kB / 3.552 GB, free: 14.57 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.823e-05/7.18, allocations: 27.91 kB / 3.552 GB, free: 14.54 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.462e-05/7.18, allocations: 15.98 kB / 3.552 GB, free: 14.53 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0003572/7.181, allocations: 354.8 kB / 3.553 GB, free: 14.18 MB / 0.948 GB Notification: Performance of sort global known variables: time 5.01e-07/7.181, allocations: 0 / 3.553 GB, free: 14.18 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001494/7.182, allocations: 455.2 kB / 3.553 GB, free: 13.74 MB / 0.948 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.002112/7.184, allocations: 1.285 MB / 3.554 GB, free: 12.42 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0009187/7.185, allocations: 0.5153 MB / 3.555 GB, free: 11.91 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/7.185, allocations: 0 / 3.555 GB, free: 11.91 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002524/7.186, allocations: 184.3 kB / 3.555 GB, free: 11.73 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001718/7.187, allocations: 360.7 kB / 3.555 GB, free: 11.38 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001869/7.189, allocations: 1.538 MB / 3.557 GB, free: 9.789 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003674/7.19, allocations: 0.9295 MB / 3.558 GB, free: 8.832 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0006056/7.19, allocations: 184.8 kB / 3.558 GB, free: 8.652 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001232/7.19, allocations: 55.42 kB / 3.558 GB, free: 8.598 MB / 0.948 GB Notification: Performance of SimCode: time 4.81e-07/7.19, allocations: 0 / 3.558 GB, free: 8.598 MB / 0.948 GB Notification: Performance of Templates: time 0.6671/7.857, allocations: 26.39 MB / 3.584 GB, free: 180.3 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Fluid.Delays.Examples.Delay.makefile (rm -f Buildings_8_Buildings.Fluid.Delays.Examples.Delay.pipe ; mkfifo Buildings_8_Buildings.Fluid.Delays.Examples.Delay.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Delays.Examples.Delay.pipe >> ../files/Buildings_8_Buildings.Fluid.Delays.Examples.Delay.sim & ./Buildings_8_Buildings.Fluid.Delays.Examples.Delay -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Delays.Examples.Delay.pipe 2>&1)