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/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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001099/0.001099, allocations: 113.6 kB / 16.37 MB, free: 6.012 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.001054/0.001054, allocations: 188.7 kB / 17.31 MB, free: 5.613 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.306/1.306, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7729/0.7729, allocations: 132.2 MB / 423.4 MB, free: 6.641 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001227/0.001227, allocations: 59.91 kB / 0.5032 GB, free: 10.99 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3584/0.3597, allocations: 80.18 MB / 0.5815 GB, free: 27.81 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Delays.Examples.Delay): time 0.4952/0.855, allocations: 183.2 MB / 0.7604 GB, free: 1.73 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.008778/0.8638, allocations: 4.858 MB / 0.7652 GB, free: 1.668 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001057/0.8649, allocations: 29.53 kB / 0.7652 GB, free: 1.668 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001356/0.8663, allocations: 441.1 kB / 0.7656 GB, free: 1.66 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.004199/0.8705, allocations: 1.412 MB / 0.767 GB, free: 1.594 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002434/0.8729, allocations: 0.7767 MB / 0.7678 GB, free: 1.574 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003021/0.876, allocations: 1.848 MB / 0.7696 GB, free: 1.57 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008009/0.8768, allocations: 0.599 MB / 0.7701 GB, free: 1.504 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001756/0.8785, allocations: 0.8707 MB / 0.771 GB, free: 1.496 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001156/0.8797, allocations: 0.5456 MB / 0.7715 GB, free: 1.496 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.000112/0.8798, allocations: 58.72 kB / 0.7716 GB, free: 1.496 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002405/0.8822, allocations: 1.417 MB / 0.773 GB, free: 1.48 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002377/0.8825, allocations: 262.6 kB / 0.7732 GB, free: 1.477 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003989/0.8829, allocations: 404.4 kB / 0.7736 GB, free: 1.477 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001799/0.8847, allocations: 1.421 MB / 0.775 GB, free: 1.391 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.546e-06/0.8847, allocations: 0.9375 kB / 0.775 GB, free: 1.391 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.323e-06/0.8847, allocations: 0 / 0.775 GB, free: 1.391 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.446e-05/0.8847, allocations: 1.469 kB / 0.775 GB, free: 1.391 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.001637/0.8864, allocations: 1.097 MB / 0.7761 GB, free: 16.73 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.525e-05/0.8864, allocations: 11.22 kB / 0.7761 GB, free: 16.73 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001251/0.8877, allocations: 209.4 kB / 0.7763 GB, free: 16.69 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009378/0.8886, allocations: 0.6245 MB / 0.7769 GB, free: 16.39 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.55e-05/0.8887, allocations: 36.84 kB / 0.7769 GB, free: 16.39 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.317e-05/0.8888, allocations: 47.81 kB / 0.777 GB, free: 16.39 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007349/0.8895, allocations: 0.4887 MB / 0.7774 GB, free: 16.36 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.568e-05/0.8895, allocations: 1.094 kB / 0.7774 GB, free: 16.36 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.488e-05/0.8896, allocations: 18.72 kB / 0.7775 GB, free: 16.36 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.483e-05/0.8896, allocations: 18.5 kB / 0.7775 GB, free: 16.36 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006435/0.8903, allocations: 438.6 kB / 0.7779 GB, free: 16.35 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.002273/0.8925, allocations: 1.996 MB / 0.7798 GB, free: 15.36 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004602/0.893, allocations: 346.2 kB / 0.7802 GB, free: 15.34 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002852/0.8933, allocations: 213.6 kB / 0.7804 GB, free: 15.33 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002783/0.8936, allocations: 194.8 kB / 0.7806 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.465e-05/0.8936, allocations: 37.62 kB / 0.7806 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=33): time 1.483e-06/0.8936, allocations: 1 kB / 0.7806 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of matching and sorting (n=33): time 0.001057/0.8947, allocations: 0.5431 MB / 0.7811 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.443e-05/0.8947, allocations: 54.62 kB / 0.7812 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004583/0.8952, allocations: 0.5038 MB / 0.7817 GB, free: 14.86 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.877e-05/0.8952, allocations: 34.98 kB / 0.7817 GB, free: 14.83 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001569/0.8954, allocations: 305.8 kB / 0.782 GB, free: 14.69 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 7.57e-05/0.8955, allocations: 116.1 kB / 0.7821 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.8e-05/0.8956, allocations: 74.09 kB / 0.7822 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001298/0.8957, allocations: 366 kB / 0.7825 GB, free: 14.28 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002323/0.896, allocations: 146.5 kB / 0.7827 GB, free: 14.27 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002705/0.8962, allocations: 231.6 kB / 0.7829 GB, free: 14.19 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004724/0.8967, allocations: 339.5 kB / 0.7832 GB, free: 14.15 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.8967, allocations: 0 / 0.7832 GB, free: 14.15 MB / 0.5919 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006176/0.8974, allocations: 420.6 kB / 0.7836 GB, free: 14.09 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.347e-05/0.8974, allocations: 8.062 kB / 0.7836 GB, free: 14.09 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.8974, allocations: 6.594 kB / 0.7836 GB, free: 14.09 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.465e-05/0.8974, allocations: 8.578 kB / 0.7836 GB, free: 14.09 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000307/0.8977, allocations: 72.7 kB / 0.7837 GB, free: 14.09 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.502e-06/0.8977, allocations: 0 / 0.7837 GB, free: 14.09 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004163/0.8982, allocations: 43.14 kB / 0.7838 GB, free: 14.07 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.076e-05/0.8982, allocations: 16.11 kB / 0.7838 GB, free: 14.07 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003557/0.8986, allocations: 304.2 kB / 0.7841 GB, free: 13.98 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002458/0.8988, allocations: 221.8 kB / 0.7843 GB, free: 13.91 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004319/0.8993, allocations: 333.3 kB / 0.7846 GB, free: 13.88 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.333e-06/0.8993, allocations: 0.9688 kB / 0.7846 GB, free: 13.88 MB / 0.5919 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0005707/0.8998, allocations: 412.6 kB / 0.785 GB, free: 13.81 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 7.725e-06/0.8999, allocations: 5.781 kB / 0.785 GB, free: 13.81 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.255e-06/0.8999, allocations: 0 / 0.785 GB, free: 13.81 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.106e-06/0.8999, allocations: 6.594 kB / 0.785 GB, free: 13.81 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000273/0.9002, allocations: 71.7 kB / 0.7851 GB, free: 13.81 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.686e-06/0.9002, allocations: 4.094 kB / 0.7851 GB, free: 13.81 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003974/0.9006, allocations: 41.52 kB / 0.7851 GB, free: 13.8 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.395e-05/0.9006, allocations: 14.16 kB / 0.7851 GB, free: 13.8 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.0001224/0.9007, allocations: 203.8 kB / 0.7853 GB, free: 13.61 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.483e-05/0.9008, allocations: 57.09 kB / 0.7854 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006517/0.9015, allocations: 426.2 kB / 0.7858 GB, free: 13.53 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.9015, allocations: 3.938 kB / 0.7858 GB, free: 13.53 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.9015, allocations: 2.578 kB / 0.7858 GB, free: 13.53 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005208/0.902, allocations: 434 kB / 0.7862 GB, free: 13.37 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001563/0.9036, allocations: 1.168 MB / 0.7873 GB, free: 13.01 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.7e-06/0.9036, allocations: 6.469 kB / 0.7873 GB, free: 13.01 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003869/0.904, allocations: 85.7 kB / 0.7874 GB, free: 13.01 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.449e-06/0.904, allocations: 3.594 kB / 0.7874 GB, free: 13.01 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.629e-05/0.9041, allocations: 14.5 kB / 0.7874 GB, free: 13.01 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.046e-06/0.9041, allocations: 3.719 kB / 0.7874 GB, free: 13.01 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.255e-06/0.9041, allocations: 3.406 kB / 0.7874 GB, free: 13.01 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009223/0.905, allocations: 0.726 MB / 0.7882 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002557/0.9053, allocations: 182 kB / 0.7883 GB, free: 12.66 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.246e-05/0.9053, allocations: 9.531 kB / 0.7883 GB, free: 12.66 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004087/0.9058, allocations: 23.83 kB / 0.7884 GB, free: 12.66 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.416e-05/0.9058, allocations: 28.48 kB / 0.7884 GB, free: 12.66 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.717e-05/0.9059, allocations: 23.72 kB / 0.7884 GB, free: 12.66 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003146/0.9062, allocations: 360.7 kB / 0.7888 GB, free: 12.57 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.61e-07/0.9062, allocations: 0 / 0.7888 GB, free: 12.57 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.00073/0.9069, allocations: 324.4 kB / 0.7891 GB, free: 12.53 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.0003537/0.9073, allocations: 187 kB / 0.7892 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0008071/0.9081, allocations: 0.5217 MB / 0.7898 GB, free: 12.41 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.469e-06/0.9081, allocations: 2.094 kB / 0.7898 GB, free: 12.41 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002543/0.9084, allocations: 183.3 kB / 0.7899 GB, free: 12.41 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001358/0.9098, allocations: 347.1 kB / 0.7903 GB, free: 12.38 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001589/0.9114, allocations: 1.249 MB / 0.7915 GB, free: 11.85 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004256/0.9118, allocations: 0.9293 MB / 0.7924 GB, free: 11.15 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0004553/0.9123, allocations: 181 kB / 0.7926 GB, free: 11.13 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001164/0.9124, allocations: 49.56 kB / 0.7926 GB, free: 11.12 MB / 0.5919 GB Notification: Performance of SimCode: time 2.6e-07/0.9124, allocations: 0 / 0.7926 GB, free: 11.12 MB / 0.5919 GB Notification: Performance of Templates: time 0.01804/0.9304, allocations: 11.72 MB / 0.804 GB, free: 9.301 MB / 0.5919 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 -s gbode -lv LOG_STATS > IDEAS_IDEAS.Fluid.Delays.Examples.Delay.pipe 2>&1)