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.001094/0.001094, allocations: 108.3 kB / 16.37 MB, free: 5.547 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.001045/0.001045, allocations: 194.2 kB / 17.3 MB, free: 5.184 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.388/1.388, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8435/0.8435, allocations: 132.2 MB / 423.3 MB, free: 6.605 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001943/0.001943, allocations: 59.91 kB / 0.5032 GB, free: 10.96 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.454/0.456, allocations: 80.19 MB / 0.5815 GB, free: 27.63 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Delays.Examples.Delay): time 0.6054/1.061, allocations: 183.2 MB / 0.7604 GB, free: 1.746 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.00806/1.07, allocations: 4.856 MB / 0.7652 GB, free: 1.684 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001498/1.071, allocations: 31.62 kB / 0.7652 GB, free: 1.684 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001423/1.073, allocations: 432.2 kB / 0.7656 GB, free: 1.676 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.004178/1.077, allocations: 1.421 MB / 0.767 GB, free: 1.613 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002586/1.079, allocations: 0.7733 MB / 0.7678 GB, free: 1.59 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003426/1.083, allocations: 1.844 MB / 0.7696 GB, free: 1.59 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008424/1.084, allocations: 0.6009 MB / 0.7701 GB, free: 1.527 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00191/1.086, allocations: 0.8714 MB / 0.771 GB, free: 1.52 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001308/1.087, allocations: 0.5414 MB / 0.7715 GB, free: 1.52 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001458/1.087, allocations: 57.94 kB / 0.7716 GB, free: 1.52 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002855/1.09, allocations: 1.416 MB / 0.773 GB, free: 1.504 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.000322/1.09, allocations: 265.7 kB / 0.7732 GB, free: 1.5 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0005416/1.091, allocations: 398.8 kB / 0.7736 GB, free: 1.5 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002487/1.093, allocations: 1.428 MB / 0.775 GB, free: 1.41 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/1.093, allocations: 0 / 0.775 GB, free: 1.41 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.813e-06/1.093, allocations: 0.8438 kB / 0.775 GB, free: 1.41 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.196e-05/1.093, allocations: 0.6875 kB / 0.775 GB, free: 1.41 MB / 0.5762 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.001946/1.095, allocations: 1.102 MB / 0.7761 GB, free: 16.75 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.09e-05/1.095, allocations: 10 kB / 0.7761 GB, free: 16.75 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001291/1.097, allocations: 203.3 kB / 0.7763 GB, free: 16.71 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001027/1.098, allocations: 0.6241 MB / 0.7769 GB, free: 16.41 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.892e-05/1.098, allocations: 42.55 kB / 0.7769 GB, free: 16.41 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.142e-05/1.098, allocations: 48.33 kB / 0.777 GB, free: 16.41 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007658/1.099, allocations: 0.4912 MB / 0.7774 GB, free: 16.37 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.66e-05/1.099, allocations: 0 / 0.7774 GB, free: 16.37 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.537e-05/1.099, allocations: 19.78 kB / 0.7775 GB, free: 16.37 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.716e-05/1.099, allocations: 20.38 kB / 0.7775 GB, free: 16.37 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006752/1.099, allocations: 435.7 kB / 0.7779 GB, free: 16.36 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.002448/1.102, allocations: 1.998 MB / 0.7799 GB, free: 15.38 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004867/1.102, allocations: 353.1 kB / 0.7802 GB, free: 15.35 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000291/1.103, allocations: 208.8 kB / 0.7804 GB, free: 15.34 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002953/1.103, allocations: 197.1 kB / 0.7806 GB, free: 15.15 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.718e-05/1.103, allocations: 38.75 kB / 0.7806 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=33): time 1.763e-06/1.103, allocations: 0 / 0.7806 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of matching and sorting (n=33): time 0.001124/1.104, allocations: 0.54 MB / 0.7811 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.077e-05/1.104, allocations: 56.41 kB / 0.7812 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004978/1.105, allocations: 0.5091 MB / 0.7817 GB, free: 14.86 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.172e-05/1.105, allocations: 32.55 kB / 0.7817 GB, free: 14.83 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001856/1.105, allocations: 301.2 kB / 0.782 GB, free: 14.69 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 8.833e-05/1.105, allocations: 125.9 kB / 0.7821 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001098/1.105, allocations: 72.06 kB / 0.7822 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001689/1.105, allocations: 365.9 kB / 0.7825 GB, free: 14.28 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002483/1.106, allocations: 142.6 kB / 0.7827 GB, free: 14.27 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002886/1.106, allocations: 223.6 kB / 0.7829 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005165/1.106, allocations: 334.4 kB / 0.7832 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/1.106, allocations: 7.656 kB / 0.7832 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007038/1.107, allocations: 423.8 kB / 0.7836 GB, free: 14.1 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.061e-05/1.107, allocations: 6.375 kB / 0.7836 GB, free: 14.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.668e-06/1.107, allocations: 0 / 0.7836 GB, free: 14.1 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.132e-05/1.107, allocations: 7.062 kB / 0.7836 GB, free: 14.1 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003424/1.108, allocations: 71.09 kB / 0.7837 GB, free: 14.1 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.839e-06/1.108, allocations: 7.906 kB / 0.7837 GB, free: 14.09 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000512/1.108, allocations: 38.61 kB / 0.7838 GB, free: 14.08 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.476e-05/1.108, allocations: 11.12 kB / 0.7838 GB, free: 14.08 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000439/1.109, allocations: 306.9 kB / 0.7841 GB, free: 14 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000266/1.109, allocations: 213.4 kB / 0.7843 GB, free: 13.93 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004772/1.109, allocations: 333.6 kB / 0.7846 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.674e-06/1.109, allocations: 3.188 kB / 0.7846 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0006226/1.11, allocations: 416.2 kB / 0.785 GB, free: 13.83 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 8.936e-06/1.11, allocations: 6.984 kB / 0.785 GB, free: 13.83 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.334e-06/1.11, allocations: 4.844 kB / 0.785 GB, free: 13.82 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.227e-06/1.11, allocations: 2.625 kB / 0.785 GB, free: 13.82 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002852/1.11, allocations: 78.55 kB / 0.7851 GB, free: 13.82 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.048e-06/1.11, allocations: 2.75 kB / 0.7851 GB, free: 13.82 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004631/1.111, allocations: 38.3 kB / 0.7851 GB, free: 13.81 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.761e-05/1.111, allocations: 16.72 kB / 0.7851 GB, free: 13.81 MB / 0.5919 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.0001754/1.111, allocations: 200 kB / 0.7853 GB, free: 13.62 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.685e-05/1.111, allocations: 56.03 kB / 0.7854 GB, free: 13.6 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007081/1.112, allocations: 427.6 kB / 0.7858 GB, free: 13.54 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.271e-06/1.112, allocations: 5.531 kB / 0.7858 GB, free: 13.54 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.084e-06/1.112, allocations: 6.016 kB / 0.7858 GB, free: 13.54 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005428/1.112, allocations: 430.3 kB / 0.7862 GB, free: 13.38 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001707/1.114, allocations: 1.171 MB / 0.7873 GB, free: 13.02 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/1.114, allocations: 3.688 kB / 0.7873 GB, free: 13.02 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004006/1.115, allocations: 91.98 kB / 0.7874 GB, free: 13.02 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.48e-06/1.115, allocations: 3.406 kB / 0.7874 GB, free: 13.02 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.692e-05/1.115, allocations: 6.25 kB / 0.7874 GB, free: 13.02 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.26e-06/1.115, allocations: 7.938 kB / 0.7874 GB, free: 13.02 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/1.115, allocations: 4.062 kB / 0.7874 GB, free: 13.02 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009839/1.116, allocations: 0.7298 MB / 0.7882 GB, free: 12.8 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002877/1.116, allocations: 176.4 kB / 0.7883 GB, free: 12.67 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.372e-05/1.116, allocations: 12.02 kB / 0.7883 GB, free: 12.67 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004248/1.116, allocations: 23.92 kB / 0.7884 GB, free: 12.67 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.051e-05/1.117, allocations: 23.75 kB / 0.7884 GB, free: 12.67 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.805e-05/1.117, allocations: 15.12 kB / 0.7884 GB, free: 12.67 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003665/1.117, allocations: 367 kB / 0.7888 GB, free: 12.59 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.71e-07/1.117, allocations: 1 kB / 0.7888 GB, free: 12.59 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0008966/1.118, allocations: 331.4 kB / 0.7891 GB, free: 12.54 MB / 0.5919 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.0004741/1.118, allocations: 193.3 kB / 0.7893 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0009412/1.119, allocations: 0.5154 MB / 0.7898 GB, free: 12.42 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.317e-06/1.119, allocations: 0.8125 kB / 0.7898 GB, free: 12.42 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002767/1.12, allocations: 181 kB / 0.7899 GB, free: 12.42 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001413/1.121, allocations: 349.2 kB / 0.7903 GB, free: 12.39 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001852/1.123, allocations: 1.235 MB / 0.7915 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004693/1.123, allocations: 0.9372 MB / 0.7924 GB, free: 11.16 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.000542/1.124, allocations: 181.8 kB / 0.7926 GB, free: 11.14 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001243/1.124, allocations: 48.16 kB / 0.7926 GB, free: 11.14 MB / 0.5919 GB Notification: Performance of SimCode: time 4.31e-07/1.124, allocations: 1.203 kB / 0.7926 GB, free: 11.14 MB / 0.5919 GB Notification: Performance of Templates: time 0.01952/1.144, allocations: 11.72 MB / 0.804 GB, free: 9.289 MB / 0.5919 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 -s cvode -lv LOG_STATS > IDEAS_IDEAS.Fluid.Delays.Examples.Delay.pipe 2>&1)