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.001637/0.001637, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002352/0.002352, allocations: 196.6 kB / 16.53 MB, free: 6.391 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.477/1.477, allocations: 222.9 MB / 240.2 MB, free: 4.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9963/0.9963, allocations: 135.1 MB / 425.5 MB, free: 11.94 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001648/0.001648, allocations: 73.33 kB / 0.5053 GB, free: 5.328 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2008/0.2025, allocations: 80.92 MB / 0.5844 GB, free: 4.57 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Delays.Examples.Delay): time 0.5736/0.7762, allocations: 183.2 MB / 0.7633 GB, free: 5.848 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.00951/0.7858, allocations: 4.857 MB / 0.768 GB, free: 0.9766 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001717/0.7875, allocations: 31.81 kB / 0.7681 GB, free: 0.9453 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001637/0.7892, allocations: 433.3 kB / 0.7685 GB, free: 0.5195 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.004447/0.7937, allocations: 1.416 MB / 0.7699 GB, free: 15.09 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002277/0.796, allocations: 0.7686 MB / 0.7706 GB, free: 14.34 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002202/0.7982, allocations: 1.834 MB / 0.7724 GB, free: 12.5 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009831/0.7992, allocations: 0.5939 MB / 0.773 GB, free: 11.89 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001848/0.801, allocations: 0.8755 MB / 0.7738 GB, free: 11.01 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001093/0.8021, allocations: 0.5414 MB / 0.7744 GB, free: 10.47 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 9.712e-05/0.8023, allocations: 60 kB / 0.7744 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002552/0.8048, allocations: 1.411 MB / 0.7758 GB, free: 9 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002712/0.8051, allocations: 263.2 kB / 0.7761 GB, free: 8.742 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0004149/0.8055, allocations: 402.1 kB / 0.7764 GB, free: 8.348 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001964/0.8075, allocations: 1.406 MB / 0.7778 GB, free: 6.938 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.8075, allocations: 0 / 0.7778 GB, free: 6.938 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.994e-06/0.8075, allocations: 8 kB / 0.7778 GB, free: 6.93 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.057e-05/0.8075, allocations: 0 / 0.7778 GB, free: 6.93 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.001666/0.8092, allocations: 1.098 MB / 0.7789 GB, free: 5.785 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.192e-05/0.8093, allocations: 12.03 kB / 0.7789 GB, free: 5.773 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001271/0.8105, allocations: 210.8 kB / 0.7791 GB, free: 5.566 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008718/0.8114, allocations: 0.5887 MB / 0.7797 GB, free: 4.934 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.428e-05/0.8115, allocations: 33.81 kB / 0.7797 GB, free: 4.902 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.786e-05/0.8115, allocations: 48 kB / 0.7798 GB, free: 4.855 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000829/0.8124, allocations: 0.4906 MB / 0.7802 GB, free: 4.363 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.847e-05/0.8124, allocations: 0 / 0.7802 GB, free: 4.363 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.765e-05/0.8125, allocations: 19.98 kB / 0.7803 GB, free: 4.344 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.167e-05/0.8125, allocations: 20.94 kB / 0.7803 GB, free: 4.324 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000756/0.8133, allocations: 431.7 kB / 0.7807 GB, free: 3.902 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.002836/0.8161, allocations: 2.026 MB / 0.7827 GB, free: 1.703 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005872/0.8167, allocations: 343.5 kB / 0.783 GB, free: 1.359 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003317/0.8171, allocations: 209.3 kB / 0.7832 GB, free: 1.152 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003539/0.8174, allocations: 194.5 kB / 0.7834 GB, free: 0.9258 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.352e-05/0.8175, allocations: 38.84 kB / 0.7834 GB, free: 0.8789 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=33): time 1.342e-06/0.8175, allocations: 0 / 0.7834 GB, free: 0.8789 MB / 0.5919 GB Notification: Performance of matching and sorting (n=33): time 0.001293/0.8188, allocations: 0.5416 MB / 0.7839 GB, free: 340 kB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.956e-05/0.8188, allocations: 55.41 kB / 0.784 GB, free: 272 kB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005946/0.8194, allocations: 0.503 MB / 0.7845 GB, free: 15.75 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.337e-05/0.8195, allocations: 41.64 kB / 0.7845 GB, free: 15.71 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002433/0.8198, allocations: 304.1 kB / 0.7848 GB, free: 15.4 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001083/0.8199, allocations: 118.3 kB / 0.7849 GB, free: 15.29 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001139/0.82, allocations: 69.94 kB / 0.785 GB, free: 15.21 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001845/0.8202, allocations: 370.8 kB / 0.7854 GB, free: 14.84 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002802/0.8205, allocations: 138.1 kB / 0.7855 GB, free: 14.7 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003188/0.8208, allocations: 220.2 kB / 0.7857 GB, free: 14.46 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005394/0.8214, allocations: 336.1 kB / 0.786 GB, free: 14.12 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.8214, allocations: 4 kB / 0.786 GB, free: 14.12 MB / 0.6075 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006909/0.8221, allocations: 422.5 kB / 0.7864 GB, free: 13.7 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.824e-05/0.8221, allocations: 4 kB / 0.7864 GB, free: 13.7 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/0.8221, allocations: 0 / 0.7864 GB, free: 13.7 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.871e-05/0.8221, allocations: 11.88 kB / 0.7864 GB, free: 13.68 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003576/0.8225, allocations: 79.39 kB / 0.7865 GB, free: 13.61 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.133e-05/0.8225, allocations: 3.938 kB / 0.7865 GB, free: 13.61 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000446/0.823, allocations: 39.67 kB / 0.7866 GB, free: 13.57 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.321e-05/0.823, allocations: 16.09 kB / 0.7866 GB, free: 13.55 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004253/0.8234, allocations: 308 kB / 0.7869 GB, free: 13.25 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003233/0.8238, allocations: 218.1 kB / 0.7871 GB, free: 13.01 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005489/0.8243, allocations: 331.4 kB / 0.7874 GB, free: 12.67 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.132e-06/0.8243, allocations: 0 / 0.7874 GB, free: 12.67 MB / 0.6075 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0007264/0.8251, allocations: 424.5 kB / 0.7878 GB, free: 12.25 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 8.266e-06/0.8251, allocations: 8.094 kB / 0.7878 GB, free: 12.24 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/0.8251, allocations: 4 kB / 0.7878 GB, free: 12.24 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.505e-06/0.8251, allocations: 0 / 0.7878 GB, free: 12.24 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003077/0.8254, allocations: 67.91 kB / 0.7879 GB, free: 12.17 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.215e-06/0.8254, allocations: 7.875 kB / 0.7879 GB, free: 12.16 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004285/0.8259, allocations: 39.81 kB / 0.7879 GB, free: 12.12 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.796e-05/0.8259, allocations: 12 kB / 0.7879 GB, free: 12.11 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.000182/0.8261, allocations: 197.5 kB / 0.7881 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00011/0.8262, allocations: 63.25 kB / 0.7882 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008362/0.8271, allocations: 426.7 kB / 0.7886 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.356e-06/0.8271, allocations: 7.938 kB / 0.7886 GB, free: 11.42 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/0.8271, allocations: 0 / 0.7886 GB, free: 11.42 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006278/0.8277, allocations: 436.2 kB / 0.789 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001734/0.8295, allocations: 1.172 MB / 0.7902 GB, free: 9.719 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.137e-06/0.8295, allocations: 4 kB / 0.7902 GB, free: 9.715 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004144/0.8299, allocations: 92.06 kB / 0.7902 GB, free: 9.625 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.139e-06/0.8299, allocations: 4 kB / 0.7902 GB, free: 9.621 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.097e-05/0.83, allocations: 8 kB / 0.7903 GB, free: 9.613 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.298e-06/0.83, allocations: 7.938 kB / 0.7903 GB, free: 9.605 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.522e-06/0.83, allocations: 0 / 0.7903 GB, free: 9.605 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001104/0.8311, allocations: 0.7266 MB / 0.791 GB, free: 8.844 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000215/0.8313, allocations: 176.4 kB / 0.7911 GB, free: 8.652 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.432e-05/0.8314, allocations: 8 kB / 0.7911 GB, free: 8.645 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004352/0.8318, allocations: 30.2 kB / 0.7912 GB, free: 8.617 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.597e-05/0.8319, allocations: 34.59 kB / 0.7912 GB, free: 8.586 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.108e-05/0.832, allocations: 19.98 kB / 0.7912 GB, free: 8.566 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0004217/0.8324, allocations: 358.8 kB / 0.7916 GB, free: 8.219 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8324, allocations: 0 / 0.7916 GB, free: 8.219 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0008682/0.8333, allocations: 323.3 kB / 0.7919 GB, free: 7.902 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.000467/0.8338, allocations: 188.5 kB / 0.7921 GB, free: 7.723 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.00116/0.8349, allocations: 0.5471 MB / 0.7926 GB, free: 7.176 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.835, allocations: 0 / 0.7926 GB, free: 7.176 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0003197/0.8353, allocations: 189.4 kB / 0.7928 GB, free: 6.992 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001625/0.8369, allocations: 349 kB / 0.7931 GB, free: 6.672 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002322/0.8393, allocations: 1.251 MB / 0.7943 GB, free: 5.379 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000704/0.84, allocations: 0.9295 MB / 0.7952 GB, free: 4.422 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0006483/0.8406, allocations: 184.8 kB / 0.7954 GB, free: 4.238 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000144/0.8408, allocations: 51.42 kB / 0.7955 GB, free: 4.188 MB / 0.6075 GB Notification: Performance of SimCode: time 4.71e-07/0.8408, allocations: 4 kB / 0.7955 GB, free: 4.184 MB / 0.6075 GB Notification: Performance of Templates: time 0.02234/0.8631, allocations: 11.71 MB / 0.8069 GB, free: 8.668 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)