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/Complex 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) 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-master/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_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/Complex 4.0.0+maint.om/package.mo): time 0.007761/0.007761, allocations: 171.5 kB / 15.11 MB, free: 5.582 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7357/0.7357, allocations: 135.2 MB / 151.1 MB, free: 13.78 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.624/1.624, allocations: 223.2 MB / 406.9 MB, free: 3.223 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.0009605/0.0009606, allocations: 96.61 kB / 489.9 MB, free: 10.88 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003684/0.0003684, allocations: 11.98 kB / 0.5691 GB, free: 14.13 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4911/0.4915, allocations: 82.3 MB / 0.6495 GB, free: 36.1 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.239/5.731, allocations: 1.886 GB / 2.535 GB, free: 89.94 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004015/5.731, allocations: 88.75 kB / 2.535 GB, free: 89.85 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 2.357/8.088, allocations: 489.3 MB / 3.013 GB, free: 130.5 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.034e-06/8.088, allocations: 3.656 kB / 3.013 GB, free: 130.5 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 6.612e-05/8.088, allocations: 23.98 kB / 3.013 GB, free: 130.4 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.002806/8.091, allocations: 1.085 MB / 3.014 GB, free: 129.3 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.296e-05/8.091, allocations: 8.031 kB / 3.014 GB, free: 129.3 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001354/8.093, allocations: 202.9 kB / 3.014 GB, free: 129.1 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001281/8.094, allocations: 0.6273 MB / 3.015 GB, free: 128.5 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.988e-05/8.094, allocations: 38.62 kB / 3.015 GB, free: 128.4 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.301e-05/8.094, allocations: 52 kB / 3.015 GB, free: 128.4 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008662/8.095, allocations: 485.9 kB / 3.016 GB, free: 127.9 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.109e-05/8.095, allocations: 0 / 3.016 GB, free: 127.9 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.357e-05/8.095, allocations: 20 kB / 3.016 GB, free: 127.9 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.283e-05/8.095, allocations: 20.94 kB / 3.016 GB, free: 127.8 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006969/8.096, allocations: 422.9 kB / 3.016 GB, free: 127.4 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.002654/8.098, allocations: 1.998 MB / 3.018 GB, free: 125.3 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005122/8.099, allocations: 343.2 kB / 3.018 GB, free: 124.9 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000316/8.099, allocations: 194.5 kB / 3.018 GB, free: 124.7 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.116e-05/8.099, allocations: 34.84 kB / 3.018 GB, free: 124.7 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=33): time 2.585e-06/8.099, allocations: 0 / 3.018 GB, free: 124.7 MB / 0.6823 GB Notification: Performance of matching and sorting (n=33): time 0.001225/8.101, allocations: 0.5435 MB / 3.019 GB, free: 124.1 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.345e-05/8.101, allocations: 59.41 kB / 3.019 GB, free: 124 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004935/8.101, allocations: 454.2 kB / 3.019 GB, free: 123.6 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 4.077e-05/8.101, allocations: 33.7 kB / 3.02 GB, free: 123.6 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002097/8.101, allocations: 308.2 kB / 3.02 GB, free: 123.2 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.000116/8.102, allocations: 118.3 kB / 3.02 GB, free: 123.1 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.717e-05/8.102, allocations: 11.72 kB / 3.02 GB, free: 123.1 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001346/8.102, allocations: 362.8 kB / 3.02 GB, free: 122.8 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000238/8.102, allocations: 128.6 kB / 3.02 GB, free: 122.6 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002966/8.102, allocations: 230.6 kB / 3.021 GB, free: 122.4 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002795/8.103, allocations: 169.4 kB / 3.021 GB, free: 122.2 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/8.103, allocations: 0 / 3.021 GB, free: 122.2 MB / 0.6823 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006522/8.103, allocations: 437.3 kB / 3.021 GB, free: 121.8 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001618/8.103, allocations: 360 kB / 3.022 GB, free: 121.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.045e-05/8.103, allocations: 4.062 kB / 3.022 GB, free: 121.4 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.485e-05/8.103, allocations: 4 kB / 3.022 GB, free: 121.4 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003641/8.104, allocations: 67.91 kB / 3.022 GB, free: 121.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.497e-05/8.104, allocations: 11.92 kB / 3.022 GB, free: 121.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006073/8.104, allocations: 63.66 kB / 3.022 GB, free: 121.2 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.529e-05/8.105, allocations: 11.98 kB / 3.022 GB, free: 121.2 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 9.888e-06/8.105, allocations: 5.25 kB / 3.022 GB, free: 121.2 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005716/8.105, allocations: 347.9 kB / 3.022 GB, free: 120.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/8.105, allocations: 4 kB / 3.022 GB, free: 120.9 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.607e-06/8.105, allocations: 4 kB / 3.022 GB, free: 120.9 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000291/8.105, allocations: 75.86 kB / 3.022 GB, free: 120.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.987e-06/8.105, allocations: 4 kB / 3.022 GB, free: 120.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004817/8.106, allocations: 67.72 kB / 3.022 GB, free: 120.7 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.645e-05/8.106, allocations: 12 kB / 3.022 GB, free: 120.7 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.0003753/8.106, allocations: 289 kB / 3.022 GB, free: 120.4 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.02e-05/8.106, allocations: 63.25 kB / 3.023 GB, free: 120.4 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007407/8.107, allocations: 428.9 kB / 3.023 GB, free: 119.9 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.116e-06/8.107, allocations: 7.953 kB / 3.023 GB, free: 119.9 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/8.107, allocations: 0 / 3.023 GB, free: 119.9 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000544/8.108, allocations: 440.5 kB / 3.023 GB, free: 119.5 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001766/8.11, allocations: 1.174 MB / 3.025 GB, free: 118.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.496e-06/8.11, allocations: 3.172 kB / 3.025 GB, free: 118.2 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004058/8.11, allocations: 92.08 kB / 3.025 GB, free: 118.1 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.36e-06/8.11, allocations: 4 kB / 3.025 GB, free: 118.1 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.764e-05/8.11, allocations: 8 kB / 3.025 GB, free: 118.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.999e-06/8.11, allocations: 7.938 kB / 3.025 GB, free: 118.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/8.11, allocations: 0 / 3.025 GB, free: 118.1 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009838/8.111, allocations: 0.8066 MB / 3.025 GB, free: 117.2 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002447/8.111, allocations: 176.3 kB / 3.026 GB, free: 117 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.979e-05/8.111, allocations: 12 kB / 3.026 GB, free: 117 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00049/8.112, allocations: 55.72 kB / 3.026 GB, free: 117 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.678e-05/8.112, allocations: 27.97 kB / 3.026 GB, free: 117 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.9e-05/8.112, allocations: 16 kB / 3.026 GB, free: 116.9 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0003832/8.112, allocations: 354.8 kB / 3.026 GB, free: 116.6 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.91e-07/8.112, allocations: 0 / 3.026 GB, free: 116.6 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001567/8.114, allocations: 443.3 kB / 3.026 GB, free: 116.2 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.002174/8.116, allocations: 1.274 MB / 3.028 GB, free: 114.9 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001062/8.117, allocations: 0.5195 MB / 3.028 GB, free: 114.4 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.047e-06/8.117, allocations: 0 / 3.028 GB, free: 114.4 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002655/8.118, allocations: 183.7 kB / 3.028 GB, free: 114.2 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001662/8.119, allocations: 371.4 kB / 3.029 GB, free: 113.8 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002354/8.122, allocations: 1.537 MB / 3.03 GB, free: 112.2 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000489/8.122, allocations: 0.9451 MB / 3.031 GB, free: 111.3 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0006928/8.123, allocations: 176.8 kB / 3.031 GB, free: 111.1 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000137/8.123, allocations: 51.44 kB / 3.031 GB, free: 111 MB / 0.6823 GB Notification: Performance of SimCode: time 1.092e-06/8.123, allocations: 4 kB / 3.031 GB, free: 111 MB / 0.6823 GB Notification: Performance of Templates: time 0.03881/8.162, allocations: 25.99 MB / 3.057 GB, free: 85.19 MB / 0.6823 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)