Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS.Fluid.Delays.Examples.Delay") translateModel(IDEAS.Fluid.Delays.Examples.Delay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.001095/0.001095, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.007615/0.007615, allocations: 168.9 kB / 16.26 MB, free: 6.648 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.395/1.395, allocations: 223.3 MB / 240.3 MB, free: 5.238 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8062/0.8062, allocations: 132.3 MB / 423.8 MB, free: 1.879 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003863/0.0003863, allocations: 8 kB / 0.504 GB, free: 3.867 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4233/0.4237, allocations: 81.57 MB / 0.5837 GB, free: 4.016 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Delays.Examples.Delay): time 0.207/0.6308, allocations: 178.6 MB / 0.7581 GB, free: 13.16 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.007597/0.6384, allocations: 4.87 MB / 0.7629 GB, free: 8.277 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009354/0.6394, allocations: 23.81 kB / 0.7629 GB, free: 8.254 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001184/0.6406, allocations: 370 kB / 0.7632 GB, free: 7.891 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.003566/0.6442, allocations: 1.331 MB / 0.7645 GB, free: 6.551 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002616/0.6468, allocations: 0.7094 MB / 0.7652 GB, free: 5.852 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003186/0.65, allocations: 2.526 MB / 0.7677 GB, free: 3.32 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008963/0.6509, allocations: 0.4938 MB / 0.7682 GB, free: 2.809 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001768/0.6527, allocations: 0.7585 MB / 0.7689 GB, free: 2.047 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001341/0.6541, allocations: 0.5434 MB / 0.7694 GB, free: 1.504 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001239/0.6542, allocations: 24 kB / 0.7695 GB, free: 1.48 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002794/0.657, allocations: 1.609 MB / 0.771 GB, free: 15.87 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0003255/0.6573, allocations: 235.2 kB / 0.7713 GB, free: 15.64 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0005698/0.6579, allocations: 383.8 kB / 0.7716 GB, free: 15.25 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.00227/0.6602, allocations: 1.445 MB / 0.773 GB, free: 13.8 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.6602, allocations: 0 / 0.773 GB, free: 13.8 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.974e-06/0.6602, allocations: 0 / 0.773 GB, free: 13.8 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.918e-05/0.6603, allocations: 0 / 0.773 GB, free: 13.8 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.001888/0.6622, allocations: 0.9656 MB / 0.774 GB, free: 12.79 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.487e-05/0.6622, allocations: 8.031 kB / 0.774 GB, free: 12.78 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001436/0.6637, allocations: 206.8 kB / 0.7742 GB, free: 12.58 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001033/0.6647, allocations: 0.5849 MB / 0.7748 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.785e-05/0.6648, allocations: 33 kB / 0.7748 GB, free: 11.92 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001014/0.6649, allocations: 48 kB / 0.7748 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000944/0.6658, allocations: 0.4945 MB / 0.7753 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.869e-05/0.6658, allocations: 8 kB / 0.7753 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.298e-05/0.6659, allocations: 19.94 kB / 0.7753 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.877e-05/0.6659, allocations: 20.98 kB / 0.7754 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008317/0.6668, allocations: 447.7 kB / 0.7758 GB, free: 10.89 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.002744/0.6695, allocations: 2.009 MB / 0.7778 GB, free: 8.703 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005919/0.6701, allocations: 345.1 kB / 0.7781 GB, free: 8.359 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003566/0.6705, allocations: 213.3 kB / 0.7783 GB, free: 8.148 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002952/0.6708, allocations: 194.5 kB / 0.7785 GB, free: 7.922 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.266e-05/0.6709, allocations: 38.84 kB / 0.7785 GB, free: 7.875 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=33): time 1.853e-06/0.6709, allocations: 0 / 0.7785 GB, free: 7.875 MB / 0.6075 GB Notification: Performance of matching and sorting (n=33): time 0.001302/0.6722, allocations: 0.5623 MB / 0.7791 GB, free: 7.309 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.734e-05/0.6722, allocations: 55.41 kB / 0.7791 GB, free: 7.242 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006041/0.6728, allocations: 0.5108 MB / 0.7796 GB, free: 6.723 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.545e-05/0.6729, allocations: 33.7 kB / 0.7796 GB, free: 6.684 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002265/0.6731, allocations: 304.2 kB / 0.7799 GB, free: 6.383 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001102/0.6732, allocations: 122.2 kB / 0.78 GB, free: 6.262 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.719e-05/0.6733, allocations: 33.7 kB / 0.7801 GB, free: 6.223 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001478/0.6735, allocations: 362.8 kB / 0.7804 GB, free: 5.859 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003139/0.6738, allocations: 144.5 kB / 0.7806 GB, free: 5.719 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003602/0.6742, allocations: 225.5 kB / 0.7808 GB, free: 5.473 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006084/0.6748, allocations: 343.2 kB / 0.7811 GB, free: 5.125 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.6748, allocations: 0 / 0.7811 GB, free: 5.125 MB / 0.6075 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0008493/0.6756, allocations: 450 kB / 0.7815 GB, free: 4.68 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 8.741e-05/0.6757, allocations: 116.8 kB / 0.7816 GB, free: 4.551 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.283e-06/0.6757, allocations: 4 kB / 0.7816 GB, free: 4.547 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.444e-05/0.6758, allocations: 0 / 0.7816 GB, free: 4.547 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000366/0.6761, allocations: 75.89 kB / 0.7817 GB, free: 4.473 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.947e-06/0.6762, allocations: 0 / 0.7817 GB, free: 4.473 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005983/0.6768, allocations: 67.66 kB / 0.7818 GB, free: 4.406 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.681e-05/0.6768, allocations: 11.98 kB / 0.7818 GB, free: 4.395 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 6.973e-06/0.6768, allocations: 4 kB / 0.7818 GB, free: 4.391 MB / 0.6075 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006808/0.6775, allocations: 355.8 kB / 0.7821 GB, free: 4.043 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.387e-06/0.6775, allocations: 0 / 0.7821 GB, free: 4.043 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.665e-06/0.6775, allocations: 4 kB / 0.7821 GB, free: 4.039 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003178/0.6779, allocations: 75.84 kB / 0.7822 GB, free: 3.965 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.307e-06/0.6779, allocations: 7.938 kB / 0.7822 GB, free: 3.957 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005724/0.6785, allocations: 59.73 kB / 0.7823 GB, free: 3.898 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.1e-05/0.6785, allocations: 16 kB / 0.7823 GB, free: 3.883 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.0003666/0.6789, allocations: 289 kB / 0.7826 GB, free: 3.59 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000122/0.679, allocations: 63.25 kB / 0.7826 GB, free: 3.527 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009371/0.6799, allocations: 427.3 kB / 0.783 GB, free: 3.098 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.101e-05/0.68, allocations: 7.938 kB / 0.783 GB, free: 3.09 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.733e-06/0.68, allocations: 4 kB / 0.7831 GB, free: 3.086 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007206/0.6807, allocations: 448.2 kB / 0.7835 GB, free: 2.617 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002206/0.6829, allocations: 1.18 MB / 0.7846 GB, free: 1.363 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.768e-06/0.6829, allocations: 192 / 0.7846 GB, free: 1.363 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004366/0.6834, allocations: 95.89 kB / 0.7847 GB, free: 1.27 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.011e-06/0.6834, allocations: 0 / 0.7847 GB, free: 1.27 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.702e-05/0.6835, allocations: 12 kB / 0.7847 GB, free: 1.258 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.908e-06/0.6835, allocations: 3.938 kB / 0.7847 GB, free: 1.254 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.649e-06/0.6835, allocations: 4 kB / 0.7847 GB, free: 1.25 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00118/0.6847, allocations: 0.7423 MB / 0.7855 GB, free: 484 kB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002578/0.6849, allocations: 176.3 kB / 0.7856 GB, free: 288 kB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.434e-05/0.685, allocations: 11.98 kB / 0.7856 GB, free: 276 kB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005568/0.6856, allocations: 55.95 kB / 0.7857 GB, free: 220 kB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.584e-05/0.6857, allocations: 23.91 kB / 0.7857 GB, free: 196 kB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.057e-05/0.6857, allocations: 16 kB / 0.7857 GB, free: 180 kB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0004541/0.6862, allocations: 362.9 kB / 0.7861 GB, free: 15.82 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.9e-07/0.6862, allocations: 4 kB / 0.7861 GB, free: 15.82 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001004/0.6872, allocations: 331.1 kB / 0.7864 GB, free: 15.49 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.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.0005579/0.6878, allocations: 196 kB / 0.7866 GB, free: 15.3 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001117/0.6889, allocations: 0.5387 MB / 0.7871 GB, free: 14.77 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.6889, allocations: 0 / 0.7871 GB, free: 14.77 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0003365/0.6892, allocations: 185.3 kB / 0.7873 GB, free: 14.59 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002106/0.6914, allocations: 371.1 kB / 0.7876 GB, free: 14.23 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002438/0.6938, allocations: 1.536 MB / 0.7891 GB, free: 12.65 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006904/0.6945, allocations: 0.9334 MB / 0.7901 GB, free: 11.69 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0007572/0.6953, allocations: 180.8 kB / 0.7902 GB, free: 11.51 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001444/0.6954, allocations: 43.44 kB / 0.7903 GB, free: 11.47 MB / 0.6231 GB Notification: Performance of SimCode: time 3.586e-06/0.6955, allocations: 0 / 0.7903 GB, free: 11.47 MB / 0.6231 GB Notification: Performance of Templates: time 0.0219/0.7174, allocations: 11.33 MB / 0.8013 GB, free: 332 kB / 0.6231 GB make -j1 -f IDEAS_IDEAS.Fluid.Delays.Examples.Delay.makefile (rm -f IDEAS_IDEAS.Fluid.Delays.Examples.Delay.pipe ; mkfifo IDEAS_IDEAS.Fluid.Delays.Examples.Delay.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Delays.Examples.Delay.pipe >> ../files/IDEAS_IDEAS.Fluid.Delays.Examples.Delay.sim & ./IDEAS_IDEAS.Fluid.Delays.Examples.Delay -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Delays.Examples.Delay.pipe 2>&1)