Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Delays.Examples.Delay.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.Delays.Examples.Delay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Delays.Examples.Delay") translateModel(Buildings.Fluid.Delays.Examples.Delay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Delays.Examples.Delay") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.151/2.151, allocations: 251.1 MB / 266.7 MB, free: 11.63 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001456/0.001456, allocations: 173.3 kB / 326.2 MB, free: 2.867 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.382/2.382, allocations: 205.4 MB / 0.5772 GB, free: 21.16 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008703/0.0008699, allocations: 95.92 kB / 0.6817 GB, free: 14.04 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006467/0.0006469, allocations: 16 kB / 0.7957 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2174/0.2181, allocations: 106.3 MB / 0.8995 GB, free: 66.02 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.225/7.443, allocations: 2.195 GB / 3.095 GB, free: 247.1 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003943/7.444, allocations: 94.17 kB / 3.095 GB, free: 247.1 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 2.178/9.622, allocations: 468.7 MB / 3.553 GB, free: 220.1 MB / 0.8855 GB Notification: Performance of FrontEnd: time 3.246e-06/9.622, allocations: 0 / 3.553 GB, free: 220.1 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 8.799e-05/9.622, allocations: 27 kB / 3.553 GB, free: 220.1 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 115 * Number of variables: 115 Notification: Performance of Generate backend data structure: time 0.00326/9.625, allocations: 1.086 MB / 3.554 GB, free: 219 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.401e-05/9.625, allocations: 8.031 kB / 3.554 GB, free: 219 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002066/9.627, allocations: 202.7 kB / 3.554 GB, free: 218.8 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002048/9.629, allocations: 0.6238 MB / 3.555 GB, free: 218.2 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.303e-05/9.63, allocations: 37.94 kB / 3.555 GB, free: 218.1 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001233/9.63, allocations: 58.2 kB / 3.555 GB, free: 218.1 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001412/9.631, allocations: 492.9 kB / 3.555 GB, free: 217.6 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.001e-05/9.631, allocations: 0 / 3.555 GB, free: 217.6 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.52e-05/9.631, allocations: 22.47 kB / 3.555 GB, free: 217.6 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.642e-05/9.631, allocations: 17 kB / 3.555 GB, free: 217.6 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001244/9.633, allocations: 431.1 kB / 3.556 GB, free: 217.1 MB / 0.8855 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.004139/9.637, allocations: 2.018 MB / 3.558 GB, free: 215 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000809/9.638, allocations: 337.5 kB / 3.558 GB, free: 214.7 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005024/9.638, allocations: 204.5 kB / 3.558 GB, free: 214.5 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004075/9.638, allocations: 186.5 kB / 3.558 GB, free: 214.2 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.657e-05/9.639, allocations: 42.83 kB / 3.558 GB, free: 214.2 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=33): time 3.958e-06/9.639, allocations: 3.688 kB / 3.558 GB, free: 214.2 MB / 0.8855 GB Notification: Performance of matching and sorting (n=33): time 0.001988/9.641, allocations: 0.5307 MB / 3.559 GB, free: 213.7 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.742e-05/9.641, allocations: 63.28 kB / 3.559 GB, free: 213.6 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008472/9.641, allocations: 0.503 MB / 3.559 GB, free: 213.1 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 7.799e-05/9.642, allocations: 37.7 kB / 3.559 GB, free: 213 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002341/9.642, allocations: 300.1 kB / 3.56 GB, free: 212.7 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.000148/9.642, allocations: 127.1 kB / 3.56 GB, free: 212.6 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.905e-05/9.642, allocations: 4 kB / 3.56 GB, free: 212.6 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001167/9.642, allocations: 372.8 kB / 3.56 GB, free: 212.2 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004447/9.643, allocations: 132.6 kB / 3.56 GB, free: 212.1 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004942/9.643, allocations: 223.3 kB / 3.561 GB, free: 211.9 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004835/9.644, allocations: 166.8 kB / 3.561 GB, free: 211.7 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/9.644, allocations: 0 / 3.561 GB, free: 211.7 MB / 0.8855 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001199/9.645, allocations: 427 kB / 3.561 GB, free: 211.3 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 6.53e-05/9.645, allocations: 119.1 kB / 3.561 GB, free: 211.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.418e-06/9.645, allocations: 0 / 3.561 GB, free: 211.2 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.721e-05/9.645, allocations: 4 kB / 3.561 GB, free: 211.1 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006334/9.646, allocations: 71.91 kB / 3.561 GB, free: 211.1 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.161e-05/9.646, allocations: 6.875 kB / 3.561 GB, free: 211.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001099/9.647, allocations: 66.58 kB / 3.561 GB, free: 211 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.122e-05/9.647, allocations: 23.92 kB / 3.561 GB, free: 211 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 9.658e-06/9.647, allocations: 4 kB / 3.561 GB, free: 211 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000981/9.648, allocations: 339 kB / 3.562 GB, free: 210.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/9.648, allocations: 3.984 kB / 3.562 GB, free: 210.7 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.183e-06/9.648, allocations: 4 kB / 3.562 GB, free: 210.6 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005714/9.648, allocations: 71.91 kB / 3.562 GB, free: 210.6 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/9.648, allocations: 2.594 kB / 3.562 GB, free: 210.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001062/9.65, allocations: 62.58 kB / 3.562 GB, free: 210.5 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.594e-05/9.65, allocations: 12 kB / 3.562 GB, free: 210.5 MB / 0.8855 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.000546/9.65, allocations: 304.5 kB / 3.562 GB, free: 210.2 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001771/9.65, allocations: 59.28 kB / 3.562 GB, free: 210.1 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001314/9.652, allocations: 427.1 kB / 3.563 GB, free: 209.7 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.897e-06/9.652, allocations: 8 kB / 3.563 GB, free: 209.7 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/9.652, allocations: 3.688 kB / 3.563 GB, free: 209.7 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000939/9.653, allocations: 428.3 kB / 3.563 GB, free: 209.3 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002885/9.656, allocations: 1.175 MB / 3.564 GB, free: 208 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.344e-06/9.656, allocations: 4 kB / 3.564 GB, free: 208 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007988/9.656, allocations: 87.89 kB / 3.564 GB, free: 207.9 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.576e-06/9.656, allocations: 7.125 kB / 3.564 GB, free: 207.9 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.776e-05/9.657, allocations: 8 kB / 3.564 GB, free: 207.9 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.376e-06/9.657, allocations: 4 kB / 3.564 GB, free: 207.9 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.318e-06/9.657, allocations: 3.938 kB / 3.564 GB, free: 207.9 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00171/9.658, allocations: 0.7294 MB / 3.565 GB, free: 207.2 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004516/9.659, allocations: 184.3 kB / 3.565 GB, free: 207 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000117/9.659, allocations: 11.89 kB / 3.565 GB, free: 207 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009625/9.66, allocations: 54.25 kB / 3.565 GB, free: 206.9 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.137e-05/9.66, allocations: 31.94 kB / 3.565 GB, free: 206.9 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.277e-05/9.66, allocations: 15.94 kB / 3.565 GB, free: 206.9 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0006273/9.661, allocations: 362.8 kB / 3.566 GB, free: 206.5 MB / 0.8855 GB Notification: Performance of sort global known variables: time 5.21e-07/9.661, allocations: 0 / 3.566 GB, free: 206.5 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.001907/9.663, allocations: 454.2 kB / 3.566 GB, free: 206.1 MB / 0.8855 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.00244/9.665, allocations: 1.254 MB / 3.567 GB, free: 204.9 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.001695/9.667, allocations: 0.5046 MB / 3.568 GB, free: 204.4 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 6.672e-06/9.667, allocations: 0 / 3.568 GB, free: 204.4 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0004855/9.667, allocations: 180.7 kB / 3.568 GB, free: 204.2 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003513/9.671, allocations: 370.9 kB / 3.568 GB, free: 203.8 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002984/9.674, allocations: 1.558 MB / 3.57 GB, free: 202.2 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005315/9.674, allocations: 0.9334 MB / 3.571 GB, free: 201.3 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.00121/9.676, allocations: 180.2 kB / 3.571 GB, free: 201.1 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002224/9.676, allocations: 51.44 kB / 3.571 GB, free: 201.1 MB / 0.8855 GB Notification: Performance of SimCode: time 1.312e-06/9.676, allocations: 4 kB / 3.571 GB, free: 201 MB / 0.8855 GB Notification: Performance of Templates: time 0.06085/9.737, allocations: 26.13 MB / 3.596 GB, free: 175.1 MB / 0.8855 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.Delays.Examples.Delay.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.Delays.Examples.Delay.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.Delays.Examples.Delay.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.Delays.Examples.Delay.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.Delays.Examples.Delay.sim & ./Buildings_7.0.0_Buildings.Fluid.Delays.Examples.Delay -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.Delays.Examples.Delay.pipe 2>&1)