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.408/1.408, allocations: 252 MB / 268 MB, free: 10.85 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.0009521/0.0009521, allocations: 173.4 kB / 327.6 MB, free: 2.105 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.534/1.534, allocations: 205.4 MB / 0.5786 GB, free: 20.47 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.0007802/0.0007803, allocations: 92.17 kB / 0.6832 GB, free: 13.23 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003501/0.0003502, allocations: 7.938 kB / 0.7976 GB, free: 134.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2148/0.2151, allocations: 106.3 MB / 0.9014 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Delays.Examples.Delay): time 0.6364/0.8516, allocations: 178.8 MB / 1.076 GB, free: 1.805 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.008259/0.8599, allocations: 4.911 MB / 1.081 GB, free: 1.68 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001046/0.861, allocations: 24.56 kB / 1.081 GB, free: 1.68 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.001133/0.8621, allocations: 368.3 kB / 1.081 GB, free: 1.672 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.004002/0.8661, allocations: 1.341 MB / 1.083 GB, free: 1.598 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0024/0.8685, allocations: 0.7172 MB / 1.083 GB, free: 1.574 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.00384/0.8724, allocations: 2.595 MB / 1.086 GB, free: 1.566 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008514/0.8733, allocations: 0.5022 MB / 1.086 GB, free: 1.488 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001969/0.8753, allocations: 0.7859 MB / 1.087 GB, free: 1.48 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001321/0.8766, allocations: 0.5519 MB / 1.088 GB, free: 1.473 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001066/0.8767, allocations: 25.34 kB / 1.088 GB, free: 1.473 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003272/0.88, allocations: 1.605 MB / 1.089 GB, free: 1.457 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0003205/0.8803, allocations: 233.1 kB / 1.089 GB, free: 1.453 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0005821/0.8809, allocations: 393.4 kB / 1.09 GB, free: 1.422 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001554/0.8825, allocations: 1.039 MB / 1.091 GB, free: 1.336 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.8825, allocations: 1.906 kB / 1.091 GB, free: 1.336 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.873e-06/0.8825, allocations: 0 / 1.091 GB, free: 1.336 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.352e-05/0.8825, allocations: 0 / 1.091 GB, free: 1.336 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.001683/0.8842, allocations: 0.9705 MB / 1.092 GB, free: 16.69 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.875e-05/0.8843, allocations: 9.219 kB / 1.092 GB, free: 16.69 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001319/0.8856, allocations: 215.1 kB / 1.092 GB, free: 16.64 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009447/0.8866, allocations: 0.5827 MB / 1.093 GB, free: 16.36 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.449e-05/0.8866, allocations: 35.91 kB / 1.093 GB, free: 16.36 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.454e-05/0.8867, allocations: 51.53 kB / 1.093 GB, free: 16.35 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001004/0.8877, allocations: 0.4985 MB / 1.093 GB, free: 16.3 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.038e-05/0.8877, allocations: 0.75 kB / 1.093 GB, free: 16.3 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.94e-05/0.8878, allocations: 19.41 kB / 1.093 GB, free: 16.3 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.029e-05/0.8879, allocations: 17.03 kB / 1.093 GB, free: 16.3 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009433/0.8888, allocations: 455.6 kB / 1.094 GB, free: 16.29 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.003319/0.8921, allocations: 2.02 MB / 1.096 GB, free: 15.29 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005577/0.8927, allocations: 361.2 kB / 1.096 GB, free: 15.25 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003246/0.893, allocations: 211 kB / 1.096 GB, free: 15.24 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003358/0.8934, allocations: 190.5 kB / 1.096 GB, free: 15.05 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.455e-05/0.8934, allocations: 44.12 kB / 1.096 GB, free: 15.01 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=33): time 2.585e-06/0.8934, allocations: 1.859 kB / 1.096 GB, free: 15.01 MB / 0.7136 GB Notification: Performance of matching and sorting (n=33): time 0.001269/0.8947, allocations: 0.5528 MB / 1.097 GB, free: 14.94 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.525e-05/0.8948, allocations: 57.91 kB / 1.097 GB, free: 14.88 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005161/0.8953, allocations: 0.5036 MB / 1.097 GB, free: 14.76 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 4.019e-05/0.8953, allocations: 35.78 kB / 1.097 GB, free: 14.73 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001851/0.8955, allocations: 305.9 kB / 1.098 GB, free: 14.58 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 9.635e-05/0.8956, allocations: 120.9 kB / 1.098 GB, free: 14.51 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.869e-05/0.8957, allocations: 7.375 kB / 1.098 GB, free: 14.51 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001485/0.8958, allocations: 368 kB / 1.098 GB, free: 14.19 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002376/0.8961, allocations: 140 kB / 1.098 GB, free: 14.19 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002826/0.8964, allocations: 224.8 kB / 1.099 GB, free: 14.11 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004984/0.8969, allocations: 345.2 kB / 1.099 GB, free: 14.07 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.8969, allocations: 0 / 1.099 GB, free: 14.07 MB / 0.7136 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006605/0.8975, allocations: 438.4 kB / 1.099 GB, free: 14 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 6.339e-05/0.8976, allocations: 117.2 kB / 1.099 GB, free: 13.89 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.8976, allocations: 0 / 1.099 GB, free: 13.89 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.867e-05/0.8977, allocations: 8 kB / 1.099 GB, free: 13.88 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003474/0.898, allocations: 73.73 kB / 1.099 GB, free: 13.88 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.434e-06/0.898, allocations: 6.031 kB / 1.099 GB, free: 13.88 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005948/0.8986, allocations: 64.67 kB / 1.1 GB, free: 13.86 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.438e-05/0.8987, allocations: 18 kB / 1.1 GB, free: 13.86 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 5.891e-06/0.8987, allocations: 3.344 kB / 1.1 GB, free: 13.86 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000548/0.8992, allocations: 353.2 kB / 1.1 GB, free: 13.85 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.194e-06/0.8993, allocations: 0 / 1.1 GB, free: 13.85 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.507e-06/0.8993, allocations: 3.125 kB / 1.1 GB, free: 13.85 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002911/0.8996, allocations: 73.05 kB / 1.1 GB, free: 13.84 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.967e-06/0.8996, allocations: 3.375 kB / 1.1 GB, free: 13.84 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004966/0.9001, allocations: 65.91 kB / 1.1 GB, free: 13.82 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.786e-05/0.9001, allocations: 12.77 kB / 1.1 GB, free: 13.82 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003263/0.9004, allocations: 293.9 kB / 1.1 GB, free: 13.64 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.305e-05/0.9005, allocations: 60.19 kB / 1.1 GB, free: 13.61 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006982/0.9013, allocations: 436.2 kB / 1.101 GB, free: 13.55 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.342e-06/0.9013, allocations: 3.344 kB / 1.101 GB, free: 13.55 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.9013, allocations: 1.75 kB / 1.101 GB, free: 13.55 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005498/0.9018, allocations: 439.4 kB / 1.101 GB, free: 13.38 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001749/0.9036, allocations: 1.181 MB / 1.102 GB, free: 13.02 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/0.9036, allocations: 3.891 kB / 1.102 GB, free: 13.02 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004055/0.904, allocations: 88.98 kB / 1.102 GB, free: 13.02 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.873e-06/0.904, allocations: 3.938 kB / 1.102 GB, free: 13.02 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.681e-05/0.9041, allocations: 6.781 kB / 1.102 GB, free: 13.02 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.571e-06/0.9041, allocations: 10.39 kB / 1.102 GB, free: 13.01 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.9041, allocations: 3.094 kB / 1.102 GB, free: 13.01 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009871/0.9051, allocations: 0.7376 MB / 1.103 GB, free: 12.79 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002475/0.9054, allocations: 183.2 kB / 1.103 GB, free: 12.66 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.939e-05/0.9054, allocations: 7.297 kB / 1.103 GB, free: 12.66 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005375/0.906, allocations: 57.44 kB / 1.103 GB, free: 12.65 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.809e-05/0.9061, allocations: 34.91 kB / 1.103 GB, free: 12.64 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.992e-05/0.9061, allocations: 11.88 kB / 1.103 GB, free: 12.64 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0004445/0.9065, allocations: 367.2 kB / 1.104 GB, free: 12.56 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.4e-07/0.9066, allocations: 2.906 kB / 1.104 GB, free: 12.56 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0008466/0.9074, allocations: 322.7 kB / 1.104 GB, free: 12.52 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 (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.0004192/0.9078, allocations: 190.9 kB / 1.104 GB, free: 12.41 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0008563/0.9087, allocations: 0.5251 MB / 1.105 GB, free: 12.4 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.9087, allocations: 384 / 1.105 GB, free: 12.4 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0002608/0.909, allocations: 186.8 kB / 1.105 GB, free: 12.39 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001863/0.9109, allocations: 376 kB / 1.105 GB, free: 12.37 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00225/0.9131, allocations: 1.589 MB / 1.107 GB, free: 11.46 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004877/0.9136, allocations: 0.9335 MB / 1.108 GB, free: 10.75 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001613/0.9138, allocations: 51.03 kB / 1.108 GB, free: 10.75 MB / 0.7136 GB Notification: Performance of SimCode: time 9.62e-07/0.9138, allocations: 4 kB / 1.108 GB, free: 10.74 MB / 0.7136 GB Notification: Performance of Templates: time 0.01424/0.9281, allocations: 9.727 MB / 1.117 GB, free: 9.379 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)