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.001845/0.001845, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002116/0.002116, allocations: 195.2 kB / 16.14 MB, free: 6.637 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.454/1.454, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002662/0.002662, allocations: 289.7 kB / 290.2 MB, free: 2.223 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.102/1.102, allocations: 178.6 MB / 0.5068 GB, free: 4.781 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002939/0.002939, allocations: 97.42 kB / 0.6057 GB, free: 25.1 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1665/0.1694, allocations: 89.16 MB / 0.6928 GB, free: 4.84 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Delays.Examples.Delay): time 0.4863/0.6558, allocations: 181 MB / 0.8695 GB, free: 3.297 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.008105/0.6639, allocations: 4.937 MB / 0.8744 GB, free: 15.33 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008991/0.6648, allocations: 26.94 kB / 0.8744 GB, free: 15.32 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001153/0.666, allocations: 373.5 kB / 0.8747 GB, free: 15.03 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.003368/0.6694, allocations: 1.329 MB / 0.876 GB, free: 14.01 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001907/0.6713, allocations: 0.6967 MB / 0.8767 GB, free: 13.51 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.002686/0.674, allocations: 2.531 MB / 0.8792 GB, free: 12.14 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007378/0.6748, allocations: 0.4993 MB / 0.8797 GB, free: 11.83 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001593/0.6764, allocations: 0.7746 MB / 0.8804 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001149/0.6775, allocations: 0.5726 MB / 0.881 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 7.993e-05/0.6776, allocations: 32.59 kB / 0.881 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002905/0.6805, allocations: 1.615 MB / 0.8826 GB, free: 9.766 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0003051/0.6808, allocations: 235.2 kB / 0.8828 GB, free: 9.535 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.000467/0.6813, allocations: 366.1 kB / 0.8832 GB, free: 9.176 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002254/0.6836, allocations: 1.468 MB / 0.8846 GB, free: 7.703 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.6836, allocations: 0 / 0.8846 GB, free: 7.703 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.016e-06/0.6836, allocations: 0 / 0.8846 GB, free: 7.703 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.335e-05/0.6836, allocations: 3.938 kB / 0.8846 GB, free: 7.699 MB / 0.6075 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.00187/0.6855, allocations: 1.102 MB / 0.8857 GB, free: 6.547 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.788e-05/0.6855, allocations: 12.03 kB / 0.8857 GB, free: 6.535 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001383/0.6869, allocations: 202.9 kB / 0.8859 GB, free: 6.336 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000979/0.6879, allocations: 0.5849 MB / 0.8865 GB, free: 5.707 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.338e-05/0.688, allocations: 41 kB / 0.8865 GB, free: 5.668 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.306e-05/0.6881, allocations: 47.91 kB / 0.8866 GB, free: 5.621 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009914/0.6891, allocations: 0.4905 MB / 0.887 GB, free: 5.129 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.676e-05/0.6891, allocations: 0 / 0.887 GB, free: 5.129 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.874e-05/0.6892, allocations: 24 kB / 0.8871 GB, free: 5.105 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.064e-05/0.6892, allocations: 16.98 kB / 0.8871 GB, free: 5.09 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008651/0.6901, allocations: 435.7 kB / 0.8875 GB, free: 4.664 MB / 0.6075 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.002942/0.693, allocations: 2.006 MB / 0.8894 GB, free: 2.484 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007081/0.6938, allocations: 352.1 kB / 0.8898 GB, free: 2.133 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003989/0.6942, allocations: 209.2 kB / 0.89 GB, free: 1.926 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003675/0.6945, allocations: 194.5 kB / 0.8902 GB, free: 1.699 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.737e-05/0.6946, allocations: 38.84 kB / 0.8902 GB, free: 1.652 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=33): time 1.854e-06/0.6946, allocations: 0 / 0.8902 GB, free: 1.652 MB / 0.6075 GB Notification: Performance of matching and sorting (n=33): time 0.001453/0.6961, allocations: 0.5371 MB / 0.8907 GB, free: 1.109 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.573e-05/0.6961, allocations: 55.41 kB / 0.8908 GB, free: 1.043 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006694/0.6968, allocations: 0.5185 MB / 0.8913 GB, free: 0.5156 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.35e-05/0.6969, allocations: 37.7 kB / 0.8913 GB, free: 484 kB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002766/0.6971, allocations: 296.2 kB / 0.8916 GB, free: 180 kB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001286/0.6973, allocations: 122.3 kB / 0.8917 GB, free: 56 kB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001362/0.6974, allocations: 62.03 kB / 0.8918 GB, free: 15.99 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001946/0.6976, allocations: 370.8 kB / 0.8921 GB, free: 15.62 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002982/0.6979, allocations: 139.3 kB / 0.8923 GB, free: 15.48 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003681/0.6983, allocations: 219.4 kB / 0.8925 GB, free: 15.24 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006336/0.6989, allocations: 336.4 kB / 0.8928 GB, free: 14.9 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.699, allocations: 0 / 0.8928 GB, free: 14.9 MB / 0.6231 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.000827/0.6998, allocations: 432.9 kB / 0.8932 GB, free: 14.47 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.984e-05/0.6998, allocations: 4 kB / 0.8932 GB, free: 14.47 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.155e-06/0.6998, allocations: 1.328 kB / 0.8932 GB, free: 14.47 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.086e-05/0.6999, allocations: 4 kB / 0.8932 GB, free: 14.46 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003686/0.7002, allocations: 79.98 kB / 0.8933 GB, free: 14.39 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.33e-05/0.7003, allocations: 7.875 kB / 0.8933 GB, free: 14.38 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005604/0.7008, allocations: 63.64 kB / 0.8934 GB, free: 14.32 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.746e-05/0.7009, allocations: 14 kB / 0.8934 GB, free: 14.3 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004898/0.7014, allocations: 304 kB / 0.8937 GB, free: 14 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003443/0.7017, allocations: 207.4 kB / 0.8939 GB, free: 13.78 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005886/0.7023, allocations: 335.2 kB / 0.8942 GB, free: 13.44 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.132e-06/0.7023, allocations: 0 / 0.8942 GB, free: 13.44 MB / 0.6231 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0007619/0.7031, allocations: 424.8 kB / 0.8946 GB, free: 13.02 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 9.669e-06/0.7031, allocations: 6.5 kB / 0.8946 GB, free: 13.01 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.184e-06/0.7031, allocations: 0 / 0.8946 GB, free: 13.01 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.651e-06/0.7031, allocations: 4 kB / 0.8946 GB, free: 13.01 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003383/0.7035, allocations: 71.89 kB / 0.8947 GB, free: 12.94 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.207e-06/0.7035, allocations: 4 kB / 0.8947 GB, free: 12.93 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005322/0.704, allocations: 67.7 kB / 0.8947 GB, free: 12.87 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.816e-05/0.7041, allocations: 17.81 kB / 0.8948 GB, free: 12.85 MB / 0.6231 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.0001591/0.7042, allocations: 200.8 kB / 0.8949 GB, free: 12.65 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001078/0.7044, allocations: 63.25 kB / 0.895 GB, free: 12.59 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008463/0.7052, allocations: 424 kB / 0.8954 GB, free: 12.16 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.985e-06/0.7052, allocations: 4 kB / 0.8954 GB, free: 12.16 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.253e-06/0.7052, allocations: 3.938 kB / 0.8954 GB, free: 12.16 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006812/0.7059, allocations: 432.5 kB / 0.8958 GB, free: 11.7 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001942/0.7079, allocations: 1.174 MB / 0.897 GB, free: 10.45 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.498e-06/0.7079, allocations: 4 kB / 0.897 GB, free: 10.45 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004436/0.7083, allocations: 86.08 kB / 0.8971 GB, free: 10.37 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.522e-06/0.7084, allocations: 4 kB / 0.8971 GB, free: 10.36 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.298e-05/0.7084, allocations: 12 kB / 0.8971 GB, free: 10.35 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.406e-06/0.7084, allocations: 7.938 kB / 0.8971 GB, free: 10.34 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.7084, allocations: 0 / 0.8971 GB, free: 10.34 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001161/0.7096, allocations: 0.6987 MB / 0.8978 GB, free: 9.609 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002526/0.7099, allocations: 176.4 kB / 0.8979 GB, free: 9.418 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.685e-05/0.7099, allocations: 8 kB / 0.8979 GB, free: 9.41 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005305/0.7105, allocations: 51.86 kB / 0.898 GB, free: 9.359 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.789e-05/0.7106, allocations: 23.97 kB / 0.898 GB, free: 9.336 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.296e-05/0.7106, allocations: 16 kB / 0.898 GB, free: 9.32 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0004578/0.7111, allocations: 362.8 kB / 0.8984 GB, free: 8.969 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7111, allocations: 0 / 0.8984 GB, free: 8.969 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0008974/0.712, allocations: 331.1 kB / 0.8987 GB, free: 8.641 MB / 0.6231 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.0004593/0.7124, allocations: 200.3 kB / 0.8989 GB, free: 8.445 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001084/0.7135, allocations: 0.5112 MB / 0.8994 GB, free: 7.934 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.634e-06/0.7135, allocations: 0 / 0.8994 GB, free: 7.934 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.000347/0.7139, allocations: 179.7 kB / 0.8996 GB, free: 7.758 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001844/0.7158, allocations: 377.3 kB / 0.8999 GB, free: 7.395 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002271/0.718, allocations: 1.479 MB / 0.9014 GB, free: 5.875 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000597/0.7186, allocations: 0.9335 MB / 0.9023 GB, free: 4.914 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0006824/0.7193, allocations: 188.8 kB / 0.9025 GB, free: 4.727 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001989/0.7195, allocations: 51.42 kB / 0.9025 GB, free: 4.676 MB / 0.6231 GB Notification: Performance of SimCode: time 5.01e-07/0.7196, allocations: 0 / 0.9025 GB, free: 4.676 MB / 0.6231 GB Notification: Performance of Templates: time 0.02296/0.7425, allocations: 11.35 MB / 0.9136 GB, free: 9.523 MB / 0.6387 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)