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.001531/0.001531, allocations: 111.3 kB / 15.23 MB, free: 0.6367 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.002252/0.002252, allocations: 196.8 kB / 16.14 MB, free: 6.734 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.462/1.462, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.008/1.008, allocations: 135.1 MB / 425.1 MB, free: 11.82 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001874/0.001874, allocations: 68.52 kB / 0.5047 GB, free: 5.77 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2552/0.2571, allocations: 80.93 MB / 0.5837 GB, free: 5.012 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Delays.Examples.Delay): time 0.6639/0.921, allocations: 181 MB / 0.7604 GB, free: 8.469 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.009339/0.9304, allocations: 4.925 MB / 0.7653 GB, free: 3.531 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001589/0.932, allocations: 27.81 kB / 0.7653 GB, free: 3.504 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001416/0.9335, allocations: 374 kB / 0.7656 GB, free: 3.137 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0045/0.9381, allocations: 1.334 MB / 0.7669 GB, free: 1.797 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002433/0.9405, allocations: 0.6869 MB / 0.7676 GB, free: 1.117 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003369/0.9439, allocations: 2.531 MB / 0.7701 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008683/0.9448, allocations: 0.5108 MB / 0.7706 GB, free: 14.06 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002138/0.9469, allocations: 0.778 MB / 0.7713 GB, free: 13.28 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001366/0.9483, allocations: 0.5653 MB / 0.7719 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001032/0.9484, allocations: 32 kB / 0.7719 GB, free: 12.68 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00339/0.9518, allocations: 1.605 MB / 0.7735 GB, free: 11.07 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003146/0.9521, allocations: 239.2 kB / 0.7737 GB, free: 10.84 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0004893/0.9526, allocations: 370.1 kB / 0.7741 GB, free: 10.47 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002624/0.9553, allocations: 1.468 MB / 0.7755 GB, free: 9 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.271e-06/0.9553, allocations: 0 / 0.7755 GB, free: 9 MB / 0.5919 GB Notification: Performance of FrontEnd: time 8.01e-07/0.9553, allocations: 0 / 0.7755 GB, free: 9 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 9.518e-06/0.9553, allocations: 0 / 0.7755 GB, free: 9 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.001925/0.9572, allocations: 1.102 MB / 0.7766 GB, free: 7.852 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.617e-05/0.9573, allocations: 8.031 kB / 0.7766 GB, free: 7.844 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001356/0.9587, allocations: 206.8 kB / 0.7768 GB, free: 7.641 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009305/0.9596, allocations: 0.5848 MB / 0.7774 GB, free: 7.012 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.718e-05/0.9597, allocations: 37 kB / 0.7774 GB, free: 6.977 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.676e-05/0.9598, allocations: 51.98 kB / 0.7774 GB, free: 6.926 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009378/0.9607, allocations: 494.3 kB / 0.7779 GB, free: 6.441 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.033e-05/0.9607, allocations: 3.938 kB / 0.7779 GB, free: 6.438 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.54e-05/0.9608, allocations: 31.92 kB / 0.7779 GB, free: 6.406 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.857e-05/0.9608, allocations: 16.94 kB / 0.778 GB, free: 6.391 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008385/0.9617, allocations: 443.7 kB / 0.7784 GB, free: 5.957 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.002864/0.9645, allocations: 1.986 MB / 0.7803 GB, free: 3.797 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005896/0.9651, allocations: 354.7 kB / 0.7807 GB, free: 3.445 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003452/0.9655, allocations: 212.3 kB / 0.7809 GB, free: 3.238 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003546/0.9659, allocations: 190.5 kB / 0.781 GB, free: 3.016 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.754e-05/0.9659, allocations: 42.84 kB / 0.7811 GB, free: 2.965 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=33): time 1.413e-06/0.9659, allocations: 0 / 0.7811 GB, free: 2.965 MB / 0.5919 GB Notification: Performance of matching and sorting (n=33): time 0.001339/0.9673, allocations: 0.5462 MB / 0.7816 GB, free: 2.414 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.851e-05/0.9673, allocations: 55.41 kB / 0.7817 GB, free: 2.348 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006011/0.9679, allocations: 0.5069 MB / 0.7822 GB, free: 1.832 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.711e-05/0.968, allocations: 33.7 kB / 0.7822 GB, free: 1.793 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002334/0.9682, allocations: 300.2 kB / 0.7825 GB, free: 1.496 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001155/0.9684, allocations: 122.3 kB / 0.7826 GB, free: 1.375 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001331/0.9685, allocations: 73.94 kB / 0.7827 GB, free: 1.297 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001732/0.9687, allocations: 366.8 kB / 0.783 GB, free: 0.9297 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002833/0.969, allocations: 142.1 kB / 0.7832 GB, free: 0.7891 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003768/0.9693, allocations: 216.2 kB / 0.7834 GB, free: 0.5508 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005933/0.97, allocations: 336.1 kB / 0.7837 GB, free: 216 kB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/0.97, allocations: 3.938 kB / 0.7837 GB, free: 212 kB / 0.5919 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007503/0.9707, allocations: 430 kB / 0.7841 GB, free: 15.78 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.211e-05/0.9708, allocations: 8.094 kB / 0.7841 GB, free: 15.77 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.366e-06/0.9708, allocations: 0 / 0.7841 GB, free: 15.77 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.386e-05/0.9708, allocations: 7.938 kB / 0.7841 GB, free: 15.76 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003764/0.9712, allocations: 71.89 kB / 0.7842 GB, free: 15.69 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.755e-06/0.9712, allocations: 0 / 0.7842 GB, free: 15.69 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005585/0.9718, allocations: 59.66 kB / 0.7842 GB, free: 15.63 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.566e-05/0.9718, allocations: 15.98 kB / 0.7843 GB, free: 15.62 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004599/0.9723, allocations: 304 kB / 0.7845 GB, free: 15.32 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003233/0.9726, allocations: 220.7 kB / 0.7848 GB, free: 15.07 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006016/0.9732, allocations: 332 kB / 0.7851 GB, free: 14.74 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.433e-06/0.9732, allocations: 0 / 0.7851 GB, free: 14.74 MB / 0.6075 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0007326/0.974, allocations: 424.6 kB / 0.7855 GB, free: 14.32 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.237e-05/0.974, allocations: 6.344 kB / 0.7855 GB, free: 14.31 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.114e-06/0.974, allocations: 0 / 0.7855 GB, free: 14.31 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.449e-06/0.974, allocations: 4 kB / 0.7855 GB, free: 14.31 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000315/0.9743, allocations: 71.91 kB / 0.7856 GB, free: 14.24 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.9743, allocations: 3.938 kB / 0.7856 GB, free: 14.23 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005323/0.9749, allocations: 67.72 kB / 0.7856 GB, free: 14.17 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.78e-05/0.9749, allocations: 16.48 kB / 0.7856 GB, free: 14.15 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.0001696/0.9751, allocations: 196.2 kB / 0.7858 GB, free: 13.95 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001189/0.9752, allocations: 59.34 kB / 0.7859 GB, free: 13.89 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008219/0.976, allocations: 425.1 kB / 0.7863 GB, free: 13.47 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.314e-06/0.9761, allocations: 11.88 kB / 0.7863 GB, free: 13.46 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/0.9761, allocations: 0 / 0.7863 GB, free: 13.46 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005916/0.9767, allocations: 432.3 kB / 0.7867 GB, free: 13.01 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001855/0.9785, allocations: 1.172 MB / 0.7879 GB, free: 11.76 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/0.9786, allocations: 0 / 0.7879 GB, free: 11.76 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000425/0.979, allocations: 88.08 kB / 0.7879 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.326e-06/0.979, allocations: 4 kB / 0.7879 GB, free: 11.67 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.819e-05/0.979, allocations: 12 kB / 0.788 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.582e-06/0.9791, allocations: 3.984 kB / 0.788 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.257e-06/0.9791, allocations: 6.438 kB / 0.788 GB, free: 11.65 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001132/0.9802, allocations: 0.7312 MB / 0.7887 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002545/0.9805, allocations: 180.4 kB / 0.7889 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.402e-05/0.9805, allocations: 8 kB / 0.7889 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005241/0.9811, allocations: 47.86 kB / 0.7889 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.36e-05/0.9812, allocations: 31.91 kB / 0.7889 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.64e-05/0.9812, allocations: 8 kB / 0.7889 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0004539/0.9817, allocations: 366.8 kB / 0.7893 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.8e-07/0.9817, allocations: 3.938 kB / 0.7893 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000888/0.9826, allocations: 323.2 kB / 0.7896 GB, free: 9.922 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.0004344/0.983, allocations: 193 kB / 0.7898 GB, free: 9.73 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001081/0.9841, allocations: 0.5117 MB / 0.7903 GB, free: 9.219 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.9841, allocations: 0 / 0.7903 GB, free: 9.219 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0003105/0.9844, allocations: 180.7 kB / 0.7905 GB, free: 9.043 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001781/0.9862, allocations: 372.6 kB / 0.7908 GB, free: 8.688 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002169/0.9884, allocations: 1.471 MB / 0.7923 GB, free: 7.18 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005265/0.9889, allocations: 0.9296 MB / 0.7932 GB, free: 6.223 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0006602/0.9896, allocations: 189.6 kB / 0.7933 GB, free: 6.035 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001403/0.9898, allocations: 51.38 kB / 0.7934 GB, free: 5.984 MB / 0.6075 GB Notification: Performance of SimCode: time 5.31e-07/0.9898, allocations: 0 / 0.7934 GB, free: 5.984 MB / 0.6075 GB Notification: Performance of Templates: time 0.02107/1.011, allocations: 11.39 MB / 0.8045 GB, free: 10.79 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)