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.001115/0.001115, allocations: 108 kB / 15.61 MB, free: 148 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.001086/0.001086, allocations: 193.9 kB / 16.53 MB, free: 6.691 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.235/1.235, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.697/0.697, allocations: 132.2 MB / 422.6 MB, free: 1.777 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001222/0.001222, allocations: 64.97 kB / 0.5018 GB, free: 3.863 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3737/0.3749, allocations: 80.19 MB / 0.5801 GB, free: 4.801 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Delays.Examples.Delay): time 0.2011/0.5761, allocations: 183.3 MB / 0.759 GB, free: 9.789 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.008385/0.5845, allocations: 4.859 MB / 0.7638 GB, free: 4.918 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001114/0.5857, allocations: 27.81 kB / 0.7638 GB, free: 4.891 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001189/0.5869, allocations: 445.2 kB / 0.7642 GB, free: 4.453 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.003608/0.5905, allocations: 1.418 MB / 0.7656 GB, free: 3.031 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002152/0.5927, allocations: 0.7614 MB / 0.7664 GB, free: 2.277 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002601/0.5953, allocations: 1.84 MB / 0.7681 GB, free: 444 kB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009127/0.5962, allocations: 0.594 MB / 0.7687 GB, free: 15.82 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001978/0.5982, allocations: 0.8794 MB / 0.7696 GB, free: 14.94 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001083/0.5993, allocations: 0.5351 MB / 0.7701 GB, free: 14.41 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 9.745e-05/0.5994, allocations: 56 kB / 0.7702 GB, free: 14.35 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002693/0.6021, allocations: 1.415 MB / 0.7715 GB, free: 12.93 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0002732/0.6024, allocations: 263.2 kB / 0.7718 GB, free: 12.68 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0004143/0.6028, allocations: 402.1 kB / 0.7722 GB, free: 12.28 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002278/0.6051, allocations: 1.418 MB / 0.7736 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.122e-06/0.6051, allocations: 0 / 0.7736 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.234e-06/0.6051, allocations: 0 / 0.7736 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.137e-05/0.6051, allocations: 0 / 0.7736 GB, free: 10.86 MB / 0.6075 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.001797/0.6069, allocations: 1.098 MB / 0.7746 GB, free: 9.711 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 6.257e-05/0.607, allocations: 8.031 kB / 0.7746 GB, free: 9.703 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001353/0.6084, allocations: 202.8 kB / 0.7748 GB, free: 9.504 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008437/0.6092, allocations: 0.5965 MB / 0.7754 GB, free: 8.867 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.511e-05/0.6093, allocations: 33 kB / 0.7755 GB, free: 8.836 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.147e-05/0.6094, allocations: 48 kB / 0.7755 GB, free: 8.789 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008453/0.6102, allocations: 498.3 kB / 0.776 GB, free: 8.301 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.9e-05/0.6103, allocations: 0 / 0.776 GB, free: 8.301 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.802e-05/0.6103, allocations: 19.94 kB / 0.776 GB, free: 8.281 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.858e-05/0.6103, allocations: 17 kB / 0.776 GB, free: 8.262 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000738/0.6111, allocations: 443.7 kB / 0.7764 GB, free: 7.832 MB / 0.6075 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.002631/0.6137, allocations: 2.013 MB / 0.7784 GB, free: 5.641 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005552/0.6143, allocations: 352.7 kB / 0.7787 GB, free: 5.293 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003132/0.6146, allocations: 209.3 kB / 0.7789 GB, free: 5.086 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002906/0.6149, allocations: 190.5 kB / 0.7791 GB, free: 4.863 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.705e-05/0.615, allocations: 38.84 kB / 0.7792 GB, free: 4.816 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=33): time 1.473e-06/0.615, allocations: 4 kB / 0.7792 GB, free: 4.812 MB / 0.6075 GB Notification: Performance of matching and sorting (n=33): time 0.001164/0.6161, allocations: 0.5421 MB / 0.7797 GB, free: 4.266 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.641e-05/0.6162, allocations: 55.41 kB / 0.7797 GB, free: 4.199 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005838/0.6168, allocations: 0.503 MB / 0.7802 GB, free: 3.688 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 8.78e-05/0.6169, allocations: 41.7 kB / 0.7803 GB, free: 3.641 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002105/0.6171, allocations: 304.2 kB / 0.7806 GB, free: 3.336 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.000101/0.6172, allocations: 118.3 kB / 0.7807 GB, free: 3.219 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001143/0.6173, allocations: 65.94 kB / 0.7807 GB, free: 3.148 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001399/0.6175, allocations: 370.8 kB / 0.7811 GB, free: 2.777 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002581/0.6177, allocations: 138 kB / 0.7812 GB, free: 2.641 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003273/0.6181, allocations: 224.8 kB / 0.7814 GB, free: 2.395 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005283/0.6186, allocations: 343.2 kB / 0.7818 GB, free: 2.047 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.6186, allocations: 0 / 0.7818 GB, free: 2.047 MB / 0.6075 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006752/0.6193, allocations: 427.2 kB / 0.7822 GB, free: 1.625 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.829e-05/0.6193, allocations: 4 kB / 0.7822 GB, free: 1.621 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.829e-06/0.6193, allocations: 7.938 kB / 0.7822 GB, free: 1.613 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.621e-05/0.6194, allocations: 0 / 0.7822 GB, free: 1.613 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003428/0.6197, allocations: 75.98 kB / 0.7823 GB, free: 1.539 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.909e-06/0.6197, allocations: 8 kB / 0.7823 GB, free: 1.531 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004396/0.6202, allocations: 35.67 kB / 0.7823 GB, free: 1.496 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.21e-05/0.6202, allocations: 15.98 kB / 0.7823 GB, free: 1.48 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004139/0.6206, allocations: 304 kB / 0.7826 GB, free: 1.18 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002877/0.6209, allocations: 211.6 kB / 0.7828 GB, free: 0.9453 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005013/0.6214, allocations: 327.4 kB / 0.7831 GB, free: 0.6133 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.062e-06/0.6215, allocations: 7.938 kB / 0.7831 GB, free: 0.6055 MB / 0.6075 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0006639/0.6221, allocations: 428.5 kB / 0.7835 GB, free: 184 kB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.178e-05/0.6221, allocations: 8 kB / 0.7835 GB, free: 176 kB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.214e-06/0.6222, allocations: 0 / 0.7835 GB, free: 176 kB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.272e-06/0.6222, allocations: 7.938 kB / 0.7835 GB, free: 168 kB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002834/0.6225, allocations: 63.91 kB / 0.7836 GB, free: 104 kB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.15e-06/0.6225, allocations: 4 kB / 0.7836 GB, free: 100 kB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004141/0.6229, allocations: 43.81 kB / 0.7837 GB, free: 56 kB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.349e-05/0.6229, allocations: 12 kB / 0.7837 GB, free: 44 kB / 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.0001519/0.6231, allocations: 200.1 kB / 0.7839 GB, free: 15.84 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.953e-05/0.6232, allocations: 55.34 kB / 0.7839 GB, free: 15.79 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007337/0.6239, allocations: 432 kB / 0.7843 GB, free: 15.35 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.04e-06/0.6239, allocations: 4 kB / 0.7843 GB, free: 15.35 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.6239, allocations: 4 kB / 0.7843 GB, free: 15.34 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005753/0.6245, allocations: 428.3 kB / 0.7847 GB, free: 14.89 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001611/0.6261, allocations: 1.172 MB / 0.7859 GB, free: 13.65 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.448e-06/0.6262, allocations: 4 kB / 0.7859 GB, free: 13.64 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000395/0.6266, allocations: 87.88 kB / 0.786 GB, free: 13.56 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.25e-06/0.6266, allocations: 4 kB / 0.786 GB, free: 13.55 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.478e-05/0.6266, allocations: 8 kB / 0.786 GB, free: 13.55 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.948e-06/0.6266, allocations: 4.156 kB / 0.786 GB, free: 13.54 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/0.6266, allocations: 4 kB / 0.786 GB, free: 13.54 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001017/0.6276, allocations: 0.7344 MB / 0.7867 GB, free: 12.77 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001895/0.6278, allocations: 172.4 kB / 0.7869 GB, free: 12.58 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.064e-05/0.6279, allocations: 8 kB / 0.7869 GB, free: 12.57 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004187/0.6283, allocations: 27.91 kB / 0.7869 GB, free: 12.55 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.253e-05/0.6284, allocations: 31.84 kB / 0.7869 GB, free: 12.52 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.583e-05/0.6285, allocations: 15.98 kB / 0.7869 GB, free: 12.5 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0003675/0.6288, allocations: 366.8 kB / 0.7873 GB, free: 12.14 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6288, allocations: 0 / 0.7873 GB, free: 12.14 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0007699/0.6296, allocations: 319.3 kB / 0.7876 GB, free: 11.83 MB / 0.6231 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.0004032/0.63, allocations: 200.5 kB / 0.7878 GB, free: 11.64 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0009749/0.631, allocations: 0.5512 MB / 0.7883 GB, free: 11.09 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.544e-06/0.631, allocations: 0 / 0.7883 GB, free: 11.09 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002842/0.6313, allocations: 179.8 kB / 0.7885 GB, free: 10.91 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001506/0.6328, allocations: 346.9 kB / 0.7888 GB, free: 10.59 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001702/0.6345, allocations: 1.256 MB / 0.7901 GB, free: 9.289 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004471/0.635, allocations: 0.9295 MB / 0.791 GB, free: 8.332 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0005487/0.6356, allocations: 184.8 kB / 0.7911 GB, free: 8.148 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001167/0.6357, allocations: 51.44 kB / 0.7912 GB, free: 8.098 MB / 0.6231 GB Notification: Performance of SimCode: time 3.11e-07/0.6357, allocations: 0 / 0.7912 GB, free: 8.098 MB / 0.6231 GB Notification: Performance of Templates: time 0.02004/0.6557, allocations: 11.71 MB / 0.8026 GB, free: 12.59 MB / 0.6387 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)