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.005064/0.005064, allocations: 103.4 kB / 15.73 MB, free: 6.051 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.001168/0.001168, allocations: 193.5 kB / 16.67 MB, free: 5.969 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.289/1.289, allocations: 222.9 MB / 240.4 MB, free: 4.188 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002117/0.002117, allocations: 271.1 kB / 290.8 MB, free: 1.789 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9264/0.9264, allocations: 169.2 MB / 0.4983 GB, free: 13.84 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001648/0.001648, allocations: 91.86 kB / 0.6814 GB, free: 15.55 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1506/0.1523, allocations: 86.98 MB / 0.7664 GB, free: 8.5 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Delays.Examples.Delay): time 0.5047/0.6571, allocations: 183.2 MB / 0.9453 GB, free: 11.58 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.008487/0.6656, allocations: 4.865 MB / 0.9501 GB, free: 6.703 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008288/0.6664, allocations: 31.81 kB / 0.9501 GB, free: 6.672 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.001114/0.6676, allocations: 433.4 kB / 0.9505 GB, free: 6.246 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.003073/0.6707, allocations: 1.41 MB / 0.9519 GB, free: 4.832 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.001819/0.6725, allocations: 0.7811 MB / 0.9526 GB, free: 4.059 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.001997/0.6745, allocations: 1.847 MB / 0.9544 GB, free: 2.211 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007689/0.6753, allocations: 0.6118 MB / 0.955 GB, free: 1.59 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001578/0.6769, allocations: 0.8794 MB / 0.9559 GB, free: 0.707 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00106/0.678, allocations: 0.541 MB / 0.9564 GB, free: 172 kB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 9.761e-05/0.6781, allocations: 56 kB / 0.9565 GB, free: 116 kB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002398/0.6805, allocations: 1.419 MB / 0.9579 GB, free: 14.69 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.000255/0.6808, allocations: 271.2 kB / 0.9581 GB, free: 14.43 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0003691/0.6811, allocations: 394.1 kB / 0.9585 GB, free: 14.04 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001838/0.683, allocations: 1.426 MB / 0.9599 GB, free: 12.61 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.683, allocations: 3.938 kB / 0.9599 GB, free: 12.61 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.222e-06/0.683, allocations: 0 / 0.9599 GB, free: 12.61 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.337e-05/0.683, allocations: 0 / 0.9599 GB, free: 12.61 MB / 0.7169 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.001516/0.6845, allocations: 1.106 MB / 0.961 GB, free: 11.45 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.289e-05/0.6846, allocations: 8.031 kB / 0.961 GB, free: 11.44 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001279/0.6859, allocations: 206.9 kB / 0.9612 GB, free: 11.23 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000857/0.6867, allocations: 0.6199 MB / 0.9618 GB, free: 10.58 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.106e-05/0.6868, allocations: 37 kB / 0.9618 GB, free: 10.54 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.184e-05/0.6869, allocations: 44 kB / 0.9619 GB, free: 10.5 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008054/0.6877, allocations: 0.5022 MB / 0.9624 GB, free: 9.996 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.489e-05/0.6877, allocations: 0 / 0.9624 GB, free: 9.996 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.874e-05/0.6878, allocations: 20 kB / 0.9624 GB, free: 9.977 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.447e-05/0.6878, allocations: 17 kB / 0.9624 GB, free: 9.961 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000735/0.6885, allocations: 435.7 kB / 0.9628 GB, free: 9.535 MB / 0.7169 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.002414/0.691, allocations: 2.006 MB / 0.9648 GB, free: 7.352 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005887/0.6916, allocations: 347.5 kB / 0.9651 GB, free: 7.004 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003247/0.6919, allocations: 206.5 kB / 0.9653 GB, free: 6.801 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002803/0.6922, allocations: 198.5 kB / 0.9655 GB, free: 6.57 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.44e-05/0.6922, allocations: 34.84 kB / 0.9655 GB, free: 6.527 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=33): time 1.492e-06/0.6922, allocations: 3.938 kB / 0.9655 GB, free: 6.523 MB / 0.7169 GB Notification: Performance of matching and sorting (n=33): time 0.001184/0.6934, allocations: 0.5415 MB / 0.966 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.842e-05/0.6935, allocations: 55.41 kB / 0.9661 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006002/0.6941, allocations: 0.5108 MB / 0.9666 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.121e-05/0.6942, allocations: 37.7 kB / 0.9666 GB, free: 5.344 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002366/0.6944, allocations: 300.2 kB / 0.9669 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001206/0.6945, allocations: 118.3 kB / 0.967 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001209/0.6947, allocations: 65.94 kB / 0.9671 GB, free: 4.859 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0002197/0.6949, allocations: 366.8 kB / 0.9674 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000288/0.6952, allocations: 142.1 kB / 0.9676 GB, free: 4.352 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003857/0.6956, allocations: 228.2 kB / 0.9678 GB, free: 4.105 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005687/0.6961, allocations: 329 kB / 0.9681 GB, free: 3.773 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.457e-06/0.6962, allocations: 7.938 kB / 0.9681 GB, free: 3.766 MB / 0.7169 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007088/0.6969, allocations: 424.5 kB / 0.9685 GB, free: 3.344 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.784e-05/0.6969, allocations: 11.94 kB / 0.9685 GB, free: 3.332 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.263e-06/0.6969, allocations: 3.938 kB / 0.9685 GB, free: 3.332 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.835e-05/0.6969, allocations: 7.984 kB / 0.9685 GB, free: 3.324 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003303/0.6973, allocations: 71.89 kB / 0.9686 GB, free: 3.254 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.107e-06/0.6973, allocations: 7.938 kB / 0.9686 GB, free: 3.246 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004381/0.6977, allocations: 39.77 kB / 0.9687 GB, free: 3.207 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.265e-05/0.6978, allocations: 16 kB / 0.9687 GB, free: 3.191 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004355/0.6982, allocations: 311.3 kB / 0.969 GB, free: 2.887 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002916/0.6985, allocations: 205.6 kB / 0.9692 GB, free: 2.664 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005405/0.6991, allocations: 343.3 kB / 0.9695 GB, free: 2.316 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.482e-06/0.6991, allocations: 0 / 0.9695 GB, free: 2.316 MB / 0.7169 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0006678/0.6998, allocations: 424.6 kB / 0.9699 GB, free: 1.895 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 8.085e-06/0.6998, allocations: 4 kB / 0.9699 GB, free: 1.891 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.204e-06/0.6998, allocations: 0 / 0.9699 GB, free: 1.891 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.679e-06/0.6998, allocations: 4 kB / 0.9699 GB, free: 1.887 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003024/0.7001, allocations: 71.89 kB / 0.97 GB, free: 1.816 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.906e-06/0.7001, allocations: 0 / 0.97 GB, free: 1.816 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000429/0.7005, allocations: 35.77 kB / 0.97 GB, free: 1.781 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.572e-05/0.7006, allocations: 12 kB / 0.97 GB, free: 1.77 MB / 0.7169 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.0001489/0.7007, allocations: 208.2 kB / 0.9702 GB, free: 1.559 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.798e-05/0.7008, allocations: 63.25 kB / 0.9703 GB, free: 1.496 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000771/0.7016, allocations: 423.9 kB / 0.9707 GB, free: 1.078 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.392e-06/0.7016, allocations: 7.984 kB / 0.9707 GB, free: 1.07 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/0.7016, allocations: 3.938 kB / 0.9707 GB, free: 1.066 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006258/0.7023, allocations: 432.3 kB / 0.9711 GB, free: 0.6133 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001698/0.704, allocations: 1.174 MB / 0.9723 GB, free: 15.36 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.704, allocations: 0 / 0.9723 GB, free: 15.36 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003953/0.7044, allocations: 79.89 kB / 0.9723 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.312e-06/0.7044, allocations: 4 kB / 0.9723 GB, free: 15.28 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.619e-05/0.7045, allocations: 15.98 kB / 0.9724 GB, free: 15.27 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.078e-06/0.7045, allocations: 4 kB / 0.9724 GB, free: 15.26 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.7045, allocations: 4 kB / 0.9724 GB, free: 15.26 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009967/0.7055, allocations: 0.6991 MB / 0.973 GB, free: 14.52 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002042/0.7057, allocations: 172.4 kB / 0.9732 GB, free: 14.34 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.129e-05/0.7058, allocations: 15.94 kB / 0.9732 GB, free: 14.32 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004363/0.7062, allocations: 23.97 kB / 0.9732 GB, free: 14.3 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.43e-05/0.7063, allocations: 27.91 kB / 0.9733 GB, free: 14.27 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.998e-05/0.7063, allocations: 19.11 kB / 0.9733 GB, free: 14.25 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0003853/0.7067, allocations: 366.8 kB / 0.9736 GB, free: 13.9 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.71e-07/0.7067, allocations: 0 / 0.9736 GB, free: 13.9 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0008533/0.7076, allocations: 323.2 kB / 0.9739 GB, free: 13.58 MB / 0.7325 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.0004637/0.7081, allocations: 192.4 kB / 0.9741 GB, free: 13.39 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001028/0.7091, allocations: 0.5197 MB / 0.9746 GB, free: 12.88 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.7091, allocations: 384 / 0.9746 GB, free: 12.88 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0003077/0.7094, allocations: 184.9 kB / 0.9748 GB, free: 12.7 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00149/0.7109, allocations: 352.3 kB / 0.9752 GB, free: 12.37 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001943/0.7129, allocations: 1.245 MB / 0.9764 GB, free: 11.07 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005043/0.7134, allocations: 0.9295 MB / 0.9773 GB, free: 10.11 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0005449/0.714, allocations: 188.8 kB / 0.9775 GB, free: 9.93 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001266/0.7141, allocations: 47.44 kB / 0.9775 GB, free: 9.887 MB / 0.7325 GB Notification: Performance of SimCode: time 3.81e-07/0.7141, allocations: 0 / 0.9775 GB, free: 9.887 MB / 0.7325 GB Notification: Performance of Templates: time 0.02036/0.7345, allocations: 11.96 MB / 0.9892 GB, free: 14.12 MB / 0.7481 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)