Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Delays.Examples.Delay.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.Delays.Examples.Delay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Delays.Examples.Delay") translateModel(Buildings.Fluid.Delays.Examples.Delay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Delays.Examples.Delay") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.234/2.234, allocations: 391.2 MB / 407 MB, free: 10.89 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001472/0.001472, allocations: 191.5 kB / 499.1 MB, free: 4.68 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.542/1.542, allocations: 222.9 MB / 0.7948 GB, free: 15.75 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001157/0.001157, allocations: 109.7 kB / 0.9329 GB, free: 7.074 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.00122/0.00122, allocations: 48.09 kB / 1.081 GB, free: 218.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2923/0.2936, allocations: 140.6 MB / 1.218 GB, free: 117.2 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Delays.Examples.Delay): time 0.1644/0.4581, allocations: 181 MB / 1.395 GB, free: 15.54 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.008135/0.4663, allocations: 4.925 MB / 1.4 GB, free: 10.61 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00105/0.4673, allocations: 27.81 kB / 1.4 GB, free: 10.58 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.001262/0.4686, allocations: 386 kB / 1.4 GB, free: 10.2 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.003308/0.472, allocations: 1.331 MB / 1.401 GB, free: 8.863 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.001961/0.4739, allocations: 0.6853 MB / 1.402 GB, free: 8.184 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.00283/0.4768, allocations: 2.538 MB / 1.405 GB, free: 5.637 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007429/0.4775, allocations: 0.5031 MB / 1.405 GB, free: 5.117 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001652/0.4792, allocations: 0.7858 MB / 1.406 GB, free: 4.328 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001242/0.4805, allocations: 0.5612 MB / 1.406 GB, free: 3.766 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 9.953e-05/0.4806, allocations: 28 kB / 1.406 GB, free: 3.738 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003227/0.4838, allocations: 1.617 MB / 1.408 GB, free: 2.117 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 0.0003216/0.4841, allocations: 235.2 kB / 1.408 GB, free: 1.887 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 0.0005032/0.4847, allocations: 374.1 kB / 1.409 GB, free: 1.52 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.002223/0.4869, allocations: 1.464 MB / 1.41 GB, free: 52 kB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 7.273e-06/0.4869, allocations: 0 / 1.41 GB, free: 52 kB / 0.9011 GB Notification: Performance of FrontEnd: time 9.12e-07/0.4869, allocations: 3.938 kB / 1.41 GB, free: 48 kB / 0.9011 GB Notification: Performance of Transformations before backend: time 1.205e-05/0.4869, allocations: 0 / 1.41 GB, free: 48 kB / 0.9011 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.002101/0.489, allocations: 1.106 MB / 1.411 GB, free: 14.89 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 5.626e-05/0.4891, allocations: 15.98 kB / 1.411 GB, free: 14.88 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001269/0.4904, allocations: 206.8 kB / 1.411 GB, free: 14.67 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009529/0.4914, allocations: 0.5848 MB / 1.412 GB, free: 14.04 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.228e-05/0.4914, allocations: 41 kB / 1.412 GB, free: 14 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.964e-05/0.4915, allocations: 48 kB / 1.412 GB, free: 13.95 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009042/0.4924, allocations: 0.4906 MB / 1.412 GB, free: 13.46 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.987e-05/0.4924, allocations: 3.984 kB / 1.412 GB, free: 13.45 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.712e-05/0.4925, allocations: 16 kB / 1.412 GB, free: 13.44 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.44e-05/0.4925, allocations: 21 kB / 1.412 GB, free: 13.42 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008078/0.4933, allocations: 443.6 kB / 1.413 GB, free: 12.98 MB / 0.9167 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.002803/0.4962, allocations: 1.994 MB / 1.415 GB, free: 10.81 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006828/0.4969, allocations: 354.9 kB / 1.415 GB, free: 10.46 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003643/0.4972, allocations: 209.2 kB / 1.415 GB, free: 10.25 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003311/0.4976, allocations: 190.5 kB / 1.415 GB, free: 10.03 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.104e-05/0.4976, allocations: 46.77 kB / 1.416 GB, free: 9.977 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=33): time 2.374e-06/0.4976, allocations: 4 kB / 1.416 GB, free: 9.973 MB / 0.9167 GB Notification: Performance of matching and sorting (n=33): time 0.001245/0.4989, allocations: 0.5448 MB / 1.416 GB, free: 9.422 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.527e-05/0.4989, allocations: 59.34 kB / 1.416 GB, free: 9.352 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005564/0.4995, allocations: 0.5069 MB / 1.417 GB, free: 8.836 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 3.854e-05/0.4995, allocations: 33.7 kB / 1.417 GB, free: 8.797 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002326/0.4998, allocations: 308.2 kB / 1.417 GB, free: 8.492 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001022/0.4999, allocations: 106.3 kB / 1.417 GB, free: 8.387 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001255/0.5, allocations: 77.92 kB / 1.417 GB, free: 8.305 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001477/0.5002, allocations: 362.8 kB / 1.417 GB, free: 7.941 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003053/0.5005, allocations: 146.1 kB / 1.418 GB, free: 7.797 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003208/0.5008, allocations: 213.3 kB / 1.418 GB, free: 7.566 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005684/0.5014, allocations: 343 kB / 1.418 GB, free: 7.219 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.5014, allocations: 0 / 1.418 GB, free: 7.219 MB / 0.9167 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007146/0.5021, allocations: 424.7 kB / 1.419 GB, free: 6.797 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 2.045e-05/0.5022, allocations: 4 kB / 1.419 GB, free: 6.793 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.561e-06/0.5022, allocations: 3.938 kB / 1.419 GB, free: 6.789 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.728e-05/0.5022, allocations: 4.094 kB / 1.419 GB, free: 6.785 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003312/0.5025, allocations: 75.91 kB / 1.419 GB, free: 6.711 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.386e-06/0.5026, allocations: 3.938 kB / 1.419 GB, free: 6.707 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005887/0.5032, allocations: 63.64 kB / 1.419 GB, free: 6.645 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.727e-05/0.5032, allocations: 19.98 kB / 1.419 GB, free: 6.625 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004665/0.5037, allocations: 305.8 kB / 1.419 GB, free: 6.324 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003131/0.504, allocations: 212 kB / 1.419 GB, free: 6.094 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005412/0.5045, allocations: 327.4 kB / 1.42 GB, free: 5.762 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.322e-06/0.5046, allocations: 3.938 kB / 1.42 GB, free: 5.758 MB / 0.9167 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0006897/0.5053, allocations: 436.4 kB / 1.42 GB, free: 5.324 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 9.397e-06/0.5053, allocations: 4 kB / 1.42 GB, free: 5.32 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.5053, allocations: 3.984 kB / 1.42 GB, free: 5.316 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.18e-06/0.5053, allocations: 4 kB / 1.42 GB, free: 5.312 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003051/0.5056, allocations: 67.91 kB / 1.42 GB, free: 5.246 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.5056, allocations: 3.938 kB / 1.42 GB, free: 5.242 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005562/0.5062, allocations: 71.67 kB / 1.42 GB, free: 5.172 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.456e-05/0.5062, allocations: 8 kB / 1.42 GB, free: 5.164 MB / 0.9167 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.0001738/0.5064, allocations: 208.2 kB / 1.42 GB, free: 4.953 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.522e-05/0.5065, allocations: 55.34 kB / 1.42 GB, free: 4.898 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007821/0.5073, allocations: 423 kB / 1.421 GB, free: 4.477 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.726e-06/0.5073, allocations: 7.984 kB / 1.421 GB, free: 4.469 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.103e-06/0.5073, allocations: 3.938 kB / 1.421 GB, free: 4.465 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005995/0.5079, allocations: 433.8 kB / 1.421 GB, free: 4.012 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001944/0.5099, allocations: 1.181 MB / 1.422 GB, free: 2.758 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.5099, allocations: 0 / 1.422 GB, free: 2.758 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004058/0.5103, allocations: 84.08 kB / 1.422 GB, free: 2.676 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.013e-06/0.5103, allocations: 4 kB / 1.422 GB, free: 2.672 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.002e-05/0.5104, allocations: 11.98 kB / 1.422 GB, free: 2.66 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.601e-06/0.5104, allocations: 4 kB / 1.422 GB, free: 2.656 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.5104, allocations: 0 / 1.422 GB, free: 2.656 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.5636/1.074, allocations: 3.662 MB / 1.426 GB, free: 206.2 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002732/1.074, allocations: 183 kB / 1.426 GB, free: 206.1 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.187e-05/1.074, allocations: 11.72 kB / 1.426 GB, free: 206.1 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005269/1.075, allocations: 49.56 kB / 1.426 GB, free: 206.1 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.479e-05/1.075, allocations: 26.55 kB / 1.426 GB, free: 206.1 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.43e-05/1.075, allocations: 18.62 kB / 1.426 GB, free: 206.1 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0005299/1.076, allocations: 364.6 kB / 1.427 GB, free: 206 MB / 0.9167 GB Notification: Performance of sort global known variables: time 1.4e-07/1.076, allocations: 0 / 1.427 GB, free: 206 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.001813/1.077, allocations: 0.5156 MB / 1.427 GB, free: 206 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (del.dynBal.medium.Xi[1],del.dynBal.U,del.dynBal.m) * 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.000466/1.078, allocations: 197.6 kB / 1.427 GB, free: 205.9 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.001059/1.079, allocations: 0.5073 MB / 1.428 GB, free: 205.9 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/1.079, allocations: 1.062 kB / 1.428 GB, free: 205.9 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0003159/1.079, allocations: 183.9 kB / 1.428 GB, free: 205.9 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001866/1.081, allocations: 368.1 kB / 1.428 GB, free: 205.8 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002154/1.083, allocations: 1.748 MB / 1.43 GB, free: 204.8 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004944/1.084, allocations: 0.9467 MB / 1.431 GB, free: 204.1 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0007517/1.085, allocations: 195.1 kB / 1.431 GB, free: 204 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001466/1.085, allocations: 49.69 kB / 1.431 GB, free: 204 MB / 0.9167 GB Notification: Performance of SimCode: time 4.5e-07/1.085, allocations: 0 / 1.431 GB, free: 204 MB / 0.9167 GB Notification: Performance of Templates: time 0.02579/1.111, allocations: 12.46 MB / 1.443 GB, free: 201.5 MB / 0.9167 GB make -j1 -f Buildings_latest_Buildings.Fluid.Delays.Examples.Delay.makefile (rm -f Buildings_latest_Buildings.Fluid.Delays.Examples.Delay.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Delays.Examples.Delay.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Delays.Examples.Delay.pipe >> ../files/Buildings_latest_Buildings.Fluid.Delays.Examples.Delay.sim & ./Buildings_latest_Buildings.Fluid.Delays.Examples.Delay -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Delays.Examples.Delay.pipe 2>&1)