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.715/1.715, allocations: 288.4 MB / 303.6 MB, free: 8.129 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.001017/0.001017, allocations: 194.8 kB / 372.3 MB, free: 10.11 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.63/1.63, allocations: 205.4 MB / 0.631 GB, free: 9.852 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.000906/0.0009061, allocations: 90.88 kB / 0.7444 GB, free: 5.77 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004533/0.0004534, allocations: 19.44 kB / 0.8675 GB, free: 141.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2674/0.2679, allocations: 115.3 MB / 0.9801 GB, free: 27.33 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Delays.Examples.Delay): time 0.7905/1.058, allocations: 166.7 MB / 1.143 GB, free: 13.43 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.007946/1.066, allocations: 4.521 MB / 1.147 GB, free: 12.08 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001168/1.068, allocations: 22.97 kB / 1.147 GB, free: 12.07 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.001226/1.069, allocations: 331.8 kB / 1.148 GB, free: 11.94 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.00393/1.073, allocations: 1.229 MB / 1.149 GB, free: 11.21 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.002343/1.075, allocations: 0.6114 MB / 1.149 GB, free: 10.94 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.003124/1.078, allocations: 2.147 MB / 1.152 GB, free: 10.16 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001035/1.079, allocations: 498.3 kB / 1.152 GB, free: 9.945 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002423/1.082, allocations: 0.7454 MB / 1.153 GB, free: 9.605 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001559/1.083, allocations: 0.5187 MB / 1.153 GB, free: 9.371 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001057/1.084, allocations: 25.19 kB / 1.153 GB, free: 9.371 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003925/1.087, allocations: 1.577 MB / 1.155 GB, free: 8.723 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0003684/1.088, allocations: 225.2 kB / 1.155 GB, free: 8.617 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0006522/1.089, allocations: 368.2 kB / 1.155 GB, free: 8.465 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001806/1.09, allocations: 1.017 MB / 1.156 GB, free: 7.93 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 8.065e-06/1.09, allocations: 3.984 kB / 1.156 GB, free: 7.926 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.904e-06/1.09, allocations: 0 / 1.156 GB, free: 7.926 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.144e-05/1.09, allocations: 0 / 1.156 GB, free: 7.926 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.001869/1.092, allocations: 0.9626 MB / 1.157 GB, free: 7.188 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.773e-05/1.092, allocations: 9.562 kB / 1.157 GB, free: 7.188 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001309/1.094, allocations: 212.8 kB / 1.158 GB, free: 7.098 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001084/1.095, allocations: 0.5784 MB / 1.158 GB, free: 6.695 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.785e-05/1.095, allocations: 37.88 kB / 1.158 GB, free: 6.68 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.607e-05/1.095, allocations: 54.06 kB / 1.158 GB, free: 6.66 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001107/1.096, allocations: 495.8 kB / 1.159 GB, free: 6.379 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.768e-05/1.096, allocations: 0 / 1.159 GB, free: 6.379 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.131e-05/1.096, allocations: 24.67 kB / 1.159 GB, free: 6.359 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.622e-05/1.096, allocations: 16.91 kB / 1.159 GB, free: 6.355 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009002/1.097, allocations: 448 kB / 1.159 GB, free: 6.148 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.003377/1.1, allocations: 2.005 MB / 1.161 GB, free: 4.426 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006556/1.101, allocations: 354.2 kB / 1.161 GB, free: 4.234 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003721/1.101, allocations: 207.3 kB / 1.162 GB, free: 4.137 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00034/1.102, allocations: 192.6 kB / 1.162 GB, free: 3.938 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.113e-05/1.102, allocations: 41.62 kB / 1.162 GB, free: 3.891 MB / 0.698 GB Notification: Performance of pre-optimization done (n=33): time 2.745e-06/1.102, allocations: 0 / 1.162 GB, free: 3.891 MB / 0.698 GB Notification: Performance of matching and sorting (n=33): time 0.001497/1.103, allocations: 0.5513 MB / 1.162 GB, free: 3.617 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.745e-05/1.103, allocations: 58.53 kB / 1.162 GB, free: 3.551 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007167/1.104, allocations: 0.4987 MB / 1.163 GB, free: 3.25 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.951e-05/1.104, allocations: 40.36 kB / 1.163 GB, free: 3.207 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002563/1.105, allocations: 303.4 kB / 1.163 GB, free: 2.941 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001223/1.105, allocations: 116.7 kB / 1.163 GB, free: 2.84 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.544e-05/1.105, allocations: 10 kB / 1.163 GB, free: 2.832 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001796/1.105, allocations: 372.2 kB / 1.164 GB, free: 2.473 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002901/1.105, allocations: 130.8 kB / 1.164 GB, free: 2.414 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003894/1.106, allocations: 223.3 kB / 1.164 GB, free: 2.258 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006512/1.106, allocations: 341.8 kB / 1.164 GB, free: 2.07 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/1.106, allocations: 3.938 kB / 1.164 GB, free: 2.066 MB / 0.698 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0008727/1.107, allocations: 431 kB / 1.165 GB, free: 1.848 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 8.584e-05/1.107, allocations: 118 kB / 1.165 GB, free: 1.723 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.146e-05/1.107, allocations: 1.75 kB / 1.165 GB, free: 1.723 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.196e-05/1.107, allocations: 2.312 kB / 1.165 GB, free: 1.723 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000388/1.108, allocations: 80.95 kB / 1.165 GB, free: 1.699 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.06e-05/1.108, allocations: 6.625 kB / 1.165 GB, free: 1.695 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00067/1.108, allocations: 62.41 kB / 1.165 GB, free: 1.668 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.14e-05/1.108, allocations: 18.16 kB / 1.165 GB, free: 1.66 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 8.236e-06/1.108, allocations: 3.281 kB / 1.165 GB, free: 1.66 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006728/1.109, allocations: 352.7 kB / 1.165 GB, free: 1.496 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.496e-06/1.109, allocations: 1.625 kB / 1.165 GB, free: 1.496 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.547e-06/1.109, allocations: 5.375 kB / 1.165 GB, free: 1.492 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003116/1.109, allocations: 69.31 kB / 1.165 GB, free: 1.48 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.019e-06/1.109, allocations: 2.375 kB / 1.165 GB, free: 1.48 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005407/1.11, allocations: 66.56 kB / 1.166 GB, free: 1.441 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.937e-05/1.11, allocations: 17.95 kB / 1.166 GB, free: 1.434 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.0004018/1.11, allocations: 290 kB / 1.166 GB, free: 1.184 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001062/1.111, allocations: 59 kB / 1.166 GB, free: 1.152 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000854/1.111, allocations: 426.8 kB / 1.166 GB, free: 0.9102 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.773e-06/1.111, allocations: 2.75 kB / 1.166 GB, free: 0.9102 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/1.111, allocations: 1.375 kB / 1.166 GB, free: 0.9102 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006467/1.112, allocations: 451.3 kB / 1.167 GB, free: 0.6016 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002043/1.114, allocations: 1.179 MB / 1.168 GB, free: 15.73 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.5e-06/1.114, allocations: 2.75 kB / 1.168 GB, free: 15.73 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004469/1.115, allocations: 88.62 kB / 1.168 GB, free: 15.71 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.146e-06/1.115, allocations: 2.75 kB / 1.168 GB, free: 15.71 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.231e-05/1.115, allocations: 8.125 kB / 1.168 GB, free: 15.7 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.357e-06/1.115, allocations: 10.88 kB / 1.168 GB, free: 15.7 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/1.115, allocations: 6.688 kB / 1.168 GB, free: 15.69 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001291/1.116, allocations: 0.7373 MB / 1.169 GB, free: 15.21 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002935/1.116, allocations: 176.9 kB / 1.169 GB, free: 15.05 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.913e-05/1.116, allocations: 20.3 kB / 1.169 GB, free: 15.04 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005095/1.117, allocations: 50.36 kB / 1.169 GB, free: 15.02 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.433e-05/1.117, allocations: 27.09 kB / 1.169 GB, free: 15 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.848e-05/1.117, allocations: 10.12 kB / 1.169 GB, free: 15 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0004789/1.118, allocations: 358.4 kB / 1.169 GB, free: 14.79 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.61e-07/1.118, allocations: 1.281 kB / 1.169 GB, free: 14.79 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0009775/1.119, allocations: 318.1 kB / 1.17 GB, free: 14.73 MB / 0.7136 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.0005074/1.119, allocations: 203.2 kB / 1.17 GB, free: 14.59 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0009964/1.12, allocations: 0.5255 MB / 1.17 GB, free: 14.36 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.428e-06/1.12, allocations: 3.062 kB / 1.17 GB, free: 14.36 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0002971/1.12, allocations: 186.2 kB / 1.171 GB, free: 14.27 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001878/1.122, allocations: 368.8 kB / 1.171 GB, free: 14.09 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00205/1.124, allocations: 1.532 MB / 1.172 GB, free: 12.98 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004729/1.125, allocations: 0.9321 MB / 1.173 GB, free: 12.17 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.000672/1.125, allocations: 187.8 kB / 1.173 GB, free: 12.08 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001276/1.126, allocations: 49.62 kB / 1.174 GB, free: 12.07 MB / 0.7136 GB Notification: Performance of SimCode: time 6.21e-07/1.126, allocations: 0 / 1.174 GB, free: 12.07 MB / 0.7136 GB Notification: Performance of Templates: time 0.02014/1.146, allocations: 11.17 MB / 1.184 GB, free: 6.562 MB / 0.7136 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)