Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Delays.Examples.Delay.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Delays.Examples.Delay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Delays.Examples.Delay") translateModel(Buildings.Fluid.Delays.Examples.Delay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Delays.Examples.Delay") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001159/0.001159, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001124/0.001124, allocations: 190.2 kB / 16.25 MB, free: 6.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.531/1.531, allocations: 205.1 MB / 222.1 MB, free: 4.719 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.557/1.557, allocations: 251.6 MB / 0.5089 GB, free: 3.297 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001844/0.001844, allocations: 67.91 kB / 0.6217 GB, free: 1.887 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5178/0.5197, allocations: 104.7 MB / 0.724 GB, free: 13.1 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Delays.Examples.Delay): time 0.2039/0.7237, allocations: 181 MB / 0.9008 GB, free: 7.371 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.008095/0.7318, allocations: 4.879 MB / 0.9055 GB, free: 2.48 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001254/0.7331, allocations: 27.81 kB / 0.9056 GB, free: 2.453 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001339/0.7345, allocations: 382 kB / 0.9059 GB, free: 2.078 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.005907/0.7405, allocations: 1.331 MB / 0.9072 GB, free: 0.7422 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.003185/0.7437, allocations: 0.7283 MB / 0.9079 GB, free: 20 kB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.6736/1.417, allocations: 1.892 MB / 0.9098 GB, free: 3.16 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001312/1.419, allocations: 0.59 MB / 0.9104 GB, free: 3.113 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002744/1.421, allocations: 0.8891 MB / 0.9112 GB, free: 3.113 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001576/1.423, allocations: 0.5902 MB / 0.9118 GB, free: 3.109 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001444/1.423, allocations: 60.59 kB / 0.9119 GB, free: 3.109 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004195/1.427, allocations: 1.47 MB / 0.9133 GB, free: 3.109 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0006867/1.428, allocations: 269.6 kB / 0.9136 GB, free: 3.109 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0009093/1.429, allocations: 409.7 kB / 0.914 GB, free: 3.109 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.004053/1.433, allocations: 1.526 MB / 0.9154 GB, free: 3.07 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.394e-06/1.433, allocations: 0 / 0.9154 GB, free: 3.07 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.803e-06/1.433, allocations: 1.094 kB / 0.9154 GB, free: 3.07 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.233e-05/1.433, allocations: 4.719 kB / 0.9155 GB, free: 3.07 MB / 0.7169 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.002834/1.436, allocations: 1.105 MB / 0.9165 GB, free: 18.41 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 7.282e-05/1.436, allocations: 10.78 kB / 0.9165 GB, free: 18.41 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001623/1.438, allocations: 209.6 kB / 0.9167 GB, free: 18.37 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001158/1.439, allocations: 0.5778 MB / 0.9173 GB, free: 18.09 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.049e-05/1.439, allocations: 41.72 kB / 0.9173 GB, free: 18.09 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001129/1.439, allocations: 46.53 kB / 0.9174 GB, free: 18.09 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001174/1.44, allocations: 0.4963 MB / 0.9179 GB, free: 18.05 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.731e-05/1.44, allocations: 0.8125 kB / 0.9179 GB, free: 18.05 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.351e-05/1.44, allocations: 20.06 kB / 0.9179 GB, free: 18.05 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.863e-05/1.44, allocations: 16.19 kB / 0.9179 GB, free: 18.05 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001057/1.441, allocations: 444.8 kB / 0.9183 GB, free: 18.05 MB / 0.7325 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.003902/1.445, allocations: 2.003 MB / 0.9203 GB, free: 17.07 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006518/1.446, allocations: 350.9 kB / 0.9206 GB, free: 17.04 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003853/1.446, allocations: 208.7 kB / 0.9208 GB, free: 17.03 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003494/1.447, allocations: 190.3 kB / 0.921 GB, free: 16.84 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.49e-05/1.447, allocations: 44.94 kB / 0.9211 GB, free: 16.8 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=33): time 2.825e-06/1.447, allocations: 1.375 kB / 0.9211 GB, free: 16.8 MB / 0.7325 GB Notification: Performance of matching and sorting (n=33): time 0.001414/1.448, allocations: 0.539 MB / 0.9216 GB, free: 16.72 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.817e-05/1.448, allocations: 58.92 kB / 0.9216 GB, free: 16.66 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007575/1.449, allocations: 0.5058 MB / 0.9221 GB, free: 16.54 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 5.049e-05/1.449, allocations: 33.48 kB / 0.9222 GB, free: 16.51 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002696/1.449, allocations: 305.7 kB / 0.9225 GB, free: 16.38 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001487/1.45, allocations: 117.5 kB / 0.9226 GB, free: 16.3 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001568/1.45, allocations: 73.77 kB / 0.9226 GB, free: 16.28 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000195/1.45, allocations: 365.7 kB / 0.923 GB, free: 15.97 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002903/1.45, allocations: 145.5 kB / 0.9231 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003019/1.451, allocations: 218.3 kB / 0.9233 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005291/1.451, allocations: 333.9 kB / 0.9236 GB, free: 15.85 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/1.451, allocations: 2.625 kB / 0.9237 GB, free: 15.85 MB / 0.7325 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006702/1.452, allocations: 431 kB / 0.9241 GB, free: 15.78 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.951e-05/1.452, allocations: 6.219 kB / 0.9241 GB, free: 15.78 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.196e-06/1.452, allocations: 2.406 kB / 0.9241 GB, free: 15.78 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.835e-05/1.452, allocations: 3 kB / 0.9241 GB, free: 15.78 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003498/1.452, allocations: 72.44 kB / 0.9241 GB, free: 15.78 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.766e-06/1.452, allocations: 3.219 kB / 0.9241 GB, free: 15.78 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006761/1.453, allocations: 57.44 kB / 0.9242 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.557e-05/1.453, allocations: 17.94 kB / 0.9242 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004314/1.453, allocations: 305.9 kB / 0.9245 GB, free: 15.68 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002822/1.454, allocations: 216.9 kB / 0.9247 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004738/1.454, allocations: 326.1 kB / 0.925 GB, free: 15.57 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.313e-06/1.454, allocations: 0 / 0.925 GB, free: 15.57 MB / 0.7325 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0006629/1.455, allocations: 417.7 kB / 0.9254 GB, free: 15.51 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.469e-05/1.455, allocations: 9.469 kB / 0.9254 GB, free: 15.51 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.284e-06/1.455, allocations: 2 kB / 0.9254 GB, free: 15.51 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.189e-06/1.455, allocations: 2.812 kB / 0.9254 GB, free: 15.51 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003016/1.455, allocations: 74.7 kB / 0.9255 GB, free: 15.51 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.1e-06/1.455, allocations: 2.875 kB / 0.9255 GB, free: 15.51 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005984/1.456, allocations: 62.48 kB / 0.9256 GB, free: 15.49 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.994e-05/1.456, allocations: 15.77 kB / 0.9256 GB, free: 15.49 MB / 0.7325 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002176/1.456, allocations: 196 kB / 0.9258 GB, free: 15.31 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001138/1.456, allocations: 62.03 kB / 0.9258 GB, free: 15.28 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000848/1.457, allocations: 418.2 kB / 0.9262 GB, free: 15.23 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.958e-06/1.457, allocations: 4.938 kB / 0.9262 GB, free: 15.23 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.193e-06/1.457, allocations: 1.203 kB / 0.9262 GB, free: 15.23 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006684/1.458, allocations: 428.9 kB / 0.9266 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002131/1.46, allocations: 1.175 MB / 0.9278 GB, free: 14.71 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/1.46, allocations: 1.5 kB / 0.9278 GB, free: 14.71 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004398/1.46, allocations: 89.03 kB / 0.9279 GB, free: 14.71 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.507e-06/1.46, allocations: 3.594 kB / 0.9279 GB, free: 14.71 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.088e-05/1.46, allocations: 12.77 kB / 0.9279 GB, free: 14.71 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.366e-06/1.46, allocations: 2.344 kB / 0.9279 GB, free: 14.71 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.002e-06/1.46, allocations: 2.906 kB / 0.9279 GB, free: 14.71 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001008/1.461, allocations: 0.7361 MB / 0.9286 GB, free: 14.48 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002663/1.462, allocations: 182.1 kB / 0.9288 GB, free: 14.35 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.98e-05/1.462, allocations: 13.06 kB / 0.9288 GB, free: 14.35 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005331/1.462, allocations: 51 kB / 0.9289 GB, free: 14.34 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.818e-05/1.462, allocations: 31.02 kB / 0.9289 GB, free: 14.34 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.822e-05/1.462, allocations: 13.94 kB / 0.9289 GB, free: 14.34 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0004441/1.463, allocations: 370.6 kB / 0.9293 GB, free: 14.25 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/1.463, allocations: 1.125 kB / 0.9293 GB, free: 14.25 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001036/1.464, allocations: 317.6 kB / 0.9296 GB, free: 14.21 MB / 0.7325 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006567/1.465, allocations: 202 kB / 0.9297 GB, free: 14.11 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001098/1.466, allocations: 0.5415 MB / 0.9303 GB, free: 14.1 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/1.466, allocations: 3.188 kB / 0.9303 GB, free: 14.1 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002878/1.466, allocations: 179.6 kB / 0.9305 GB, free: 14.1 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001538/1.468, allocations: 355.2 kB / 0.9308 GB, free: 14.05 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002106/1.47, allocations: 1.485 MB / 0.9322 GB, free: 13.3 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005034/1.47, allocations: 0.9339 MB / 0.9332 GB, free: 12.6 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.000689/1.471, allocations: 182.8 kB / 0.9333 GB, free: 12.58 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000133/1.471, allocations: 49.03 kB / 0.9334 GB, free: 12.57 MB / 0.7325 GB Notification: Performance of SimCode: time 2.2e-07/1.471, allocations: 1.203 kB / 0.9334 GB, free: 12.57 MB / 0.7325 GB Notification: Performance of Templates: time 0.02146/1.493, allocations: 11.74 MB / 0.9448 GB, free: 12 MB / 0.7325 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Delays.Examples.Delay.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Delays.Examples.Delay.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Delays.Examples.Delay.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Delays.Examples.Delay.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Delays.Examples.Delay.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Delays.Examples.Delay -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Delays.Examples.Delay.pipe 2>&1)