Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Fluid.Delays.Examples.Delay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Delays.Examples.Delay") translateModel(BuildingSystems.Fluid.Delays.Examples.Delay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.00165/0.00165, allocations: 102.9 kB / 16.27 MB, free: 6.414 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.001682/0.001682, allocations: 189.3 kB / 17.2 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.375/1.375, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002648/0.002648, allocations: 290.3 kB / 291.3 MB, free: 14.53 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.193/1.193, allocations: 178.6 MB / 0.5079 GB, free: 12.82 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00293/0.00293, allocations: 99.84 kB / 0.6071 GB, free: 9.281 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1823/0.1852, allocations: 89.13 MB / 0.6941 GB, free: 76 kB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Delays.Examples.Delay): time 0.465/0.6502, allocations: 183.2 MB / 0.8731 GB, free: 2.867 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.008736/0.659, allocations: 4.86 MB / 0.8778 GB, free: 14.1 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009895/0.66, allocations: 31.81 kB / 0.8779 GB, free: 14.07 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001292/0.6613, allocations: 437.3 kB / 0.8783 GB, free: 13.64 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.003638/0.665, allocations: 1.416 MB / 0.8797 GB, free: 12.21 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002046/0.6671, allocations: 0.769 MB / 0.8804 GB, free: 11.45 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.002476/0.6696, allocations: 1.844 MB / 0.8822 GB, free: 9.605 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009789/0.6706, allocations: 0.5945 MB / 0.8828 GB, free: 9 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001875/0.6725, allocations: 0.8599 MB / 0.8836 GB, free: 8.137 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001386/0.6739, allocations: 0.554 MB / 0.8842 GB, free: 7.586 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001617/0.674, allocations: 60 kB / 0.8842 GB, free: 7.527 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002896/0.6769, allocations: 1.415 MB / 0.8856 GB, free: 6.109 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0004106/0.6774, allocations: 263.3 kB / 0.8859 GB, free: 5.852 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0006693/0.678, allocations: 406.1 kB / 0.8863 GB, free: 5.453 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.002559/0.6806, allocations: 1.395 MB / 0.8876 GB, free: 4.055 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 6.652e-06/0.6806, allocations: 4 kB / 0.8876 GB, free: 4.051 MB / 0.6387 GB Notification: Performance of FrontEnd: time 3.426e-06/0.6806, allocations: 4 kB / 0.8876 GB, free: 4.047 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 2.502e-05/0.6807, allocations: 0 / 0.8876 GB, free: 4.047 MB / 0.6387 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.002057/0.6827, allocations: 1.094 MB / 0.8887 GB, free: 2.906 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.404e-05/0.6828, allocations: 8.031 kB / 0.8887 GB, free: 2.898 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001369/0.6842, allocations: 218.9 kB / 0.8889 GB, free: 2.684 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001034/0.6852, allocations: 0.577 MB / 0.8895 GB, free: 2.062 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.524e-05/0.6852, allocations: 40.94 kB / 0.8895 GB, free: 2.023 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.986e-05/0.6854, allocations: 51.98 kB / 0.8896 GB, free: 1.973 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009206/0.6863, allocations: 490.4 kB / 0.89 GB, free: 1.484 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.605e-05/0.6863, allocations: 4 kB / 0.89 GB, free: 1.48 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.299e-05/0.6864, allocations: 27.98 kB / 0.8901 GB, free: 1.453 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.698e-05/0.6864, allocations: 17.62 kB / 0.8901 GB, free: 1.438 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008398/0.6872, allocations: 431.7 kB / 0.8905 GB, free: 1.016 MB / 0.6387 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.002951/0.6902, allocations: 2.025 MB / 0.8925 GB, free: 14.82 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000659/0.6909, allocations: 347.5 kB / 0.8928 GB, free: 14.47 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003711/0.6913, allocations: 210.3 kB / 0.893 GB, free: 14.26 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000321/0.6916, allocations: 198.5 kB / 0.8932 GB, free: 14.03 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.904e-05/0.6916, allocations: 35.34 kB / 0.8932 GB, free: 13.99 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=33): time 1.663e-06/0.6916, allocations: 0 / 0.8932 GB, free: 13.99 MB / 0.6544 GB Notification: Performance of matching and sorting (n=33): time 0.001311/0.693, allocations: 0.5409 MB / 0.8938 GB, free: 13.44 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.29e-05/0.693, allocations: 59.41 kB / 0.8938 GB, free: 13.37 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006245/0.6936, allocations: 0.5146 MB / 0.8943 GB, free: 12.85 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 4.535e-05/0.6937, allocations: 37.7 kB / 0.8943 GB, free: 12.8 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002559/0.694, allocations: 300.2 kB / 0.8946 GB, free: 12.51 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001279/0.6941, allocations: 118.3 kB / 0.8947 GB, free: 12.39 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001214/0.6942, allocations: 66.02 kB / 0.8948 GB, free: 12.32 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.000195/0.6944, allocations: 366.8 kB / 0.8952 GB, free: 11.95 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002958/0.6947, allocations: 146.1 kB / 0.8953 GB, free: 11.81 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003618/0.6951, allocations: 211.9 kB / 0.8955 GB, free: 11.58 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006685/0.6958, allocations: 340.5 kB / 0.8958 GB, free: 11.24 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.6958, allocations: 3.938 kB / 0.8958 GB, free: 11.23 MB / 0.6544 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0008269/0.6966, allocations: 432.9 kB / 0.8962 GB, free: 10.8 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.79e-05/0.6967, allocations: 13.86 kB / 0.8963 GB, free: 10.79 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.6967, allocations: 96 / 0.8963 GB, free: 10.79 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.744e-05/0.6967, allocations: 8 kB / 0.8963 GB, free: 10.79 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003317/0.697, allocations: 63.91 kB / 0.8963 GB, free: 10.72 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.111e-05/0.6971, allocations: 11.88 kB / 0.8963 GB, free: 10.71 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004655/0.6975, allocations: 43.61 kB / 0.8964 GB, free: 10.67 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.528e-05/0.6976, allocations: 15.98 kB / 0.8964 GB, free: 10.65 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000489/0.6981, allocations: 304 kB / 0.8967 GB, free: 10.35 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003472/0.6984, allocations: 209.8 kB / 0.8969 GB, free: 10.12 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000594/0.699, allocations: 331.5 kB / 0.8972 GB, free: 9.789 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.483e-06/0.699, allocations: 0 / 0.8972 GB, free: 9.789 MB / 0.6544 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0007938/0.6998, allocations: 424.5 kB / 0.8976 GB, free: 9.367 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 9.508e-06/0.6999, allocations: 4 kB / 0.8976 GB, free: 9.363 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.234e-06/0.6999, allocations: 0 / 0.8976 GB, free: 9.363 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.712e-06/0.6999, allocations: 4 kB / 0.8976 GB, free: 9.359 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003181/0.7002, allocations: 71.91 kB / 0.8977 GB, free: 9.289 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.028e-06/0.7002, allocations: 4.094 kB / 0.8977 GB, free: 9.285 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004631/0.7007, allocations: 35.75 kB / 0.8977 GB, free: 9.25 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.892e-05/0.7007, allocations: 16 kB / 0.8977 GB, free: 9.234 MB / 0.6544 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.0001614/0.7009, allocations: 192.9 kB / 0.8979 GB, free: 9.039 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001199/0.701, allocations: 63.19 kB / 0.898 GB, free: 8.977 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008539/0.7019, allocations: 430.8 kB / 0.8984 GB, free: 8.547 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.811e-06/0.7019, allocations: 4 kB / 0.8984 GB, free: 8.543 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.763e-06/0.7019, allocations: 3.938 kB / 0.8984 GB, free: 8.539 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006904/0.7026, allocations: 433.6 kB / 0.8988 GB, free: 8.086 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001958/0.7046, allocations: 1.178 MB / 0.9 GB, free: 6.832 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.7046, allocations: 0 / 0.9 GB, free: 6.832 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000422/0.705, allocations: 87.02 kB / 0.9 GB, free: 6.75 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.444e-06/0.705, allocations: 4 kB / 0.9 GB, free: 6.746 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.742e-05/0.7051, allocations: 8 kB / 0.9001 GB, free: 6.738 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.853e-06/0.7051, allocations: 12.12 kB / 0.9001 GB, free: 6.727 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/0.7051, allocations: 0 / 0.9001 GB, free: 6.727 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001151/0.7062, allocations: 0.6988 MB / 0.9007 GB, free: 5.992 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002558/0.7065, allocations: 184.2 kB / 0.9009 GB, free: 5.793 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.918e-05/0.7066, allocations: 12 kB / 0.9009 GB, free: 5.781 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004526/0.7071, allocations: 25.09 kB / 0.901 GB, free: 5.758 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.356e-05/0.7071, allocations: 27.97 kB / 0.901 GB, free: 5.73 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.046e-05/0.7072, allocations: 11.94 kB / 0.901 GB, free: 5.719 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0004552/0.7076, allocations: 366.8 kB / 0.9013 GB, free: 5.363 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.1e-07/0.7077, allocations: 0 / 0.9013 GB, free: 5.363 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0008671/0.7085, allocations: 319.2 kB / 0.9017 GB, free: 5.051 MB / 0.6544 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.0004466/0.709, allocations: 190 kB / 0.9018 GB, free: 4.867 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001139/0.7101, allocations: 0.5511 MB / 0.9024 GB, free: 4.316 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.7101, allocations: 0 / 0.9024 GB, free: 4.316 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0003391/0.7105, allocations: 183.7 kB / 0.9025 GB, free: 4.137 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001628/0.7121, allocations: 353.9 kB / 0.9029 GB, free: 3.809 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002226/0.7144, allocations: 1.304 MB / 0.9042 GB, free: 2.465 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006207/0.715, allocations: 0.9334 MB / 0.9051 GB, free: 1.504 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001533/0.7152, allocations: 47.44 kB / 0.9051 GB, free: 1.457 MB / 0.6544 GB Notification: Performance of SimCode: time 5.01e-07/0.7152, allocations: 0 / 0.9051 GB, free: 1.457 MB / 0.6544 GB Notification: Performance of Templates: time 0.01546/0.7306, allocations: 9.664 MB / 0.9146 GB, free: 7.898 MB / 0.67 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Delays.Examples.Delay.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Delays.Examples.Delay.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Delays.Examples.Delay.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Delays.Examples.Delay.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Delays.Examples.Delay.sim & ./BuildingSystems_BuildingSystems.Fluid.Delays.Examples.Delay -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Delays.Examples.Delay.pipe 2>&1)