Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Delays.Examples.Delay.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Delays.Examples.Delay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Delays.Examples.Delay") translateModel(Buildings.Fluid.Delays.Examples.Delay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Delays.Examples.Delay") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.799/1.799, allocations: 287.5 MB / 302.6 MB, free: 8.176 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.001307/0.001307, allocations: 170.2 kB / 371.2 MB, free: 10.82 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.607/1.607, allocations: 205.4 MB / 0.6298 GB, free: 10.58 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008228/0.0008228, allocations: 100.7 kB / 0.7432 GB, free: 6.551 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003946/0.0003946, allocations: 11.5 kB / 0.8661 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2851/0.2855, allocations: 115.3 MB / 0.9787 GB, free: 28.19 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Delays.Examples.Delay): time 0.9157/1.201, allocations: 166.6 MB / 1.141 GB, free: 13.17 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.008367/1.21, allocations: 4.536 MB / 1.146 GB, free: 11.81 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001455/1.211, allocations: 25.28 kB / 1.146 GB, free: 11.8 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.001251/1.213, allocations: 283 kB / 1.146 GB, free: 11.68 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.00393/1.216, allocations: 1.04 MB / 1.147 GB, free: 11.23 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.002531/1.219, allocations: 0.598 MB / 1.148 GB, free: 11.11 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.00342/1.222, allocations: 2.14 MB / 1.15 GB, free: 10.75 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001042/1.223, allocations: 496.1 kB / 1.15 GB, free: 10.6 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002217/1.226, allocations: 0.71 MB / 1.151 GB, free: 10.28 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009146/1.227, allocations: 0.525 MB / 1.151 GB, free: 10.04 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 8.708e-05/1.227, allocations: 24.59 kB / 1.152 GB, free: 10.04 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002591/1.229, allocations: 0.8665 MB / 1.152 GB, free: 9.734 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0003286/1.23, allocations: 228.6 kB / 1.153 GB, free: 9.625 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0002644/1.23, allocations: 168 kB / 1.153 GB, free: 9.57 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001365/1.231, allocations: 0.9552 MB / 1.154 GB, free: 9.062 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/1.231, allocations: 0 / 1.154 GB, free: 9.062 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.024e-06/1.231, allocations: 1.281 kB / 1.154 GB, free: 9.062 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.064e-05/1.231, allocations: 0 / 1.154 GB, free: 9.062 MB / 0.698 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.002033/1.233, allocations: 0.9602 MB / 1.155 GB, free: 8.324 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 8.561e-05/1.234, allocations: 10.09 kB / 1.155 GB, free: 8.324 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001323/1.235, allocations: 204.5 kB / 1.155 GB, free: 8.242 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001223/1.236, allocations: 0.5837 MB / 1.155 GB, free: 7.84 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.655e-05/1.236, allocations: 41.16 kB / 1.155 GB, free: 7.836 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001254/1.236, allocations: 46.62 kB / 1.155 GB, free: 7.836 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001209/1.238, allocations: 499.8 kB / 1.156 GB, free: 7.703 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.436e-05/1.238, allocations: 0 / 1.156 GB, free: 7.703 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.427e-05/1.238, allocations: 21.84 kB / 1.156 GB, free: 7.699 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.923e-05/1.238, allocations: 23.81 kB / 1.156 GB, free: 7.691 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009722/1.239, allocations: 442.8 kB / 1.156 GB, free: 7.613 MB / 0.698 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.003367/1.242, allocations: 2.005 MB / 1.158 GB, free: 6.246 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007341/1.243, allocations: 356.9 kB / 1.159 GB, free: 6.082 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004082/1.243, allocations: 211.6 kB / 1.159 GB, free: 5.98 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000339/1.244, allocations: 196.5 kB / 1.159 GB, free: 5.777 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.075e-05/1.244, allocations: 37.78 kB / 1.159 GB, free: 5.734 MB / 0.698 GB Notification: Performance of pre-optimization done (n=33): time 1.904e-06/1.244, allocations: 0 / 1.159 GB, free: 5.734 MB / 0.698 GB Notification: Performance of matching and sorting (n=33): time 0.001403/1.245, allocations: 0.5518 MB / 1.16 GB, free: 5.461 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.166e-05/1.245, allocations: 62.61 kB / 1.16 GB, free: 5.391 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007508/1.246, allocations: 0.4943 MB / 1.16 GB, free: 5.094 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.439e-05/1.246, allocations: 37.23 kB / 1.16 GB, free: 5.055 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002501/1.246, allocations: 306.2 kB / 1.161 GB, free: 4.785 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001277/1.246, allocations: 117.5 kB / 1.161 GB, free: 4.684 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.731e-05/1.246, allocations: 5.188 kB / 1.161 GB, free: 4.68 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000179/1.246, allocations: 368.3 kB / 1.161 GB, free: 4.324 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003117/1.247, allocations: 134.6 kB / 1.161 GB, free: 4.262 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003913/1.247, allocations: 223.5 kB / 1.161 GB, free: 4.105 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006611/1.248, allocations: 337.5 kB / 1.162 GB, free: 3.922 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/1.248, allocations: 1.188 kB / 1.162 GB, free: 3.922 MB / 0.698 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0008105/1.249, allocations: 442.4 kB / 1.162 GB, free: 3.691 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 8.463e-05/1.249, allocations: 113.8 kB / 1.162 GB, free: 3.57 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.726e-06/1.249, allocations: 1 kB / 1.162 GB, free: 3.57 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.982e-05/1.249, allocations: 7.281 kB / 1.162 GB, free: 3.566 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003785/1.249, allocations: 77.45 kB / 1.162 GB, free: 3.547 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.076e-05/1.249, allocations: 2.375 kB / 1.162 GB, free: 3.547 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006414/1.25, allocations: 58.53 kB / 1.162 GB, free: 3.516 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.366e-05/1.25, allocations: 16.89 kB / 1.162 GB, free: 3.508 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 7.434e-06/1.25, allocations: 8.781 kB / 1.162 GB, free: 3.504 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006758/1.251, allocations: 351.7 kB / 1.163 GB, free: 3.34 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.03e-06/1.251, allocations: 1.875 kB / 1.163 GB, free: 3.34 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.557e-06/1.251, allocations: 2.031 kB / 1.163 GB, free: 3.34 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003083/1.251, allocations: 69.41 kB / 1.163 GB, free: 3.328 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.118e-06/1.251, allocations: 1.406 kB / 1.163 GB, free: 3.328 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004655/1.251, allocations: 72.84 kB / 1.163 GB, free: 3.285 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.002e-05/1.252, allocations: 14.16 kB / 1.163 GB, free: 3.281 MB / 0.698 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.0003538/1.252, allocations: 289.4 kB / 1.163 GB, free: 3.031 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001027/1.252, allocations: 56.97 kB / 1.163 GB, free: 3.004 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008243/1.253, allocations: 429.4 kB / 1.164 GB, free: 2.758 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.732e-06/1.253, allocations: 8.062 kB / 1.164 GB, free: 2.754 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.336e-06/1.253, allocations: 3.984 kB / 1.164 GB, free: 2.75 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006895/1.254, allocations: 451.6 kB / 1.164 GB, free: 2.441 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002014/1.256, allocations: 1.182 MB / 1.165 GB, free: 1.566 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.911e-06/1.256, allocations: 2.125 kB / 1.165 GB, free: 1.566 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004237/1.256, allocations: 92.84 kB / 1.165 GB, free: 1.543 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.08e-06/1.256, allocations: 2.594 kB / 1.165 GB, free: 1.543 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.293e-05/1.256, allocations: 12.84 kB / 1.165 GB, free: 1.535 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.619e-06/1.256, allocations: 2.281 kB / 1.165 GB, free: 1.535 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/1.256, allocations: 2.25 kB / 1.165 GB, free: 1.535 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001199/1.257, allocations: 0.739 MB / 1.166 GB, free: 1.059 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002854/1.258, allocations: 176.8 kB / 1.166 GB, free: 0.8984 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.259e-05/1.258, allocations: 12.08 kB / 1.166 GB, free: 0.8906 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004991/1.258, allocations: 54.42 kB / 1.166 GB, free: 0.8633 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.075e-05/1.258, allocations: 22.66 kB / 1.166 GB, free: 0.8516 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.84e-05/1.258, allocations: 10.44 kB / 1.166 GB, free: 0.8516 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0004898/1.259, allocations: 359 kB / 1.167 GB, free: 0.6367 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.6e-07/1.259, allocations: 3.938 kB / 1.167 GB, free: 0.6328 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.00102/1.26, allocations: 318 kB / 1.167 GB, free: 0.5781 MB / 0.698 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.000485/1.26, allocations: 205.2 kB / 1.167 GB, free: 440 kB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001095/1.261, allocations: 0.5299 MB / 1.168 GB, free: 196 kB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.947e-06/1.261, allocations: 0 / 1.168 GB, free: 196 kB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003574/1.262, allocations: 185.3 kB / 1.168 GB, free: 112 kB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002022/1.264, allocations: 368.3 kB / 1.168 GB, free: 15.93 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002288/1.266, allocations: 1.544 MB / 1.17 GB, free: 14.82 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005217/1.267, allocations: 0.9295 MB / 1.171 GB, free: 14 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.000688/1.267, allocations: 182.2 kB / 1.171 GB, free: 13.92 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00013/1.268, allocations: 53.22 kB / 1.171 GB, free: 13.91 MB / 0.7136 GB Notification: Performance of SimCode: time 5.21e-07/1.268, allocations: 0 / 1.171 GB, free: 13.91 MB / 0.7136 GB Notification: Performance of Templates: time 0.02022/1.288, allocations: 10.99 MB / 1.182 GB, free: 8.43 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Delays.Examples.Delay.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Delays.Examples.Delay.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Delays.Examples.Delay.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Delays.Examples.Delay.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Delays.Examples.Delay.sim & ./Buildings_8.0.0_Buildings.Fluid.Delays.Examples.Delay -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Delays.Examples.Delay.pipe 2>&1)