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.001433/0.001433, 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.001883/0.001883, allocations: 194.6 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.478/1.478, allocations: 222.9 MB / 239.9 MB, free: 4.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.952/0.952, allocations: 135.1 MB / 425.2 MB, free: 11.94 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001435/0.001435, allocations: 60.09 kB / 0.5048 GB, free: 5.684 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1741/0.1756, allocations: 80.94 MB / 0.5839 GB, free: 4.914 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Delays.Examples.Delay): time 0.563/0.7386, allocations: 180.8 MB / 0.7605 GB, free: 8.531 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0083/0.747, allocations: 4.837 MB / 0.7652 GB, free: 3.684 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001359/0.7484, allocations: 27.81 kB / 0.7652 GB, free: 3.656 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001398/0.7498, allocations: 390 kB / 0.7656 GB, free: 3.273 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003838/0.7537, allocations: 1.324 MB / 0.7669 GB, free: 1.945 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002172/0.7559, allocations: 0.7052 MB / 0.7676 GB, free: 1.246 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002737/0.7586, allocations: 1.853 MB / 0.7694 GB, free: 15.39 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001059/0.7597, allocations: 0.5907 MB / 0.7699 GB, free: 14.79 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002359/0.7621, allocations: 0.86 MB / 0.7708 GB, free: 13.93 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001283/0.7634, allocations: 0.5764 MB / 0.7713 GB, free: 13.35 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.000102/0.7635, allocations: 59.94 kB / 0.7714 GB, free: 13.29 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002909/0.7664, allocations: 1.469 MB / 0.7728 GB, free: 11.82 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002987/0.7667, allocations: 263.2 kB / 0.7731 GB, free: 11.56 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0004903/0.7672, allocations: 402.1 kB / 0.7735 GB, free: 11.16 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002653/0.7699, allocations: 1.492 MB / 0.7749 GB, free: 9.668 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.813e-06/0.7699, allocations: 0 / 0.7749 GB, free: 9.668 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.643e-06/0.7699, allocations: 0 / 0.7749 GB, free: 9.668 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.707e-05/0.7699, allocations: 0 / 0.7749 GB, free: 9.668 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.001881/0.7718, allocations: 1.101 MB / 0.776 GB, free: 8.52 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.177e-05/0.7719, allocations: 8.031 kB / 0.776 GB, free: 8.512 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00132/0.7732, allocations: 214.8 kB / 0.7762 GB, free: 8.301 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008664/0.7741, allocations: 0.5848 MB / 0.7768 GB, free: 7.672 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.254e-05/0.7741, allocations: 40.12 kB / 0.7768 GB, free: 7.637 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.037e-05/0.7742, allocations: 48 kB / 0.7769 GB, free: 7.59 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008981/0.7751, allocations: 498.3 kB / 0.7774 GB, free: 7.102 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.993e-05/0.7751, allocations: 4 kB / 0.7774 GB, free: 7.098 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.631e-05/0.7752, allocations: 27.98 kB / 0.7774 GB, free: 7.07 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.719e-05/0.7752, allocations: 16.94 kB / 0.7774 GB, free: 7.055 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007846/0.776, allocations: 435.7 kB / 0.7778 GB, free: 6.629 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.002686/0.7787, allocations: 1.998 MB / 0.7798 GB, free: 4.457 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005722/0.7793, allocations: 343.5 kB / 0.7801 GB, free: 4.113 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003405/0.7797, allocations: 215.2 kB / 0.7803 GB, free: 3.902 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003053/0.78, allocations: 190.4 kB / 0.7805 GB, free: 3.68 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.147e-05/0.78, allocations: 38.84 kB / 0.7805 GB, free: 3.633 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=33): time 1.933e-06/0.78, allocations: 0 / 0.7805 GB, free: 3.633 MB / 0.5919 GB Notification: Performance of matching and sorting (n=33): time 0.001271/0.7813, allocations: 0.5416 MB / 0.781 GB, free: 3.086 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.792e-05/0.7814, allocations: 55.41 kB / 0.7811 GB, free: 3.02 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000641/0.782, allocations: 0.5069 MB / 0.7816 GB, free: 2.504 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.129e-05/0.7821, allocations: 33.7 kB / 0.7816 GB, free: 2.465 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002634/0.7823, allocations: 308.2 kB / 0.7819 GB, free: 2.156 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001114/0.7824, allocations: 114.3 kB / 0.782 GB, free: 2.043 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001208/0.7826, allocations: 77.88 kB / 0.7821 GB, free: 1.961 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001914/0.7828, allocations: 370.7 kB / 0.7825 GB, free: 1.59 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003109/0.7831, allocations: 138.1 kB / 0.7826 GB, free: 1.453 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003688/0.7835, allocations: 224.2 kB / 0.7828 GB, free: 1.207 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005921/0.7841, allocations: 332.1 kB / 0.7831 GB, free: 0.8711 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.7841, allocations: 0 / 0.7831 GB, free: 0.8711 MB / 0.5919 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007409/0.7848, allocations: 430.5 kB / 0.7835 GB, free: 456 kB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.026e-05/0.7849, allocations: 4 kB / 0.7835 GB, free: 452 kB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.606e-06/0.7849, allocations: 0 / 0.7835 GB, free: 452 kB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.964e-05/0.7849, allocations: 7.938 kB / 0.7835 GB, free: 444 kB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003551/0.7853, allocations: 71.89 kB / 0.7836 GB, free: 372 kB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.145e-06/0.7853, allocations: 0 / 0.7836 GB, free: 372 kB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005669/0.7858, allocations: 63.73 kB / 0.7837 GB, free: 308 kB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.705e-05/0.7859, allocations: 12 kB / 0.7837 GB, free: 296 kB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004816/0.7864, allocations: 304.1 kB / 0.784 GB, free: 15.98 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003167/0.7867, allocations: 224.6 kB / 0.7842 GB, free: 15.74 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005653/0.7873, allocations: 339.4 kB / 0.7845 GB, free: 15.4 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.253e-06/0.7873, allocations: 0 / 0.7845 GB, free: 15.4 MB / 0.6075 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0006761/0.788, allocations: 420.5 kB / 0.7849 GB, free: 14.98 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 9.377e-06/0.788, allocations: 4 kB / 0.7849 GB, free: 14.98 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.335e-06/0.788, allocations: 0 / 0.7849 GB, free: 14.98 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.82e-06/0.788, allocations: 4.094 kB / 0.7849 GB, free: 14.97 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003086/0.7883, allocations: 67.91 kB / 0.785 GB, free: 14.91 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.622e-06/0.7883, allocations: 9.812 kB / 0.785 GB, free: 14.9 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005009/0.7888, allocations: 63.64 kB / 0.7851 GB, free: 14.84 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.577e-05/0.7889, allocations: 8 kB / 0.7851 GB, free: 14.83 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.0001555/0.789, allocations: 200.2 kB / 0.7852 GB, free: 14.62 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.537e-05/0.7891, allocations: 63.27 kB / 0.7853 GB, free: 14.56 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007935/0.7899, allocations: 420.6 kB / 0.7857 GB, free: 14.14 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.355e-06/0.79, allocations: 11.92 kB / 0.7857 GB, free: 14.13 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.79, allocations: 4 kB / 0.7857 GB, free: 14.13 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006305/0.7906, allocations: 432.3 kB / 0.7861 GB, free: 13.68 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001788/0.7924, allocations: 1.172 MB / 0.7873 GB, free: 12.43 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.545e-05/0.7924, allocations: 0 / 0.7873 GB, free: 12.43 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004155/0.7929, allocations: 91.83 kB / 0.7874 GB, free: 12.34 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.639e-06/0.7929, allocations: 0 / 0.7874 GB, free: 12.34 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.125e-05/0.7929, allocations: 12 kB / 0.7874 GB, free: 12.33 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.152e-06/0.7929, allocations: 7.922 kB / 0.7874 GB, free: 12.32 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.132e-06/0.7929, allocations: 8.219 kB / 0.7874 GB, free: 12.32 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001079/0.794, allocations: 0.723 MB / 0.7881 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002275/0.7943, allocations: 188.2 kB / 0.7883 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.422e-05/0.7943, allocations: 11.94 kB / 0.7883 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004917/0.7948, allocations: 43.95 kB / 0.7883 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.3e-05/0.7949, allocations: 27.91 kB / 0.7884 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.99e-05/0.795, allocations: 15.44 kB / 0.7884 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0004252/0.7954, allocations: 362.8 kB / 0.7887 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.7e-07/0.7954, allocations: 0 / 0.7887 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0008849/0.7963, allocations: 323.2 kB / 0.789 GB, free: 10.59 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.0004296/0.7967, allocations: 193.8 kB / 0.7892 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.00109/0.7978, allocations: 0.5471 MB / 0.7898 GB, free: 9.863 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.7978, allocations: 0 / 0.7898 GB, free: 9.863 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0003133/0.7982, allocations: 181.4 kB / 0.7899 GB, free: 9.688 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00158/0.7998, allocations: 357.7 kB / 0.7903 GB, free: 9.355 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001983/0.8018, allocations: 1.473 MB / 0.7917 GB, free: 7.84 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004507/0.8022, allocations: 0.9295 MB / 0.7926 GB, free: 6.883 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0005871/0.8028, allocations: 180.8 kB / 0.7928 GB, free: 6.703 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001294/0.8029, allocations: 51.42 kB / 0.7928 GB, free: 6.652 MB / 0.6075 GB Notification: Performance of SimCode: time 5.71e-07/0.803, allocations: 0 / 0.7928 GB, free: 6.652 MB / 0.6075 GB Notification: Performance of Templates: time 0.02065/0.8236, allocations: 11.63 MB / 0.8042 GB, free: 11.23 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)