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/BuildingSystems 2.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/BuildingSystems 2.0.0-master/package.mo): time 0.9175/0.9175, allocations: 143.4 MB / 159.2 MB, free: 4.938 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00125/0.00125, allocations: 180.5 kB / 191.9 MB, free: 5.711 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.334/1.334, allocations: 222.9 MB / 447.3 MB, free: 5.832 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009684/0.0009684, allocations: 119 kB / 0.517 GB, free: 3.703 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001846/0.001846, allocations: 284.3 kB / 0.5973 GB, free: 49.34 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001783/0.001783, allocations: 75.89 kB / 0.6885 GB, free: 3.82 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3747/0.3765, allocations: 81.3 MB / 0.7679 GB, free: 27.64 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Delays.Examples.Delay): time 0.4676/0.8441, allocations: 181 MB / 0.9447 GB, free: 104 kB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.006657/0.8508, allocations: 4.912 MB / 0.9495 GB, free: 15.95 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009085/0.8518, allocations: 30.92 kB / 0.9495 GB, free: 15.95 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 0.001003/0.8528, allocations: 379.4 kB / 0.9499 GB, free: 15.94 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 0.002784/0.8556, allocations: 1.315 MB / 0.9511 GB, free: 15.87 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.001668/0.8573, allocations: 0.6903 MB / 0.9518 GB, free: 15.85 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.001984/0.8593, allocations: 2.529 MB / 0.9543 GB, free: 15.84 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005647/0.8598, allocations: 0.5053 MB / 0.9548 GB, free: 15.76 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001257/0.8611, allocations: 0.7796 MB / 0.9555 GB, free: 15.75 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001025/0.8621, allocations: 0.569 MB / 0.9561 GB, free: 15.73 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 7.916e-05/0.8622, allocations: 31.81 kB / 0.9561 GB, free: 15.73 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002267/0.8645, allocations: 1.611 MB / 0.9577 GB, free: 15.72 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.0002247/0.8647, allocations: 238.7 kB / 0.9579 GB, free: 15.72 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.0003451/0.8651, allocations: 373.1 kB / 0.9583 GB, free: 15.62 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.001614/0.8667, allocations: 1.467 MB / 0.9597 GB, free: 15.45 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.8667, allocations: 0 / 0.9597 GB, free: 15.45 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.192e-06/0.8667, allocations: 7.438 kB / 0.9597 GB, free: 15.45 MB / 0.573 GB Notification: Performance of Transformations before backend: time 8.256e-06/0.8668, allocations: 0 / 0.9597 GB, free: 15.45 MB / 0.573 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.001507/0.8683, allocations: 1.086 MB / 0.9608 GB, free: 14.79 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 3.488e-05/0.8683, allocations: 12.89 kB / 0.9608 GB, free: 14.79 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001138/0.8695, allocations: 207.1 kB / 0.961 GB, free: 14.74 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008545/0.8703, allocations: 0.581 MB / 0.9616 GB, free: 14.45 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.563e-05/0.8704, allocations: 34.25 kB / 0.9616 GB, free: 14.45 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.624e-05/0.8704, allocations: 51.06 kB / 0.9616 GB, free: 14.45 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007398/0.8712, allocations: 0.4907 MB / 0.9621 GB, free: 14.4 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.494e-05/0.8712, allocations: 0 / 0.9621 GB, free: 14.4 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.419e-05/0.8713, allocations: 18.19 kB / 0.9621 GB, free: 14.4 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.357e-05/0.8713, allocations: 17.62 kB / 0.9622 GB, free: 14.4 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006791/0.872, allocations: 438.6 kB / 0.9626 GB, free: 14.39 MB / 0.573 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.002338/0.8743, allocations: 1.995 MB / 0.9645 GB, free: 13.39 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005115/0.8748, allocations: 356.8 kB / 0.9649 GB, free: 13.36 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003035/0.8752, allocations: 208.6 kB / 0.9651 GB, free: 13.35 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002527/0.8754, allocations: 189 kB / 0.9652 GB, free: 13.16 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.167e-05/0.8755, allocations: 42.34 kB / 0.9653 GB, free: 13.12 MB / 0.573 GB Notification: Performance of pre-optimization done (n=33): time 1.623e-06/0.8755, allocations: 7.938 kB / 0.9653 GB, free: 13.11 MB / 0.573 GB Notification: Performance of matching and sorting (n=33): time 0.001123/0.8766, allocations: 0.5363 MB / 0.9658 GB, free: 13.04 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.361e-05/0.8766, allocations: 62.47 kB / 0.9659 GB, free: 12.97 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005211/0.8772, allocations: 0.4995 MB / 0.9664 GB, free: 12.86 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 3.581e-05/0.8772, allocations: 36.89 kB / 0.9664 GB, free: 12.82 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001903/0.8774, allocations: 308.3 kB / 0.9667 GB, free: 12.68 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001016/0.8775, allocations: 118.5 kB / 0.9668 GB, free: 12.6 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001166/0.8776, allocations: 71.95 kB / 0.9669 GB, free: 12.58 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001289/0.8778, allocations: 364.4 kB / 0.9672 GB, free: 12.27 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000293/0.8781, allocations: 140 kB / 0.9674 GB, free: 12.26 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003248/0.8784, allocations: 224.5 kB / 0.9676 GB, free: 12.18 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005175/0.8789, allocations: 337.3 kB / 0.9679 GB, free: 12.14 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.879, allocations: 2.781 kB / 0.9679 GB, free: 12.14 MB / 0.573 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006493/0.8796, allocations: 424.8 kB / 0.9683 GB, free: 12.08 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.345e-05/0.8796, allocations: 4.906 kB / 0.9683 GB, free: 12.08 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.8796, allocations: 0 / 0.9683 GB, free: 12.08 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.335e-05/0.8797, allocations: 7.688 kB / 0.9683 GB, free: 12.08 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003324/0.88, allocations: 69.56 kB / 0.9684 GB, free: 12.08 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.199e-05/0.88, allocations: 10.41 kB / 0.9684 GB, free: 12.07 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005075/0.8805, allocations: 56.77 kB / 0.9684 GB, free: 12.05 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.152e-05/0.8806, allocations: 15.12 kB / 0.9685 GB, free: 12.05 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004051/0.881, allocations: 309.7 kB / 0.9687 GB, free: 11.9 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002932/0.8813, allocations: 209.3 kB / 0.9689 GB, free: 11.75 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005158/0.8818, allocations: 333.4 kB / 0.9693 GB, free: 11.57 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.066e-06/0.8818, allocations: 0 / 0.9693 GB, free: 11.57 MB / 0.573 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0006851/0.8825, allocations: 421.8 kB / 0.9697 GB, free: 11.36 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 7.444e-06/0.8825, allocations: 12.03 kB / 0.9697 GB, free: 11.36 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.883e-06/0.8826, allocations: 0 / 0.9697 GB, free: 11.36 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.606e-06/0.8826, allocations: 3.188 kB / 0.9697 GB, free: 11.36 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002921/0.8829, allocations: 67.27 kB / 0.9697 GB, free: 11.34 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.018e-06/0.8829, allocations: 4.781 kB / 0.9698 GB, free: 11.34 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004893/0.8834, allocations: 67.89 kB / 0.9698 GB, free: 11.3 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.513e-05/0.8834, allocations: 14.88 kB / 0.9698 GB, free: 11.3 MB / 0.573 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.0001156/0.8835, allocations: 192.7 kB / 0.97 GB, free: 11.11 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.029e-05/0.8836, allocations: 56.94 kB / 0.9701 GB, free: 11.08 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007267/0.8844, allocations: 428.2 kB / 0.9705 GB, free: 10.83 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.8844, allocations: 2.812 kB / 0.9705 GB, free: 10.83 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.8844, allocations: 3.938 kB / 0.9705 GB, free: 10.83 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005726/0.885, allocations: 440.2 kB / 0.9709 GB, free: 10.53 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001665/0.8866, allocations: 1.169 MB / 0.972 GB, free: 9.676 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.8866, allocations: 0 / 0.972 GB, free: 9.676 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004012/0.8871, allocations: 90.05 kB / 0.9721 GB, free: 9.66 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.921e-06/0.8871, allocations: 6.922 kB / 0.9721 GB, free: 9.656 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.65e-05/0.8871, allocations: 6.438 kB / 0.9721 GB, free: 9.652 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.396e-06/0.8871, allocations: 6.656 kB / 0.9721 GB, free: 9.648 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.8871, allocations: 2.344 kB / 0.9722 GB, free: 9.648 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005156/0.8923, allocations: 3.759 MB / 0.9758 GB, free: 6.832 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002285/0.8925, allocations: 180.8 kB / 0.976 GB, free: 6.668 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.827e-05/0.8926, allocations: 6.875 kB / 0.976 GB, free: 6.664 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004857/0.8931, allocations: 52.86 kB / 0.9761 GB, free: 6.637 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.75e-05/0.8932, allocations: 22.06 kB / 0.9761 GB, free: 6.625 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.818e-05/0.8932, allocations: 18.17 kB / 0.9761 GB, free: 6.617 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0003544/0.8935, allocations: 356.3 kB / 0.9764 GB, free: 6.41 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.052e-06/0.8936, allocations: 0 / 0.9764 GB, free: 6.41 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.001479/0.895, allocations: 0.5303 MB / 0.9769 GB, free: 6.328 MB / 0.573 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.0003862/0.8954, allocations: 197.3 kB / 0.9771 GB, free: 6.199 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0009068/0.8964, allocations: 0.5168 MB / 0.9776 GB, free: 5.98 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.8964, allocations: 384 / 0.9776 GB, free: 5.98 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.000283/0.8967, allocations: 183.7 kB / 0.9778 GB, free: 5.906 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00183/0.8985, allocations: 383 kB / 0.9782 GB, free: 5.707 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001944/0.9005, allocations: 1.715 MB / 0.9799 GB, free: 4.438 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004371/0.9009, allocations: 0.9413 MB / 0.9808 GB, free: 3.621 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0006401/0.9015, allocations: 191.9 kB / 0.981 GB, free: 3.531 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000138/0.9017, allocations: 51.53 kB / 0.981 GB, free: 3.52 MB / 0.573 GB Notification: Performance of SimCode: time 4.11e-07/0.9017, allocations: 0 / 0.981 GB, free: 3.52 MB / 0.573 GB Notification: Performance of Templates: time 0.0193/0.921, allocations: 12.52 MB / 0.9932 GB, free: 9.719 MB / 0.5886 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)