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/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.406/1.406, allocations: 252 MB / 267.6 MB, free: 10.98 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.001094/0.001094, allocations: 179 kB / 327.3 MB, free: 2.23 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.678/1.678, allocations: 205.4 MB / 0.5783 GB, free: 20.31 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.0008109/0.0008109, allocations: 94.8 kB / 0.6829 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003719/0.0003721, allocations: 8.812 kB / 0.797 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2382/0.2385, allocations: 106.3 MB / 0.9008 GB, free: 63.98 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Delays.Examples.Delay): time 0.7591/0.9977, allocations: 166.9 MB / 1.064 GB, free: 4.305 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.008968/1.007, allocations: 4.607 MB / 1.068 GB, free: 4.215 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001174/1.008, allocations: 26.22 kB / 1.068 GB, free: 4.215 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.001153/1.009, allocations: 291 kB / 1.069 GB, free: 4.211 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.003754/1.013, allocations: 1.046 MB / 1.07 GB, free: 4.164 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.002254/1.015, allocations: 0.6215 MB / 1.07 GB, free: 4.141 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.003417/1.019, allocations: 2.192 MB / 1.072 GB, free: 4.141 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001065/1.02, allocations: 463.2 kB / 1.073 GB, free: 4.074 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00229/1.022, allocations: 0.7348 MB / 1.073 GB, free: 4.066 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001145/1.023, allocations: 0.5215 MB / 1.074 GB, free: 4.066 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001054/1.023, allocations: 25.44 kB / 1.074 GB, free: 4.066 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002895/1.026, allocations: 0.8676 MB / 1.075 GB, free: 4.051 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0004341/1.027, allocations: 239.5 kB / 1.075 GB, free: 4.051 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0003294/1.027, allocations: 168.6 kB / 1.075 GB, free: 4.02 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.002/1.029, allocations: 0.9741 MB / 1.076 GB, free: 3.938 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/1.029, allocations: 0 / 1.076 GB, free: 3.938 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.475e-06/1.029, allocations: 0.7812 kB / 1.076 GB, free: 3.938 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.256e-05/1.029, allocations: 0 / 1.076 GB, free: 3.938 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: 115 * Number of variables: 115 Notification: Performance of Generate backend data structure: time 0.002548/1.032, allocations: 0.9822 MB / 1.077 GB, free: 19.29 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.311e-05/1.032, allocations: 9.219 kB / 1.077 GB, free: 19.29 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001456/1.033, allocations: 207.9 kB / 1.077 GB, free: 19.25 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001055/1.034, allocations: 0.559 MB / 1.078 GB, free: 18.98 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.915e-05/1.034, allocations: 37.06 kB / 1.078 GB, free: 18.98 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000102/1.034, allocations: 51.22 kB / 1.078 GB, free: 18.98 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001078/1.035, allocations: 0.4961 MB / 1.078 GB, free: 18.94 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.3e-05/1.035, allocations: 2.906 kB / 1.078 GB, free: 18.94 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.165e-05/1.035, allocations: 16.69 kB / 1.079 GB, free: 18.94 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.805e-05/1.035, allocations: 23.86 kB / 1.079 GB, free: 18.93 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008725/1.036, allocations: 443.9 kB / 1.079 GB, free: 18.93 MB / 0.7136 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.002997/1.039, allocations: 2.027 MB / 1.081 GB, free: 17.92 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000618/1.04, allocations: 343.4 kB / 1.081 GB, free: 17.89 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003598/1.04, allocations: 211.7 kB / 1.081 GB, free: 17.88 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003277/1.041, allocations: 193.5 kB / 1.082 GB, free: 17.69 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.306e-05/1.041, allocations: 37.25 kB / 1.082 GB, free: 17.65 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=33): time 2.565e-06/1.041, allocations: 2.734 kB / 1.082 GB, free: 17.65 MB / 0.7136 GB Notification: Performance of matching and sorting (n=33): time 0.001347/1.042, allocations: 0.5526 MB / 1.082 GB, free: 17.58 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.43e-05/1.042, allocations: 54.38 kB / 1.082 GB, free: 17.52 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006516/1.043, allocations: 0.5055 MB / 1.083 GB, free: 17.39 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 4.843e-05/1.043, allocations: 34.2 kB / 1.083 GB, free: 17.36 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.000222/1.043, allocations: 310.5 kB / 1.083 GB, free: 17.22 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001176/1.043, allocations: 112.9 kB / 1.083 GB, free: 17.14 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.787e-05/1.043, allocations: 8.75 kB / 1.083 GB, free: 17.14 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001555/1.043, allocations: 362.8 kB / 1.084 GB, free: 16.83 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002862/1.044, allocations: 136.6 kB / 1.084 GB, free: 16.83 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003577/1.044, allocations: 225 kB / 1.084 GB, free: 16.75 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003377/1.044, allocations: 171.3 kB / 1.084 GB, free: 16.75 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/1.044, allocations: 0 / 1.084 GB, free: 16.75 MB / 0.7136 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007719/1.045, allocations: 430.3 kB / 1.084 GB, free: 16.68 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 7.403e-05/1.045, allocations: 115.8 kB / 1.085 GB, free: 16.56 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/1.045, allocations: 1.094 kB / 1.085 GB, free: 16.56 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.054e-05/1.045, allocations: 2.75 kB / 1.085 GB, free: 16.56 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003773/1.046, allocations: 71.77 kB / 1.085 GB, free: 16.56 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.043e-05/1.046, allocations: 6.188 kB / 1.085 GB, free: 16.55 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006661/1.046, allocations: 66.25 kB / 1.085 GB, free: 16.54 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.03e-05/1.047, allocations: 13.56 kB / 1.085 GB, free: 16.54 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 8.716e-06/1.047, allocations: 3.406 kB / 1.085 GB, free: 16.54 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006493/1.047, allocations: 347.5 kB / 1.085 GB, free: 16.53 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.103e-06/1.047, allocations: 96 / 1.085 GB, free: 16.53 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.013e-06/1.047, allocations: 7.781 kB / 1.085 GB, free: 16.52 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003122/1.048, allocations: 73.92 kB / 1.085 GB, free: 16.52 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.838e-06/1.048, allocations: 3.281 kB / 1.085 GB, free: 16.52 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005358/1.048, allocations: 65.59 kB / 1.085 GB, free: 16.5 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.659e-05/1.048, allocations: 11.44 kB / 1.085 GB, free: 16.5 MB / 0.7136 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.0003781/1.048, allocations: 290.7 kB / 1.086 GB, free: 16.32 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001059/1.049, allocations: 70.86 kB / 1.086 GB, free: 16.28 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007797/1.049, allocations: 430 kB / 1.086 GB, free: 16.22 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.206e-06/1.049, allocations: 6.125 kB / 1.086 GB, free: 16.22 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/1.049, allocations: 0 / 1.086 GB, free: 16.22 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006553/1.05, allocations: 438.5 kB / 1.086 GB, free: 16.06 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001924/1.052, allocations: 1.182 MB / 1.088 GB, free: 15.69 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.997e-06/1.052, allocations: 2.656 kB / 1.088 GB, free: 15.69 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004359/1.052, allocations: 87 kB / 1.088 GB, free: 15.69 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.665e-06/1.052, allocations: 2.312 kB / 1.088 GB, free: 15.69 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.005e-05/1.053, allocations: 15.59 kB / 1.088 GB, free: 15.69 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.23e-06/1.053, allocations: 1.688 kB / 1.088 GB, free: 15.69 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.102e-06/1.053, allocations: 7.953 kB / 1.088 GB, free: 15.69 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001198/1.054, allocations: 0.7316 MB / 1.088 GB, free: 15.46 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002829/1.054, allocations: 179.7 kB / 1.089 GB, free: 15.34 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.419e-05/1.054, allocations: 21.22 kB / 1.089 GB, free: 15.33 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005469/1.055, allocations: 54.45 kB / 1.089 GB, free: 15.32 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.826e-05/1.055, allocations: 20.3 kB / 1.089 GB, free: 15.32 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.334e-05/1.055, allocations: 15.7 kB / 1.089 GB, free: 15.32 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0005025/1.055, allocations: 363.4 kB / 1.089 GB, free: 15.23 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.3e-07/1.055, allocations: 0 / 1.089 GB, free: 15.23 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001029/1.056, allocations: 325.1 kB / 1.089 GB, free: 15.19 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.0004996/1.057, allocations: 192.8 kB / 1.09 GB, free: 15.09 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001015/1.058, allocations: 0.5259 MB / 1.09 GB, free: 15.07 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/1.058, allocations: 4.375 kB / 1.09 GB, free: 15.07 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0002913/1.058, allocations: 180.4 kB / 1.09 GB, free: 15.07 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001758/1.06, allocations: 371.1 kB / 1.091 GB, free: 15.04 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002112/1.062, allocations: 1.608 MB / 1.092 GB, free: 14.17 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004844/1.063, allocations: 0.9299 MB / 1.093 GB, free: 13.46 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001433/1.063, allocations: 50.34 kB / 1.093 GB, free: 13.45 MB / 0.7136 GB Notification: Performance of SimCode: time 8.32e-07/1.063, allocations: 0 / 1.093 GB, free: 13.45 MB / 0.7136 GB Notification: Performance of Templates: time 0.01538/1.078, allocations: 9.742 MB / 1.103 GB, free: 12.64 MB / 0.7136 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)