Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-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(IDEAS.Fluid.Delays.Examples.Delay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Delays.Examples.Delay") translateModel(IDEAS.Fluid.Delays.Examples.Delay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.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.001294/0.001294, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.00139/0.00139, allocations: 193.7 kB / 16.25 MB, free: 6.629 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.387/1.387, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9792/0.9792, allocations: 135.6 MB / 425.6 MB, free: 11.89 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001872/0.001872, allocations: 70.38 kB / 0.5054 GB, free: 5.176 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1661/0.168, allocations: 81.02 MB / 0.5845 GB, free: 4.297 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Delays.Examples.Delay): time 0.4557/0.6237, allocations: 180.8 MB / 0.7611 GB, free: 7.617 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.008191/0.6319, allocations: 4.832 MB / 0.7658 GB, free: 2.773 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001006/0.633, allocations: 27.81 kB / 0.7658 GB, free: 2.746 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001224/0.6343, allocations: 386 kB / 0.7662 GB, free: 2.367 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003589/0.6379, allocations: 1.323 MB / 0.7675 GB, free: 1.039 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002139/0.64, allocations: 0.7087 MB / 0.7682 GB, free: 348 kB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002733/0.6428, allocations: 1.851 MB / 0.77 GB, free: 14.48 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009384/0.6437, allocations: 0.5855 MB / 0.7706 GB, free: 13.88 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002221/0.6459, allocations: 0.8638 MB / 0.7714 GB, free: 13.02 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001303/0.6473, allocations: 0.572 MB / 0.772 GB, free: 12.44 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 9.384e-05/0.6474, allocations: 60 kB / 0.772 GB, free: 12.38 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002974/0.6503, allocations: 1.465 MB / 0.7734 GB, free: 10.91 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003253/0.6507, allocations: 267.2 kB / 0.7737 GB, free: 10.65 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0005034/0.6512, allocations: 406.1 kB / 0.7741 GB, free: 10.25 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002755/0.654, allocations: 1.496 MB / 0.7755 GB, free: 8.754 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 8.566e-06/0.654, allocations: 0 / 0.7755 GB, free: 8.754 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.525e-06/0.654, allocations: 3.938 kB / 0.7755 GB, free: 8.75 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.39e-05/0.654, allocations: 0 / 0.7755 GB, free: 8.75 MB / 0.5919 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.002268/0.6563, allocations: 1.105 MB / 0.7766 GB, free: 7.598 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 6.271e-05/0.6564, allocations: 8.031 kB / 0.7766 GB, free: 7.59 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001443/0.6578, allocations: 214.8 kB / 0.7768 GB, free: 7.379 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001048/0.6589, allocations: 0.5809 MB / 0.7774 GB, free: 6.75 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.286e-05/0.6589, allocations: 37 kB / 0.7774 GB, free: 6.715 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.925e-05/0.659, allocations: 48 kB / 0.7775 GB, free: 6.668 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009937/0.66, allocations: 0.4905 MB / 0.778 GB, free: 6.176 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.006e-05/0.6601, allocations: 0 / 0.778 GB, free: 6.176 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.904e-05/0.6601, allocations: 20 kB / 0.778 GB, free: 6.156 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.759e-05/0.6602, allocations: 28.88 kB / 0.778 GB, free: 6.129 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008167/0.661, allocations: 435.7 kB / 0.7784 GB, free: 5.699 MB / 0.5919 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.002996/0.664, allocations: 1.998 MB / 0.7804 GB, free: 3.527 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005804/0.6646, allocations: 343.6 kB / 0.7807 GB, free: 3.184 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003462/0.6649, allocations: 205.6 kB / 0.7809 GB, free: 2.984 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003296/0.6653, allocations: 198.5 kB / 0.7811 GB, free: 2.754 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.125e-05/0.6653, allocations: 34.84 kB / 0.7811 GB, free: 2.711 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=33): time 1.583e-06/0.6653, allocations: 0 / 0.7811 GB, free: 2.711 MB / 0.5919 GB Notification: Performance of matching and sorting (n=33): time 0.001264/0.6666, allocations: 0.5449 MB / 0.7817 GB, free: 2.16 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.099e-05/0.6667, allocations: 59.39 kB / 0.7817 GB, free: 2.09 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006182/0.6673, allocations: 0.503 MB / 0.7822 GB, free: 1.578 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.38e-05/0.6673, allocations: 29.7 kB / 0.7822 GB, free: 1.543 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002498/0.6676, allocations: 304.2 kB / 0.7825 GB, free: 1.238 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001212/0.6677, allocations: 122.3 kB / 0.7826 GB, free: 1.117 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000128/0.6679, allocations: 69.94 kB / 0.7827 GB, free: 1.043 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001938/0.6681, allocations: 366.8 kB / 0.7831 GB, free: 0.6758 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002787/0.6683, allocations: 146.1 kB / 0.7832 GB, free: 0.5312 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003601/0.6687, allocations: 224.2 kB / 0.7834 GB, free: 292 kB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006088/0.6693, allocations: 328.2 kB / 0.7837 GB, free: 15.95 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.6693, allocations: 0 / 0.7837 GB, free: 15.95 MB / 0.6075 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007739/0.6701, allocations: 432.9 kB / 0.7841 GB, free: 15.52 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.041e-05/0.6702, allocations: 8 kB / 0.7841 GB, free: 15.52 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.6702, allocations: 0 / 0.7841 GB, free: 15.52 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.686e-05/0.6702, allocations: 3.938 kB / 0.7841 GB, free: 15.51 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003474/0.6705, allocations: 71.91 kB / 0.7842 GB, free: 15.44 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.214e-05/0.6706, allocations: 7.984 kB / 0.7842 GB, free: 15.43 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005317/0.6711, allocations: 55.75 kB / 0.7843 GB, free: 15.38 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.57e-05/0.6711, allocations: 12 kB / 0.7843 GB, free: 15.37 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004666/0.6716, allocations: 308 kB / 0.7846 GB, free: 15.06 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003387/0.672, allocations: 232.6 kB / 0.7848 GB, free: 14.81 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005682/0.6725, allocations: 327.5 kB / 0.7851 GB, free: 14.48 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.122e-06/0.6726, allocations: 0 / 0.7851 GB, free: 14.48 MB / 0.6075 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0007243/0.6733, allocations: 420.5 kB / 0.7855 GB, free: 14.06 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.601e-05/0.6733, allocations: 14.17 kB / 0.7855 GB, free: 14.05 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.964e-06/0.6733, allocations: 0 / 0.7855 GB, free: 14.05 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.44e-06/0.6733, allocations: 4 kB / 0.7855 GB, free: 14.04 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003047/0.6736, allocations: 67.91 kB / 0.7856 GB, free: 13.98 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.793e-06/0.6737, allocations: 12.03 kB / 0.7856 GB, free: 13.96 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000484/0.6741, allocations: 55.64 kB / 0.7857 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.809e-05/0.6742, allocations: 12 kB / 0.7857 GB, free: 13.9 MB / 0.6075 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.00016/0.6743, allocations: 205.7 kB / 0.7859 GB, free: 13.69 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.906e-05/0.6745, allocations: 55.34 kB / 0.7859 GB, free: 13.64 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008051/0.6753, allocations: 429.2 kB / 0.7863 GB, free: 13.21 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.027e-06/0.6753, allocations: 7.938 kB / 0.7863 GB, free: 13.2 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.6753, allocations: 0 / 0.7863 GB, free: 13.2 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006383/0.6759, allocations: 432.5 kB / 0.7868 GB, free: 12.75 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001852/0.6778, allocations: 1.172 MB / 0.7879 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.661e-06/0.6778, allocations: 7.5 kB / 0.7879 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004218/0.6782, allocations: 83.88 kB / 0.788 GB, free: 11.42 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.791e-06/0.6783, allocations: 4 kB / 0.788 GB, free: 11.42 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.981e-05/0.6783, allocations: 8 kB / 0.788 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.863e-06/0.6783, allocations: 4.859 kB / 0.788 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.6783, allocations: 7.938 kB / 0.788 GB, free: 11.4 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001119/0.6794, allocations: 0.732 MB / 0.7887 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000229/0.6797, allocations: 180.3 kB / 0.7889 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.782e-05/0.6798, allocations: 15.98 kB / 0.7889 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004917/0.6803, allocations: 42.02 kB / 0.789 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.587e-05/0.6803, allocations: 31.86 kB / 0.789 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.014e-05/0.6804, allocations: 11.98 kB / 0.789 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0004188/0.6808, allocations: 366.8 kB / 0.7893 GB, free: 9.984 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.11e-07/0.6808, allocations: 0 / 0.7893 GB, free: 9.984 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0008388/0.6817, allocations: 315.2 kB / 0.7896 GB, free: 9.676 MB / 0.6075 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.0004647/0.6821, allocations: 197.7 kB / 0.7898 GB, free: 9.488 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001085/0.6832, allocations: 0.5463 MB / 0.7904 GB, free: 8.941 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.549e-06/0.6832, allocations: 4 kB / 0.7904 GB, free: 8.938 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.000315/0.6836, allocations: 176.7 kB / 0.7905 GB, free: 8.766 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001555/0.6851, allocations: 350.9 kB / 0.7909 GB, free: 8.449 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002092/0.6872, allocations: 1.479 MB / 0.7923 GB, free: 6.93 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005783/0.6878, allocations: 0.9373 MB / 0.7932 GB, free: 5.965 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0006021/0.6884, allocations: 180.9 kB / 0.7934 GB, free: 5.785 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001268/0.6886, allocations: 47.44 kB / 0.7934 GB, free: 5.738 MB / 0.6075 GB Notification: Performance of SimCode: time 4.11e-07/0.6886, allocations: 0 / 0.7934 GB, free: 5.738 MB / 0.6075 GB Notification: Performance of Templates: time 0.02108/0.7097, allocations: 11.62 MB / 0.8048 GB, free: 10.33 MB / 0.6231 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Delays.Examples.Delay.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Delays.Examples.Delay.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Delays.Examples.Delay.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Delays.Examples.Delay.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Delays.Examples.Delay.sim & ./IDEAS_dev_IDEAS.Fluid.Delays.Examples.Delay -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Delays.Examples.Delay.pipe 2>&1)