Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Delays.Examples.Delay.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Delays.Examples.Delay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Delays.Examples.Delay") translateModel(Buildings.Fluid.Delays.Examples.Delay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Delays.Examples.Delay") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.729/1.729, allocations: 288.3 MB / 303.2 MB, free: 8.098 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.0012/0.0012, allocations: 183.6 kB / 371.9 MB, free: 10.29 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.682/1.682, allocations: 205.4 MB / 0.6306 GB, free: 10.03 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.001002/0.001001, allocations: 102.8 kB / 0.7439 GB, free: 5.949 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004239/0.000424, allocations: 11.38 kB / 0.8668 GB, free: 142.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2494/0.2498, allocations: 115.3 MB / 0.9794 GB, free: 27.73 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Delays.Examples.Delay): time 0.6958/0.9456, allocations: 152.6 MB / 1.128 GB, free: 0.7031 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.007337/0.9531, allocations: 4.733 MB / 1.133 GB, free: 352 kB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001131/0.9542, allocations: 24.72 kB / 1.133 GB, free: 340 kB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.001474/0.9557, allocations: 442 kB / 1.133 GB, free: 264 kB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.004671/0.9604, allocations: 1.362 MB / 1.135 GB, free: 188 kB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.002658/0.9631, allocations: 0.8719 MB / 1.136 GB, free: 148 kB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.001904/0.965, allocations: 1.074 MB / 1.137 GB, free: 100 kB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006432/0.9656, allocations: 456.4 kB / 1.137 GB, free: 0 / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00179/0.9674, allocations: 0.6301 MB / 1.138 GB, free: 0 / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005621/0.968, allocations: 356.5 kB / 1.138 GB, free: 15.86 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 7.529e-05/0.9681, allocations: 24.16 kB / 1.138 GB, free: 15.86 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002417/0.9706, allocations: 0.6933 MB / 1.139 GB, free: 15.72 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0002518/0.9708, allocations: 207.9 kB / 1.139 GB, free: 15.64 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0002402/0.9711, allocations: 166 kB / 1.139 GB, free: 15.59 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001386/0.9725, allocations: 0.8663 MB / 1.14 GB, free: 15.17 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.9725, allocations: 0 / 1.14 GB, free: 15.17 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.306e-06/0.9725, allocations: 4 kB / 1.14 GB, free: 15.17 MB / 0.698 GB Notification: Performance of Transformations before backend: time 9.868e-06/0.9725, allocations: 1.75 kB / 1.14 GB, free: 15.17 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.001664/0.9742, allocations: 0.9495 MB / 1.141 GB, free: 14.45 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.295e-05/0.9742, allocations: 8.281 kB / 1.141 GB, free: 14.45 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0013/0.9755, allocations: 208 kB / 1.141 GB, free: 14.38 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001072/0.9766, allocations: 0.5463 MB / 1.142 GB, free: 14.02 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.206e-05/0.9767, allocations: 50.42 kB / 1.142 GB, free: 14 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.525e-05/0.9768, allocations: 48.27 kB / 1.142 GB, free: 14 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009863/0.9778, allocations: 496.1 kB / 1.142 GB, free: 13.87 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.197e-05/0.9778, allocations: 2.844 kB / 1.142 GB, free: 13.87 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.382e-05/0.9779, allocations: 22.16 kB / 1.142 GB, free: 13.87 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.701e-05/0.9779, allocations: 16.84 kB / 1.142 GB, free: 13.86 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008533/0.9788, allocations: 445.1 kB / 1.143 GB, free: 13.79 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.003183/0.982, allocations: 1.996 MB / 1.145 GB, free: 12.45 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006107/0.9826, allocations: 365.3 kB / 1.145 GB, free: 12.37 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 7.552e-05/0.9827, allocations: 15.17 kB / 1.145 GB, free: 12.37 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.773e-05/0.9827, allocations: 42.67 kB / 1.145 GB, free: 12.32 MB / 0.698 GB Notification: Performance of pre-optimization done (n=33): time 2.315e-06/0.9827, allocations: 0 / 1.145 GB, free: 12.32 MB / 0.698 GB Notification: Performance of matching and sorting (n=33): time 0.001731/0.9845, allocations: 0.5534 MB / 1.146 GB, free: 12.18 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.595e-05/0.9846, allocations: 57.08 kB / 1.146 GB, free: 12.12 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009777/0.9855, allocations: 0.4986 MB / 1.146 GB, free: 11.93 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 7.129e-05/0.9856, allocations: 35.58 kB / 1.146 GB, free: 11.89 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000309/0.9859, allocations: 304.1 kB / 1.146 GB, free: 11.73 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001459/0.9861, allocations: 114.7 kB / 1.147 GB, free: 11.65 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.01e-05/0.9861, allocations: 8.5 kB / 1.147 GB, free: 11.65 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002244/0.9864, allocations: 363.4 kB / 1.147 GB, free: 11.32 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003148/0.9867, allocations: 139.2 kB / 1.147 GB, free: 11.3 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003918/0.9871, allocations: 222.4 kB / 1.147 GB, free: 11.19 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003509/0.9875, allocations: 165.4 kB / 1.147 GB, free: 11.17 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.9875, allocations: 1.062 kB / 1.147 GB, free: 11.17 MB / 0.698 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0008246/0.9883, allocations: 440.7 kB / 1.148 GB, free: 11.05 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001901/0.9885, allocations: 366.5 kB / 1.148 GB, free: 10.68 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.326e-06/0.9885, allocations: 1.25 kB / 1.148 GB, free: 10.68 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.307e-05/0.9885, allocations: 1.656 kB / 1.148 GB, free: 10.68 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003801/0.9889, allocations: 72.41 kB / 1.148 GB, free: 10.66 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.423e-05/0.989, allocations: 3.156 kB / 1.148 GB, free: 10.66 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006809/0.9896, allocations: 68.59 kB / 1.148 GB, free: 10.63 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.776e-05/0.9897, allocations: 12.75 kB / 1.148 GB, free: 10.63 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.145e-05/0.9897, allocations: 7.297 kB / 1.148 GB, free: 10.63 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007666/0.9905, allocations: 353.8 kB / 1.149 GB, free: 10.57 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.151e-06/0.9905, allocations: 1.031 kB / 1.149 GB, free: 10.57 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.692e-06/0.9905, allocations: 2.125 kB / 1.149 GB, free: 10.57 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003161/0.9909, allocations: 73.98 kB / 1.149 GB, free: 10.56 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.9909, allocations: 1.312 kB / 1.149 GB, free: 10.56 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005762/0.9915, allocations: 60.97 kB / 1.149 GB, free: 10.53 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.31e-05/0.9915, allocations: 15.98 kB / 1.149 GB, free: 10.53 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.000335/0.9919, allocations: 293.4 kB / 1.149 GB, free: 10.32 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001179/0.992, allocations: 68.72 kB / 1.149 GB, free: 10.28 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009446/0.9929, allocations: 420.5 kB / 1.15 GB, free: 10.17 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.588e-06/0.993, allocations: 2.969 kB / 1.15 GB, free: 10.17 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.135e-05/0.993, allocations: 5 kB / 1.15 GB, free: 10.17 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007298/0.9937, allocations: 441 kB / 1.15 GB, free: 9.965 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002177/0.9959, allocations: 1.178 MB / 1.151 GB, free: 9.387 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.544e-06/0.9959, allocations: 5.719 kB / 1.151 GB, free: 9.387 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004758/0.9964, allocations: 91.36 kB / 1.151 GB, free: 9.367 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.716e-06/0.9964, allocations: 8.031 kB / 1.151 GB, free: 9.363 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.854e-05/0.9965, allocations: 15.33 kB / 1.151 GB, free: 9.359 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.64e-06/0.9965, allocations: 2.938 kB / 1.151 GB, free: 9.359 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.9965, allocations: 1.406 kB / 1.151 GB, free: 9.359 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001192/0.9977, allocations: 0.8089 MB / 1.152 GB, free: 8.957 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003222/0.998, allocations: 179 kB / 1.152 GB, free: 8.816 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001012/0.9981, allocations: 12.88 kB / 1.152 GB, free: 8.812 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005712/0.9987, allocations: 55.73 kB / 1.152 GB, free: 8.789 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.912e-05/0.9988, allocations: 22.28 kB / 1.152 GB, free: 8.781 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.384e-05/0.9988, allocations: 20.72 kB / 1.152 GB, free: 8.773 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0004458/0.9993, allocations: 351.8 kB / 1.153 GB, free: 8.641 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.91e-07/0.9993, allocations: 0 / 1.153 GB, free: 8.641 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001083/1, allocations: 326.6 kB / 1.153 GB, free: 8.594 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.0004901/1.001, allocations: 195.2 kB / 1.153 GB, free: 8.469 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001038/1.002, allocations: 0.5297 MB / 1.154 GB, free: 8.371 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/1.002, allocations: 384 / 1.154 GB, free: 8.371 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.000314/1.002, allocations: 186.3 kB / 1.154 GB, free: 8.336 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001793/1.004, allocations: 363.4 kB / 1.154 GB, free: 8.207 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002445/1.007, allocations: 1.539 MB / 1.156 GB, free: 7.211 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005873/1.007, allocations: 0.9475 MB / 1.157 GB, free: 6.402 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0007549/1.008, allocations: 180.9 kB / 1.157 GB, free: 6.32 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001513/1.008, allocations: 44.84 kB / 1.157 GB, free: 6.312 MB / 0.698 GB Notification: Performance of SimCode: time 6.31e-07/1.008, allocations: 1.344 kB / 1.157 GB, free: 6.312 MB / 0.698 GB Notification: Performance of Templates: time 0.02187/1.03, allocations: 10.96 MB / 1.168 GB, free: 0.9141 MB / 0.698 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Delays.Examples.Delay.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Delays.Examples.Delay.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Delays.Examples.Delay.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Delays.Examples.Delay.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Delays.Examples.Delay.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Delays.Examples.Delay -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Delays.Examples.Delay.pipe 2>&1)