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.001115/0.001114, allocations: 176.1 kB / 7.643 MB, free: 1.414 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7462/0.7462, allocations: 130.7 MB / 138.7 MB, free: 3.543 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.487/1.487, allocations: 221.5 MB / 391.8 MB, free: 14.14 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.0009014/0.0009013, allocations: 100 kB / 473.9 MB, free: 4.441 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.63e-05/1.633e-05, allocations: 0 / 0.5485 GB, free: 13.03 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5039/0.5039, allocations: 81.57 MB / 0.6282 GB, free: 42.85 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.941/5.445, allocations: 1.885 GB / 2.513 GB, free: 66.24 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002668/5.445, allocations: 84.52 kB / 2.513 GB, free: 66.16 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 1.88/7.325, allocations: 483.4 MB / 2.985 GB, free: 98.34 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.423e-06/7.325, allocations: 0 / 2.985 GB, free: 98.34 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0001168/7.325, allocations: 23.45 kB / 2.985 GB, free: 98.32 MB / 0.6667 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.002638/7.328, allocations: 0.9694 MB / 2.986 GB, free: 97.31 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.867e-05/7.328, allocations: 8.031 kB / 2.986 GB, free: 97.3 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001667/7.33, allocations: 202.9 kB / 2.986 GB, free: 97.1 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001611/7.331, allocations: 0.6266 MB / 2.987 GB, free: 96.45 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.995e-05/7.331, allocations: 19.95 kB / 2.987 GB, free: 96.43 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001345/7.332, allocations: 31.94 kB / 2.987 GB, free: 96.4 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007695/7.332, allocations: 358.5 kB / 2.987 GB, free: 96.05 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007515/7.333, allocations: 399.9 kB / 2.988 GB, free: 95.65 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.078e-05/7.333, allocations: 0 / 2.988 GB, free: 95.65 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.724e-05/7.333, allocations: 4 kB / 2.988 GB, free: 95.64 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.745e-05/7.333, allocations: 17.31 kB / 2.988 GB, free: 95.63 MB / 0.6667 GB Warning: The model contains alias variables with conflicting start and/or 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.002848/7.336, allocations: 1.9 MB / 2.99 GB, free: 93.58 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000398/7.337, allocations: 299.3 kB / 2.99 GB, free: 93.28 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002073/7.337, allocations: 178 kB / 2.99 GB, free: 93.11 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002702/7.337, allocations: 190.5 kB / 2.99 GB, free: 92.88 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.907e-05/7.337, allocations: 42.83 kB / 2.99 GB, free: 92.83 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=33): time 2.955e-06/7.337, allocations: 0 / 2.99 GB, free: 92.83 MB / 0.6667 GB Notification: Performance of matching and sorting (n=33): time 0.0008929/7.338, allocations: 367.3 kB / 2.991 GB, free: 92.47 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.73e-05/7.338, allocations: 55.41 kB / 2.991 GB, free: 92.4 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004062/7.338, allocations: 378.2 kB / 2.991 GB, free: 92.03 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 4.582e-05/7.338, allocations: 25.7 kB / 2.991 GB, free: 92 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001827/7.339, allocations: 312.6 kB / 2.991 GB, free: 91.68 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001059/7.339, allocations: 114.3 kB / 2.991 GB, free: 91.57 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.706e-05/7.339, allocations: 3.938 kB / 2.991 GB, free: 91.57 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 9.523e-05/7.339, allocations: 362.8 kB / 2.992 GB, free: 91.2 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001506/7.339, allocations: 108.6 kB / 2.992 GB, free: 91.09 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001959/7.339, allocations: 203.1 kB / 2.992 GB, free: 90.86 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001906/7.339, allocations: 143.7 kB / 2.992 GB, free: 90.72 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/7.339, allocations: 4 kB / 2.992 GB, free: 90.72 MB / 0.6667 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005334/7.34, allocations: 365.3 kB / 2.993 GB, free: 90.36 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001209/7.34, allocations: 372.4 kB / 2.993 GB, free: 89.97 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.825e-06/7.34, allocations: 0 / 2.993 GB, free: 89.97 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.167e-05/7.34, allocations: 4 kB / 2.993 GB, free: 89.96 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003517/7.341, allocations: 67.91 kB / 2.993 GB, free: 89.9 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.878e-06/7.341, allocations: 4 kB / 2.993 GB, free: 89.89 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006207/7.341, allocations: 55.64 kB / 2.993 GB, free: 89.84 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.767e-05/7.341, allocations: 16 kB / 2.993 GB, free: 89.82 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 9.808e-06/7.341, allocations: 4 kB / 2.993 GB, free: 89.82 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003775/7.342, allocations: 275.9 kB / 2.993 GB, free: 89.55 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.845e-06/7.342, allocations: 4.031 kB / 2.993 GB, free: 89.55 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.552e-06/7.342, allocations: 11.95 kB / 2.993 GB, free: 89.54 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002985/7.342, allocations: 75.91 kB / 2.993 GB, free: 89.46 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.451e-06/7.342, allocations: 7.984 kB / 2.993 GB, free: 89.45 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005636/7.343, allocations: 51.7 kB / 2.993 GB, free: 89.4 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.324e-05/7.343, allocations: 16 kB / 2.993 GB, free: 89.39 MB / 0.6667 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 () * 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.0001037/7.343, allocations: 112.8 kB / 2.994 GB, free: 89.27 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.378e-05/7.343, allocations: 55.34 kB / 2.994 GB, free: 89.21 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005112/7.343, allocations: 351.1 kB / 2.994 GB, free: 88.87 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/7.343, allocations: 7.953 kB / 2.994 GB, free: 88.86 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/7.343, allocations: 4 kB / 2.994 GB, free: 88.86 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003367/7.344, allocations: 384.8 kB / 2.994 GB, free: 88.45 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001377/7.345, allocations: 1.043 MB / 2.995 GB, free: 87.35 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/7.345, allocations: 0 / 2.995 GB, free: 87.35 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003995/7.346, allocations: 87.89 kB / 2.995 GB, free: 87.27 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.144e-06/7.346, allocations: 4 kB / 2.995 GB, free: 87.26 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.867e-05/7.346, allocations: 4 kB / 2.995 GB, free: 87.26 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/7.346, allocations: 4 kB / 2.995 GB, free: 87.25 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.571e-06/7.346, allocations: 4 kB / 2.995 GB, free: 87.25 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007506/7.346, allocations: 0.7172 MB / 2.996 GB, free: 86.46 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002375/7.347, allocations: 180.3 kB / 2.996 GB, free: 86.27 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.861e-05/7.347, allocations: 4 kB / 2.996 GB, free: 86.26 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005309/7.347, allocations: 47.8 kB / 2.996 GB, free: 86.21 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.232e-05/7.347, allocations: 28.05 kB / 2.996 GB, free: 86.19 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.601e-05/7.347, allocations: 15.98 kB / 2.996 GB, free: 86.17 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0002711/7.348, allocations: 294.9 kB / 2.997 GB, free: 85.89 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.5e-07/7.348, allocations: 0 / 2.997 GB, free: 85.89 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001251/7.349, allocations: 403.1 kB / 2.997 GB, free: 85.49 MB / 0.6667 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 () * 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.002242/7.351, allocations: 1.429 MB / 2.998 GB, free: 84.18 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0006404/7.352, allocations: 463 kB / 2.999 GB, free: 83.73 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/7.352, allocations: 4 kB / 2.999 GB, free: 83.73 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0002021/7.352, allocations: 151.8 kB / 2.999 GB, free: 83.58 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001673/7.354, allocations: 340.6 kB / 2.999 GB, free: 83.25 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001581/7.355, allocations: 0.9473 MB / 3 GB, free: 82.25 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004087/7.356, allocations: 0.9575 MB / 3.001 GB, free: 81.27 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0008443/7.357, allocations: 216.5 kB / 3.001 GB, free: 81.06 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001115/7.357, allocations: 35.44 kB / 3.001 GB, free: 81.02 MB / 0.6667 GB Notification: Performance of SimCode: time 1.032e-06/7.357, allocations: 0 / 3.001 GB, free: 81.02 MB / 0.6667 GB Notification: Performance of Templates: time 0.0289/7.386, allocations: 17.88 MB / 3.019 GB, free: 63.32 MB / 0.6667 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)