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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.006281/0.006281, allocations: 172 kB / 15.11 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.845/0.845, allocations: 132.3 MB / 148.1 MB, free: 232 kB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.666/1.666, allocations: 223.2 MB / 403.2 MB, free: 6.742 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009048/0.000905, allocations: 105.4 kB / 485.5 MB, free: 14.15 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003465/0.0003466, allocations: 8 kB / 0.5641 GB, free: 2.133 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4644/0.4648, allocations: 81.57 MB / 0.6437 GB, free: 39.29 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.366/5.83, allocations: 1.886 GB / 2.529 GB, free: 118.5 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005023/5.831, allocations: 94.58 kB / 2.529 GB, free: 118.4 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 2.403/8.234, allocations: 489.2 MB / 3.007 GB, free: 157.5 MB / 0.6823 GB Notification: Performance of FrontEnd: time 4.087e-06/8.235, allocations: 0 / 3.007 GB, free: 157.5 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.733e-05/8.235, allocations: 25.47 kB / 3.007 GB, free: 157.5 MB / 0.6823 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.003158/8.238, allocations: 1.094 MB / 3.008 GB, free: 156.7 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 7.438e-05/8.238, allocations: 7.719 kB / 3.008 GB, free: 156.7 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001503/8.239, allocations: 216.6 kB / 3.008 GB, free: 156.6 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001473/8.241, allocations: 0.6258 MB / 3.009 GB, free: 156.2 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.212e-05/8.241, allocations: 38.33 kB / 3.009 GB, free: 156.2 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001051/8.241, allocations: 45.97 kB / 3.009 GB, free: 156.2 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009896/8.242, allocations: 487.6 kB / 3.01 GB, free: 155.9 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.57e-05/8.242, allocations: 0 / 3.01 GB, free: 155.9 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.46e-05/8.242, allocations: 15.88 kB / 3.01 GB, free: 155.9 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.739e-05/8.242, allocations: 23.22 kB / 3.01 GB, free: 155.9 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007829/8.243, allocations: 423.7 kB / 3.01 GB, free: 155.7 MB / 0.6823 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.003254/8.246, allocations: 2.007 MB / 3.012 GB, free: 154 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006117/8.247, allocations: 333.2 kB / 3.012 GB, free: 153.8 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003677/8.247, allocations: 183.5 kB / 3.012 GB, free: 153.6 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.179e-05/8.247, allocations: 42.36 kB / 3.013 GB, free: 153.6 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=33): time 2.605e-06/8.247, allocations: 0 / 3.013 GB, free: 153.6 MB / 0.6823 GB Notification: Performance of matching and sorting (n=33): time 0.001416/8.249, allocations: 0.5449 MB / 3.013 GB, free: 153.3 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.657e-05/8.249, allocations: 55.28 kB / 3.013 GB, free: 153.2 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006216/8.249, allocations: 453.2 kB / 3.014 GB, free: 153 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 4.943e-05/8.25, allocations: 37.64 kB / 3.014 GB, free: 152.9 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002536/8.25, allocations: 303.9 kB / 3.014 GB, free: 152.7 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001186/8.25, allocations: 113.3 kB / 3.014 GB, free: 152.6 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.02e-05/8.25, allocations: 14.88 kB / 3.014 GB, free: 152.6 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001587/8.25, allocations: 366.2 kB / 3.014 GB, free: 152.2 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002581/8.25, allocations: 133 kB / 3.014 GB, free: 152.1 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003451/8.251, allocations: 234.1 kB / 3.015 GB, free: 152 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003163/8.251, allocations: 168.2 kB / 3.015 GB, free: 151.9 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/8.251, allocations: 2.562 kB / 3.015 GB, free: 151.9 MB / 0.6823 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007372/8.252, allocations: 433.1 kB / 3.015 GB, free: 151.7 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002271/8.252, allocations: 362 kB / 3.016 GB, free: 151.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.283e-05/8.252, allocations: 3.984 kB / 3.016 GB, free: 151.3 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.921e-05/8.252, allocations: 3.719 kB / 3.016 GB, free: 151.3 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004028/8.253, allocations: 74.56 kB / 3.016 GB, free: 151.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.577e-05/8.253, allocations: 3.875 kB / 3.016 GB, free: 151.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006915/8.253, allocations: 62.02 kB / 3.016 GB, free: 151.3 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.58e-05/8.253, allocations: 15.16 kB / 3.016 GB, free: 151.3 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.191e-05/8.253, allocations: 4.438 kB / 3.016 GB, free: 151.3 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006257/8.254, allocations: 346.3 kB / 3.016 GB, free: 151.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.074e-06/8.254, allocations: 0 / 3.016 GB, free: 151.1 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.524e-06/8.254, allocations: 3.688 kB / 3.016 GB, free: 151.1 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003195/8.254, allocations: 78.23 kB / 3.016 GB, free: 151.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.295e-06/8.254, allocations: 4.047 kB / 3.016 GB, free: 151.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004818/8.255, allocations: 69.81 kB / 3.016 GB, free: 151 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.226e-05/8.255, allocations: 15.86 kB / 3.016 GB, free: 151 MB / 0.6823 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000414/8.255, allocations: 290.5 kB / 3.017 GB, free: 150.8 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000122/8.255, allocations: 59.5 kB / 3.017 GB, free: 150.8 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008433/8.256, allocations: 426.4 kB / 3.017 GB, free: 150.5 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.983e-06/8.256, allocations: 2.688 kB / 3.017 GB, free: 150.5 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.107e-06/8.256, allocations: 6.734 kB / 3.017 GB, free: 150.5 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000668/8.257, allocations: 449.3 kB / 3.017 GB, free: 150.2 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001965/8.259, allocations: 1.171 MB / 3.019 GB, free: 149.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/8.259, allocations: 0 / 3.019 GB, free: 149.4 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004399/8.259, allocations: 96.88 kB / 3.019 GB, free: 149.3 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.55e-06/8.259, allocations: 3.938 kB / 3.019 GB, free: 149.3 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.467e-05/8.259, allocations: 11.88 kB / 3.019 GB, free: 149.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.038e-06/8.26, allocations: 7.812 kB / 3.019 GB, free: 149.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/8.26, allocations: 0 / 3.019 GB, free: 149.3 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001181/8.261, allocations: 0.8024 MB / 3.019 GB, free: 148.7 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002864/8.261, allocations: 184.3 kB / 3.02 GB, free: 148.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.182e-05/8.261, allocations: 8 kB / 3.02 GB, free: 148.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005079/8.262, allocations: 51.05 kB / 3.02 GB, free: 148.5 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001054/8.262, allocations: 19.97 kB / 3.02 GB, free: 148.4 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.959e-05/8.262, allocations: 18.83 kB / 3.02 GB, free: 148.4 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0004406/8.262, allocations: 354.8 kB / 3.02 GB, free: 148.1 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.01e-07/8.262, allocations: 4 kB / 3.02 GB, free: 148.1 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001761/8.264, allocations: 443.3 kB / 3.021 GB, free: 147.6 MB / 0.6823 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002609/8.267, allocations: 1.263 MB / 3.022 GB, free: 146.7 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001158/8.268, allocations: 0.519 MB / 3.022 GB, free: 146.2 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.971e-06/8.268, allocations: 3 kB / 3.022 GB, free: 146.2 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0003022/8.268, allocations: 179.8 kB / 3.022 GB, free: 146 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001763/8.27, allocations: 369.6 kB / 3.023 GB, free: 145.6 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002651/8.273, allocations: 1.543 MB / 3.024 GB, free: 144.2 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006016/8.273, allocations: 0.9435 MB / 3.025 GB, free: 143.2 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0007221/8.274, allocations: 178 kB / 3.025 GB, free: 143.1 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001469/8.274, allocations: 55.42 kB / 3.025 GB, free: 143 MB / 0.6823 GB Notification: Performance of SimCode: time 7.22e-07/8.274, allocations: 0 / 3.025 GB, free: 143 MB / 0.6823 GB Notification: Performance of Templates: time 0.04167/8.316, allocations: 25.99 MB / 3.051 GB, free: 117.6 MB / 0.6823 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)