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/ModelicaServices 4.0.0+maint.om/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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01053/0.01053, allocations: 100.6 kB / 15.73 MB, free: 6.035 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0019/0.0019, allocations: 192.4 kB / 16.67 MB, free: 5.973 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.662/1.662, allocations: 205.1 MB / 222.5 MB, free: 4.477 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.594/1.594, allocations: 251.7 MB / 0.5094 GB, free: 3.043 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001402/0.001402, allocations: 71.89 kB / 0.7258 GB, free: 8.973 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2604/0.2618, allocations: 104.7 MB / 0.828 GB, free: 164 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Delays.Examples.Delay): time 0.9447/1.206, allocations: 183.4 MB / 1.007 GB, free: 14.44 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.01076/1.217, allocations: 4.905 MB / 1.012 GB, free: 10.46 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001851/1.219, allocations: 29.16 kB / 1.012 GB, free: 10.45 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.001602/1.221, allocations: 460.8 kB / 1.012 GB, free: 10.07 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.005021/1.226, allocations: 1.461 MB / 1.014 GB, free: 8.961 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.003198/1.229, allocations: 0.8136 MB / 1.015 GB, free: 8.352 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.00413/1.233, allocations: 1.897 MB / 1.016 GB, free: 7.266 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009992/1.234, allocations: 0.6101 MB / 1.017 GB, free: 6.879 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002796/1.237, allocations: 0.9098 MB / 1.018 GB, free: 6.324 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001667/1.239, allocations: 0.5605 MB / 1.019 GB, free: 5.992 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.0001252/1.239, allocations: 64.75 kB / 1.019 GB, free: 5.988 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003739/1.243, allocations: 1.416 MB / 1.02 GB, free: 5.203 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.0003816/1.243, allocations: 272.4 kB / 1.02 GB, free: 5.02 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.0005705/1.244, allocations: 409.1 kB / 1.021 GB, free: 4.766 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.003318/1.247, allocations: 1.453 MB / 1.022 GB, free: 3.855 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 8.546e-06/1.247, allocations: 3.938 kB / 1.022 GB, free: 3.852 MB / 0.7637 GB Notification: Performance of FrontEnd: time 3.516e-06/1.247, allocations: 0 / 1.022 GB, free: 3.852 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 2.032e-05/1.247, allocations: 0 / 1.022 GB, free: 3.852 MB / 0.7637 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.00225/1.249, allocations: 1.107 MB / 1.023 GB, free: 2.965 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 5.861e-05/1.249, allocations: 9.344 kB / 1.023 GB, free: 2.965 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001413/1.251, allocations: 207.6 kB / 1.023 GB, free: 2.871 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001086/1.252, allocations: 0.6063 MB / 1.024 GB, free: 2.375 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.363e-05/1.252, allocations: 41.55 kB / 1.024 GB, free: 2.355 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001029/1.252, allocations: 56.53 kB / 1.024 GB, free: 2.332 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001019/1.253, allocations: 0.4996 MB / 1.025 GB, free: 2.043 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.053e-05/1.253, allocations: 0 / 1.025 GB, free: 2.043 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.908e-05/1.253, allocations: 20.62 kB / 1.025 GB, free: 2.027 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.773e-05/1.253, allocations: 16.25 kB / 1.025 GB, free: 2.027 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008792/1.254, allocations: 440.8 kB / 1.025 GB, free: 1.82 MB / 0.7637 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.003058/1.257, allocations: 2.007 MB / 1.027 GB, free: 100 kB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006797/1.258, allocations: 346.1 kB / 1.027 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003455/1.258, allocations: 211.5 kB / 1.027 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003344/1.259, allocations: 192 kB / 1.028 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.094e-05/1.259, allocations: 37.72 kB / 1.028 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=33): time 1.984e-06/1.259, allocations: 0 / 1.028 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of matching and sorting (n=33): time 0.001367/1.26, allocations: 0.5412 MB / 1.028 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.198e-05/1.26, allocations: 60.55 kB / 1.028 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006453/1.261, allocations: 0.5056 MB / 1.029 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 4.642e-05/1.261, allocations: 33.7 kB / 1.029 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.00026/1.261, allocations: 308.2 kB / 1.029 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.000123/1.261, allocations: 122.2 kB / 1.029 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001276/1.261, allocations: 73.94 kB / 1.029 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001764/1.261, allocations: 362.8 kB / 1.03 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002832/1.262, allocations: 142.1 kB / 1.03 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003375/1.262, allocations: 215.9 kB / 1.03 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005889/1.263, allocations: 331.7 kB / 1.03 GB, free: 13.19 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/1.263, allocations: 4 kB / 1.03 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007402/1.263, allocations: 427.2 kB / 1.031 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.939e-05/1.263, allocations: 4 kB / 1.031 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.143e-06/1.263, allocations: 0 / 1.031 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.321e-05/1.264, allocations: 7.938 kB / 1.031 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003758/1.264, allocations: 71.91 kB / 1.031 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.217e-05/1.264, allocations: 3.938 kB / 1.031 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000513/1.264, allocations: 39.81 kB / 1.031 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.561e-05/1.264, allocations: 16 kB / 1.031 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004669/1.265, allocations: 304 kB / 1.031 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003126/1.265, allocations: 212.2 kB / 1.031 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005327/1.266, allocations: 331.4 kB / 1.032 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.342e-06/1.266, allocations: 4 kB / 1.032 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0006904/1.267, allocations: 412.7 kB / 1.032 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 8.967e-06/1.267, allocations: 4 kB / 1.032 GB, free: 11.33 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.687e-06/1.267, allocations: 4 kB / 1.032 GB, free: 11.33 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.49e-06/1.267, allocations: 0 / 1.032 GB, free: 11.33 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003049/1.267, allocations: 75.84 kB / 1.032 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.633e-06/1.267, allocations: 7.875 kB / 1.032 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000464/1.267, allocations: 39.05 kB / 1.032 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.454e-05/1.267, allocations: 16.09 kB / 1.032 GB, free: 11.2 MB / 0.7794 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.0001709/1.268, allocations: 197.9 kB / 1.032 GB, free: 11 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001061/1.268, allocations: 63.25 kB / 1.032 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000798/1.269, allocations: 419.6 kB / 1.033 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.225e-06/1.269, allocations: 11.88 kB / 1.033 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/1.269, allocations: 0 / 1.033 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006105/1.269, allocations: 432.2 kB / 1.033 GB, free: 10.05 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001839/1.271, allocations: 1.174 MB / 1.034 GB, free: 8.801 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.496e-06/1.271, allocations: 7.938 kB / 1.034 GB, free: 8.793 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004327/1.271, allocations: 85.08 kB / 1.034 GB, free: 8.711 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.388e-06/1.271, allocations: 3.938 kB / 1.034 GB, free: 8.707 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.134e-05/1.272, allocations: 8 kB / 1.034 GB, free: 8.699 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.341e-06/1.272, allocations: 4 kB / 1.034 GB, free: 8.695 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.783e-06/1.272, allocations: 5.953 kB / 1.034 GB, free: 8.691 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001224/1.273, allocations: 0.7313 MB / 1.035 GB, free: 7.926 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002405/1.273, allocations: 188.5 kB / 1.035 GB, free: 7.723 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.199e-05/1.273, allocations: 8 kB / 1.035 GB, free: 7.715 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004772/1.274, allocations: 30.61 kB / 1.035 GB, free: 7.688 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000102/1.274, allocations: 28.78 kB / 1.035 GB, free: 7.66 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.56e-05/1.274, allocations: 8 kB / 1.035 GB, free: 7.652 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0004451/1.274, allocations: 366.8 kB / 1.036 GB, free: 7.297 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.5e-07/1.274, allocations: 4 kB / 1.036 GB, free: 7.293 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.001006/1.275, allocations: 331.2 kB / 1.036 GB, free: 6.969 MB / 0.7794 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.0006274/1.276, allocations: 184.3 kB / 1.036 GB, free: 6.785 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.001078/1.277, allocations: 0.5074 MB / 1.037 GB, free: 6.277 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/1.277, allocations: 4.312 kB / 1.037 GB, free: 6.273 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0003066/1.277, allocations: 179.8 kB / 1.037 GB, free: 6.098 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001701/1.279, allocations: 348.5 kB / 1.037 GB, free: 5.762 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002635/1.282, allocations: 1.252 MB / 1.039 GB, free: 4.465 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007482/1.282, allocations: 0.9334 MB / 1.039 GB, free: 3.5 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0006259/1.283, allocations: 184.8 kB / 1.04 GB, free: 3.316 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000146/1.283, allocations: 51.44 kB / 1.04 GB, free: 3.27 MB / 0.7794 GB Notification: Performance of SimCode: time 7.31e-07/1.283, allocations: 0 / 1.04 GB, free: 3.27 MB / 0.7794 GB Notification: Performance of Templates: time 0.02598/1.309, allocations: 11.92 MB / 1.051 GB, free: 7.555 MB / 0.795 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)