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.001/0.001001, allocations: 105.2 kB / 16.35 MB, free: 5.824 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.00112/0.00112, allocations: 193.1 kB / 17.29 MB, free: 5.48 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.24/1.24, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7564/0.7564, allocations: 135.1 MB / 426.3 MB, free: 4.117 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001184/0.001184, allocations: 63.89 kB / 0.5067 GB, free: 7.68 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.323/0.3242, allocations: 80.92 MB / 0.5858 GB, free: 25.56 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Delays.Examples.Delay): time 0.4978/0.8221, allocations: 183.2 MB / 0.7647 GB, free: 1.723 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.007981/0.8301, allocations: 4.861 MB / 0.7694 GB, free: 1.648 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001084/0.8312, allocations: 30.09 kB / 0.7695 GB, free: 1.648 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001195/0.8324, allocations: 441.3 kB / 0.7699 GB, free: 1.641 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003328/0.8358, allocations: 1.403 MB / 0.7713 GB, free: 1.582 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002217/0.838, allocations: 0.7776 MB / 0.772 GB, free: 1.562 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.00233/0.8403, allocations: 1.845 MB / 0.7738 GB, free: 1.559 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008779/0.8412, allocations: 0.5989 MB / 0.7744 GB, free: 1.492 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00144/0.8427, allocations: 0.8723 MB / 0.7753 GB, free: 1.484 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009483/0.8436, allocations: 0.5425 MB / 0.7758 GB, free: 1.48 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 8.18e-05/0.8437, allocations: 58.31 kB / 0.7758 GB, free: 1.48 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002563/0.8463, allocations: 1.408 MB / 0.7772 GB, free: 1.465 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002708/0.8466, allocations: 266.5 kB / 0.7775 GB, free: 1.465 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0004322/0.847, allocations: 403.1 kB / 0.7779 GB, free: 1.465 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001736/0.8487, allocations: 1.425 MB / 0.7792 GB, free: 1.379 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.828e-06/0.8488, allocations: 0 / 0.7792 GB, free: 1.379 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.645e-06/0.8488, allocations: 0 / 0.7792 GB, free: 1.379 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.049e-05/0.8488, allocations: 1.969 kB / 0.7792 GB, free: 1.379 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.00151/0.8503, allocations: 1.102 MB / 0.7803 GB, free: 16.71 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.66e-05/0.8503, allocations: 11.33 kB / 0.7803 GB, free: 16.71 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0012/0.8516, allocations: 208.5 kB / 0.7805 GB, free: 16.67 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008863/0.8525, allocations: 0.6192 MB / 0.7811 GB, free: 16.38 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.905e-05/0.8525, allocations: 40.2 kB / 0.7812 GB, free: 16.38 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.2e-05/0.8526, allocations: 51.38 kB / 0.7812 GB, free: 16.38 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007336/0.8533, allocations: 497.3 kB / 0.7817 GB, free: 16.33 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.517e-05/0.8533, allocations: 0 / 0.7817 GB, free: 16.33 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.417e-05/0.8534, allocations: 22.97 kB / 0.7817 GB, free: 16.33 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.559e-05/0.8534, allocations: 18.09 kB / 0.7817 GB, free: 16.33 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006439/0.8541, allocations: 437.9 kB / 0.7822 GB, free: 16.32 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.002245/0.8563, allocations: 1.996 MB / 0.7841 GB, free: 15.34 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004746/0.8568, allocations: 348.7 kB / 0.7844 GB, free: 15.31 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002727/0.8571, allocations: 207.4 kB / 0.7846 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002722/0.8574, allocations: 193.1 kB / 0.7848 GB, free: 15.12 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.657e-05/0.8574, allocations: 37.66 kB / 0.7849 GB, free: 15.08 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=33): time 1.483e-06/0.8574, allocations: 0.7188 kB / 0.7849 GB, free: 15.08 MB / 0.5919 GB Notification: Performance of matching and sorting (n=33): time 0.00105/0.8585, allocations: 0.5418 MB / 0.7854 GB, free: 15.01 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.445e-05/0.8585, allocations: 65.44 kB / 0.7854 GB, free: 14.94 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004428/0.859, allocations: 0.5045 MB / 0.7859 GB, free: 14.82 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.763e-05/0.859, allocations: 31.3 kB / 0.786 GB, free: 14.79 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.000161/0.8592, allocations: 305.9 kB / 0.7863 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 7.337e-05/0.8593, allocations: 123.5 kB / 0.7864 GB, free: 14.57 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.822e-05/0.8594, allocations: 71.59 kB / 0.7864 GB, free: 14.55 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001319/0.8595, allocations: 366.4 kB / 0.7868 GB, free: 14.24 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000231/0.8597, allocations: 141.3 kB / 0.7869 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002678/0.86, allocations: 221.9 kB / 0.7871 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004733/0.8605, allocations: 338.2 kB / 0.7875 GB, free: 14.12 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.8605, allocations: 0.7812 kB / 0.7875 GB, free: 14.12 MB / 0.5919 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006306/0.8611, allocations: 431.9 kB / 0.7879 GB, free: 14.05 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.555e-05/0.8612, allocations: 7.297 kB / 0.7879 GB, free: 14.05 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.8612, allocations: 5 kB / 0.7879 GB, free: 14.05 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.468e-05/0.8612, allocations: 0 / 0.7879 GB, free: 14.05 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003182/0.8615, allocations: 75.86 kB / 0.788 GB, free: 14.05 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.745e-06/0.8615, allocations: 3.969 kB / 0.788 GB, free: 14.05 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004106/0.862, allocations: 43.86 kB / 0.788 GB, free: 14.04 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.027e-05/0.862, allocations: 15.41 kB / 0.788 GB, free: 14.04 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003576/0.8624, allocations: 306.1 kB / 0.7883 GB, free: 13.95 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002616/0.8626, allocations: 214.9 kB / 0.7885 GB, free: 13.88 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004517/0.8631, allocations: 330.2 kB / 0.7888 GB, free: 13.85 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.114e-06/0.8631, allocations: 0.8438 kB / 0.7888 GB, free: 13.85 MB / 0.5919 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0005877/0.8637, allocations: 427.5 kB / 0.7892 GB, free: 13.78 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 7.484e-06/0.8637, allocations: 8.719 kB / 0.7893 GB, free: 13.78 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.783e-06/0.8637, allocations: 0 / 0.7893 GB, free: 13.78 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.717e-06/0.8637, allocations: 4.25 kB / 0.7893 GB, free: 13.78 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003135/0.864, allocations: 70.19 kB / 0.7893 GB, free: 13.78 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.222e-06/0.8641, allocations: 6.281 kB / 0.7893 GB, free: 13.78 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003859/0.8645, allocations: 31.59 kB / 0.7894 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.352e-05/0.8645, allocations: 12.91 kB / 0.7894 GB, free: 13.77 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.0001284/0.8646, allocations: 207.6 kB / 0.7896 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.936e-05/0.8647, allocations: 60.22 kB / 0.7896 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006548/0.8654, allocations: 424.7 kB / 0.79 GB, free: 13.5 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.533e-06/0.8654, allocations: 11.08 kB / 0.79 GB, free: 13.5 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.179e-06/0.8654, allocations: 0 / 0.79 GB, free: 13.5 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005169/0.8659, allocations: 438.3 kB / 0.7905 GB, free: 13.33 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001495/0.8674, allocations: 1.169 MB / 0.7916 GB, free: 12.97 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.8674, allocations: 0.875 kB / 0.7916 GB, free: 12.97 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003775/0.8678, allocations: 92.39 kB / 0.7917 GB, free: 12.97 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.8678, allocations: 6.5 kB / 0.7917 GB, free: 12.97 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.56e-05/0.8679, allocations: 8.344 kB / 0.7917 GB, free: 12.97 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.828e-06/0.8679, allocations: 3.969 kB / 0.7917 GB, free: 12.97 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/0.8679, allocations: 4.5 kB / 0.7917 GB, free: 12.97 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008961/0.8688, allocations: 0.7264 MB / 0.7924 GB, free: 12.75 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002294/0.869, allocations: 177 kB / 0.7926 GB, free: 12.63 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.661e-05/0.8691, allocations: 11.28 kB / 0.7926 GB, free: 12.63 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003974/0.8695, allocations: 24.06 kB / 0.7926 GB, free: 12.63 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.082e-05/0.8696, allocations: 27 kB / 0.7926 GB, free: 12.63 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.915e-05/0.8696, allocations: 18.56 kB / 0.7927 GB, free: 12.62 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003267/0.8699, allocations: 365.3 kB / 0.793 GB, free: 12.54 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.71e-07/0.87, allocations: 0.7812 kB / 0.793 GB, free: 12.54 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0007491/0.8707, allocations: 321.3 kB / 0.7933 GB, free: 12.5 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.000393/0.8711, allocations: 194.3 kB / 0.7935 GB, free: 12.4 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0008073/0.8719, allocations: 0.5218 MB / 0.794 GB, free: 12.39 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.8719, allocations: 0 / 0.794 GB, free: 12.39 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002482/0.8722, allocations: 181.9 kB / 0.7942 GB, free: 12.39 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001306/0.8735, allocations: 344.2 kB / 0.7945 GB, free: 12.36 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001582/0.8751, allocations: 1.232 MB / 0.7957 GB, free: 11.83 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004252/0.8755, allocations: 0.935 MB / 0.7966 GB, free: 11.13 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0004787/0.876, allocations: 191.1 kB / 0.7968 GB, free: 11.1 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001087/0.8761, allocations: 48.5 kB / 0.7969 GB, free: 11.09 MB / 0.5919 GB Notification: Performance of SimCode: time 3e-07/0.8761, allocations: 0 / 0.7969 GB, free: 11.09 MB / 0.5919 GB Notification: Performance of Templates: time 0.01625/0.8924, allocations: 11.71 MB / 0.8083 GB, free: 8.93 MB / 0.5919 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 -s gbode -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Delays.Examples.Delay.pipe 2>&1)