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.001119/0.001119, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001301/0.001301, allocations: 200.2 kB / 16.79 MB, free: 6.809 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.338/1.338, allocations: 222.9 MB / 240.5 MB, free: 4.582 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9244/0.9244, allocations: 135.1 MB / 425.7 MB, free: 11.99 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001254/0.001254, allocations: 64.75 kB / 0.5053 GB, free: 5.777 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1662/0.1675, allocations: 80.93 MB / 0.5843 GB, free: 5.008 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Delays.Examples.Delay): time 0.4733/0.6409, allocations: 181 MB / 0.7611 GB, free: 8.465 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.008436/0.6494, allocations: 4.929 MB / 0.7659 GB, free: 3.523 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001314/0.6508, allocations: 27.81 kB / 0.7659 GB, free: 3.496 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001362/0.6522, allocations: 374 kB / 0.7663 GB, free: 3.129 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003847/0.656, allocations: 1.327 MB / 0.7676 GB, free: 1.797 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002153/0.6582, allocations: 0.6975 MB / 0.7682 GB, free: 1.109 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003013/0.6612, allocations: 2.528 MB / 0.7707 GB, free: 14.58 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007976/0.662, allocations: 0.507 MB / 0.7712 GB, free: 14.05 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001837/0.6639, allocations: 0.778 MB / 0.772 GB, free: 13.27 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001297/0.6652, allocations: 0.5726 MB / 0.7725 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 9.486e-05/0.6653, allocations: 32 kB / 0.7726 GB, free: 12.68 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00306/0.6684, allocations: 1.613 MB / 0.7741 GB, free: 11.06 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003005/0.6687, allocations: 231.3 kB / 0.7744 GB, free: 10.84 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0004915/0.6692, allocations: 374 kB / 0.7747 GB, free: 10.47 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001563/0.6708, allocations: 1.037 MB / 0.7757 GB, free: 9.43 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.6708, allocations: 0 / 0.7757 GB, free: 9.43 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.442e-06/0.6708, allocations: 0 / 0.7757 GB, free: 9.43 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.558e-05/0.6708, allocations: 0 / 0.7757 GB, free: 9.43 MB / 0.5919 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.00186/0.6727, allocations: 1.104 MB / 0.7768 GB, free: 8.281 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.566e-05/0.6727, allocations: 8.031 kB / 0.7768 GB, free: 8.273 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001361/0.6741, allocations: 214.8 kB / 0.777 GB, free: 8.062 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009016/0.675, allocations: 0.5809 MB / 0.7776 GB, free: 7.438 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.22e-05/0.6751, allocations: 37 kB / 0.7776 GB, free: 7.402 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.925e-05/0.6751, allocations: 48 kB / 0.7777 GB, free: 7.355 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008859/0.676, allocations: 498.3 kB / 0.7781 GB, free: 6.867 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.767e-05/0.6761, allocations: 8 kB / 0.7781 GB, free: 6.859 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.924e-05/0.6761, allocations: 16 kB / 0.7782 GB, free: 6.844 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.903e-05/0.6762, allocations: 20.88 kB / 0.7782 GB, free: 6.824 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007812/0.6769, allocations: 435.7 kB / 0.7786 GB, free: 6.398 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.002727/0.6797, allocations: 1.998 MB / 0.7805 GB, free: 4.227 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005794/0.6803, allocations: 347.5 kB / 0.7809 GB, free: 3.879 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003449/0.6806, allocations: 218.5 kB / 0.7811 GB, free: 3.664 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003063/0.6809, allocations: 190.5 kB / 0.7813 GB, free: 3.441 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.219e-05/0.681, allocations: 38.84 kB / 0.7813 GB, free: 3.395 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=33): time 2.685e-06/0.681, allocations: 0 / 0.7813 GB, free: 3.395 MB / 0.5919 GB Notification: Performance of matching and sorting (n=33): time 0.001307/0.6823, allocations: 0.5501 MB / 0.7818 GB, free: 2.84 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.251e-05/0.6824, allocations: 51.41 kB / 0.7819 GB, free: 2.777 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006008/0.683, allocations: 0.5069 MB / 0.7824 GB, free: 2.262 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.569e-05/0.683, allocations: 33.7 kB / 0.7824 GB, free: 2.223 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002319/0.6833, allocations: 304.2 kB / 0.7827 GB, free: 1.922 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001214/0.6834, allocations: 118.3 kB / 0.7828 GB, free: 1.805 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001262/0.6835, allocations: 73.94 kB / 0.7829 GB, free: 1.727 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001551/0.6837, allocations: 366.8 kB / 0.7832 GB, free: 1.359 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002789/0.684, allocations: 142.1 kB / 0.7834 GB, free: 1.219 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003455/0.6843, allocations: 224.2 kB / 0.7836 GB, free: 0.9727 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005647/0.6849, allocations: 328.2 kB / 0.7839 GB, free: 0.6406 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.6849, allocations: 0 / 0.7839 GB, free: 0.6406 MB / 0.5919 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007359/0.6857, allocations: 433.8 kB / 0.7843 GB, free: 216 kB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.999e-05/0.6857, allocations: 4 kB / 0.7843 GB, free: 212 kB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.6857, allocations: 0 / 0.7843 GB, free: 212 kB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.895e-05/0.6857, allocations: 7.938 kB / 0.7843 GB, free: 204 kB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003563/0.6861, allocations: 71.89 kB / 0.7844 GB, free: 132 kB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/0.6861, allocations: 0 / 0.7844 GB, free: 132 kB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005708/0.6867, allocations: 63.73 kB / 0.7845 GB, free: 68 kB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.334e-05/0.6867, allocations: 15.94 kB / 0.7845 GB, free: 52 kB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004828/0.6872, allocations: 304 kB / 0.7848 GB, free: 15.75 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003209/0.6875, allocations: 224.7 kB / 0.785 GB, free: 15.5 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005493/0.6881, allocations: 333.1 kB / 0.7853 GB, free: 15.17 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.512e-06/0.6881, allocations: 0 / 0.7853 GB, free: 15.17 MB / 0.6075 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0007438/0.6889, allocations: 424.6 kB / 0.7857 GB, free: 14.75 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.061e-05/0.6889, allocations: 4 kB / 0.7857 GB, free: 14.74 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.535e-06/0.6889, allocations: 0 / 0.7857 GB, free: 14.74 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.045e-06/0.6889, allocations: 4.094 kB / 0.7857 GB, free: 14.74 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003062/0.6892, allocations: 75.84 kB / 0.7858 GB, free: 14.66 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.574e-06/0.6892, allocations: 3.938 kB / 0.7858 GB, free: 14.66 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005389/0.6898, allocations: 63.64 kB / 0.7858 GB, free: 14.6 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.724e-05/0.6898, allocations: 12 kB / 0.7859 GB, free: 14.59 MB / 0.6075 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.0001813/0.69, allocations: 196.2 kB / 0.786 GB, free: 14.39 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.968e-05/0.6901, allocations: 55.34 kB / 0.7861 GB, free: 14.33 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007812/0.6909, allocations: 427.2 kB / 0.7865 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.095e-06/0.6909, allocations: 7.938 kB / 0.7865 GB, free: 13.9 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/0.6909, allocations: 4.875 kB / 0.7865 GB, free: 13.89 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006203/0.6916, allocations: 432.3 kB / 0.7869 GB, free: 13.44 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001766/0.6933, allocations: 1.172 MB / 0.7881 GB, free: 12.2 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.6933, allocations: 0 / 0.7881 GB, free: 12.2 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004169/0.6938, allocations: 87.89 kB / 0.7882 GB, free: 12.11 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.292e-06/0.6938, allocations: 4 kB / 0.7882 GB, free: 12.11 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.86e-05/0.6938, allocations: 8.688 kB / 0.7882 GB, free: 12.1 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.32e-06/0.6938, allocations: 3.984 kB / 0.7882 GB, free: 12.09 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/0.6938, allocations: 4.859 kB / 0.7882 GB, free: 12.09 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001046/0.6949, allocations: 0.7353 MB / 0.7889 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002441/0.6951, allocations: 184.3 kB / 0.7891 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.511e-05/0.6952, allocations: 11.69 kB / 0.7891 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005028/0.6957, allocations: 43.95 kB / 0.7891 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.869e-05/0.6958, allocations: 31.84 kB / 0.7892 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.812e-05/0.6959, allocations: 12 kB / 0.7892 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0004178/0.6963, allocations: 362.8 kB / 0.7895 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6963, allocations: 0 / 0.7895 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0008624/0.6972, allocations: 327.2 kB / 0.7898 GB, free: 10.36 MB / 0.6075 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.0004414/0.6976, allocations: 198.5 kB / 0.79 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0009689/0.6986, allocations: 0.5076 MB / 0.7905 GB, free: 9.656 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.6986, allocations: 0 / 0.7905 GB, free: 9.656 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002977/0.6989, allocations: 185.4 kB / 0.7907 GB, free: 9.477 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001743/0.7007, allocations: 357 kB / 0.791 GB, free: 9.125 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002103/0.7028, allocations: 1.524 MB / 0.7925 GB, free: 7.555 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004959/0.7033, allocations: 0.9296 MB / 0.7934 GB, free: 6.598 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001501/0.7034, allocations: 47.44 kB / 0.7935 GB, free: 6.551 MB / 0.6075 GB Notification: Performance of SimCode: time 8.42e-07/0.7034, allocations: 0 / 0.7935 GB, free: 6.551 MB / 0.6075 GB Notification: Performance of Templates: time 0.01503/0.7185, allocations: 9.817 MB / 0.8031 GB, free: 12.86 MB / 0.6231 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)