Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Movers.BaseClasses.Validation.PowerInterface.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.Movers.BaseClasses.Validation.PowerInterface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Movers.BaseClasses.Validation.PowerInterface") translateModel(IDEAS.Fluid.Movers.BaseClasses.Validation.PowerInterface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Movers.BaseClasses.Validation.PowerInterface") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007686/0.007686, allocations: 101 kB / 15.73 MB, free: 6.051 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.001627/0.001627, allocations: 208.5 kB / 16.68 MB, free: 5.969 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.383/1.383, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7547/0.7547, allocations: 132.2 MB / 422.7 MB, free: 1.691 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001207/0.001207, allocations: 67.59 kB / 0.5813 GB, free: 0.8672 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1721/0.1733, allocations: 80.22 MB / 0.6597 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Movers.BaseClasses.Validation.PowerInterface): time 0.003289/0.1767, allocations: 1.594 MB / 0.6612 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0008595/0.1776, allocations: 315.9 kB / 0.6615 GB, free: 11.58 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001004/0.1777, allocations: 0 / 0.6615 GB, free: 11.58 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 4.665e-05/0.1777, allocations: 7.875 kB / 0.6615 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001296/0.1779, allocations: 15.86 kB / 0.6616 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000435/0.1783, allocations: 79.77 kB / 0.6616 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001704/0.1785, allocations: 103.6 kB / 0.6617 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001655/0.1787, allocations: 35.97 kB / 0.6618 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001025/0.1788, allocations: 35.86 kB / 0.6618 GB, free: 11.3 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 9.373e-05/0.1789, allocations: 47.83 kB / 0.6619 GB, free: 11.26 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.164e-05/0.1789, allocations: 4 kB / 0.6619 GB, free: 11.25 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 9.885e-05/0.179, allocations: 27.98 kB / 0.6619 GB, free: 11.23 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.055e-05/0.1791, allocations: 23.91 kB / 0.6619 GB, free: 11.2 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 5.649e-05/0.1791, allocations: 43.73 kB / 0.6619 GB, free: 11.16 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002394/0.1794, allocations: 99.56 kB / 0.662 GB, free: 11.06 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.1794, allocations: 4 kB / 0.662 GB, free: 11.06 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.613e-06/0.1794, allocations: 4 kB / 0.6621 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.464e-06/0.1794, allocations: 0 / 0.6621 GB, free: 11.05 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0006254/0.18, allocations: 411.1 kB / 0.6624 GB, free: 10.61 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.673e-05/0.1801, allocations: 12.03 kB / 0.6625 GB, free: 10.59 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001015/0.1811, allocations: 120.6 kB / 0.6626 GB, free: 10.48 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001354/0.1813, allocations: 180.2 kB / 0.6627 GB, free: 10.26 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.082e-05/0.1813, allocations: 4.375 kB / 0.6627 GB, free: 10.26 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.678e-05/0.1813, allocations: 8.375 kB / 0.6628 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005521/0.1819, allocations: 149.5 kB / 0.6629 GB, free: 10.1 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.1819, allocations: 0 / 0.6629 GB, free: 10.1 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.997e-05/0.1819, allocations: 7.984 kB / 0.6629 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.03e-06/0.1819, allocations: 7.938 kB / 0.6629 GB, free: 10.08 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007905/0.1827, allocations: 153.9 kB / 0.6631 GB, free: 9.934 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001116/0.1838, allocations: 444.4 kB / 0.6635 GB, free: 9.449 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007187/0.1846, allocations: 134.5 kB / 0.6636 GB, free: 9.309 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003783/0.185, allocations: 76.91 kB / 0.6637 GB, free: 9.23 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.576e-05/0.185, allocations: 4 kB / 0.6637 GB, free: 9.227 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.884e-05/0.185, allocations: 38.56 kB / 0.6637 GB, free: 9.18 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=5): time 1.282e-06/0.185, allocations: 0 / 0.6637 GB, free: 9.18 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5): time 0.001274/0.1863, allocations: 245.2 kB / 0.664 GB, free: 8.934 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.328e-05/0.1864, allocations: 59.34 kB / 0.664 GB, free: 8.863 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001437/0.1865, allocations: 154.2 kB / 0.6642 GB, free: 8.703 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.834e-05/0.1865, allocations: 25.7 kB / 0.6642 GB, free: 8.672 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.714e-05/0.1866, allocations: 100 kB / 0.6643 GB, free: 8.57 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.436e-05/0.1866, allocations: 27.66 kB / 0.6643 GB, free: 8.543 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.632e-05/0.1867, allocations: 29.69 kB / 0.6643 GB, free: 8.508 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.281e-05/0.1868, allocations: 318.8 kB / 0.6646 GB, free: 8.188 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003809/0.1872, allocations: 72.8 kB / 0.6647 GB, free: 8.113 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003665/0.1876, allocations: 71.92 kB / 0.6648 GB, free: 8.043 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007029/0.1883, allocations: 136.7 kB / 0.6649 GB, free: 7.906 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.1883, allocations: 0 / 0.6649 GB, free: 7.906 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000794/0.1891, allocations: 189.4 kB / 0.6651 GB, free: 7.715 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.585e-05/0.1891, allocations: 7.938 kB / 0.6651 GB, free: 7.707 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-06/0.1891, allocations: 4 kB / 0.6651 GB, free: 7.703 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.417e-05/0.1891, allocations: 0 / 0.6651 GB, free: 7.703 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002635/0.1894, allocations: 35.95 kB / 0.6651 GB, free: 7.668 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.1894, allocations: 4 kB / 0.6651 GB, free: 7.664 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000219/0.1896, allocations: 23.97 kB / 0.6652 GB, free: 7.641 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.534e-05/0.1897, allocations: 3.984 kB / 0.6652 GB, free: 7.637 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001426/0.1898, allocations: 108.8 kB / 0.6653 GB, free: 7.527 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001132/0.1899, allocations: 64.59 kB / 0.6653 GB, free: 7.449 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002045/0.1901, allocations: 84.19 kB / 0.6654 GB, free: 7.352 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.597e-06/0.1902, allocations: 7.984 kB / 0.6654 GB, free: 7.344 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7) (initialization_lambda0): time 0.0002478/0.1904, allocations: 105.3 kB / 0.6655 GB, free: 7.234 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 8.516e-06/0.1904, allocations: 8 kB / 0.6655 GB, free: 7.227 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.014e-06/0.1904, allocations: 0 / 0.6655 GB, free: 7.227 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.932e-06/0.1904, allocations: 7.938 kB / 0.6655 GB, free: 7.219 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.372e-05/0.1905, allocations: 24.08 kB / 0.6656 GB, free: 7.195 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.394e-06/0.1905, allocations: 0 / 0.6656 GB, free: 7.195 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.208e-05/0.1906, allocations: 11.98 kB / 0.6656 GB, free: 7.184 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.228e-06/0.1906, allocations: 0 / 0.6656 GB, free: 7.184 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (7): * Single equations (assignments): 7 * 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 9.82e-05/0.1907, allocations: 188.2 kB / 0.6657 GB, free: 6.992 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.744e-05/0.1908, allocations: 11.84 kB / 0.6658 GB, free: 6.98 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.008e-05/0.1908, allocations: 12.31 kB / 0.6658 GB, free: 6.965 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.1908, allocations: 7.984 kB / 0.6658 GB, free: 6.957 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.1908, allocations: 0 / 0.6658 GB, free: 6.957 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.1909, allocations: 7.922 kB / 0.6658 GB, free: 6.949 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001079/0.1919, allocations: 472 kB / 0.6662 GB, free: 6.426 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.245e-06/0.192, allocations: 4.062 kB / 0.6662 GB, free: 6.422 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002362/0.1922, allocations: 39.94 kB / 0.6663 GB, free: 6.383 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.1922, allocations: 256 / 0.6663 GB, free: 6.383 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.485e-05/0.1922, allocations: 0 / 0.6663 GB, free: 6.383 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.538e-06/0.1922, allocations: 11.94 kB / 0.6663 GB, free: 6.371 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.1922, allocations: 0 / 0.6663 GB, free: 6.371 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008184/0.1931, allocations: 292.9 kB / 0.6666 GB, free: 6.062 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.835e-05/0.1932, allocations: 96.98 kB / 0.6667 GB, free: 5.949 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.419e-05/0.1932, allocations: 0 / 0.6667 GB, free: 5.949 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002391/0.1934, allocations: 27.97 kB / 0.6667 GB, free: 5.922 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.818e-05/0.1935, allocations: 4 kB / 0.6667 GB, free: 5.918 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.232e-05/0.1935, allocations: 7.984 kB / 0.6667 GB, free: 5.91 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 8.503e-05/0.1936, allocations: 122.2 kB / 0.6668 GB, free: 5.793 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1936, allocations: 0 / 0.6668 GB, free: 5.793 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003419/0.1939, allocations: 36 kB / 0.6669 GB, free: 5.758 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 simulation (5): * Single equations (assignments): 5 * 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.0001196/0.1941, allocations: 95.25 kB / 0.6669 GB, free: 5.656 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0009312/0.195, allocations: 187.9 kB / 0.6671 GB, free: 5.473 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.195, allocations: 0 / 0.6671 GB, free: 5.473 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003852/0.1954, allocations: 76.11 kB / 0.6672 GB, free: 5.398 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003306/0.1957, allocations: 16 kB / 0.6672 GB, free: 5.383 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001086/0.1968, allocations: 285 kB / 0.6675 GB, free: 5.07 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003044/0.1972, allocations: 0.6963 MB / 0.6682 GB, free: 4.348 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001034/0.1973, allocations: 19.92 kB / 0.6682 GB, free: 4.328 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.317e-05/0.1974, allocations: 23.41 kB / 0.6682 GB, free: 4.305 MB / 0.4981 GB Notification: Performance of SimCode: time 2.2e-07/0.1974, allocations: 0 / 0.6682 GB, free: 4.305 MB / 0.4981 GB Notification: Performance of Templates: time 0.004022/0.2014, allocations: 1.432 MB / 0.6696 GB, free: 2.883 MB / 0.4981 GB make -j1 -f IDEAS_IDEAS.Fluid.Movers.BaseClasses.Validation.PowerInterface.makefile (rm -f IDEAS_IDEAS.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe ; mkfifo IDEAS_IDEAS.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe >> ../files/IDEAS_IDEAS.Fluid.Movers.BaseClasses.Validation.PowerInterface.sim & ./IDEAS_IDEAS.Fluid.Movers.BaseClasses.Validation.PowerInterface -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe 2>&1)