Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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.Movers.BaseClasses.Validation.PowerInterface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Movers.BaseClasses.Validation.PowerInterface") translateModel(IDEAS.Fluid.Movers.BaseClasses.Validation.PowerInterface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001538/0.001538, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001588/0.001588, allocations: 189 kB / 16.25 MB, free: 6.645 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.367/1.367, allocations: 222.9 MB / 239.9 MB, free: 4.477 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9487/0.9487, allocations: 135.6 MB / 425.6 MB, free: 11.94 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001838/0.001838, allocations: 64.78 kB / 0.5054 GB, free: 5.199 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1557/0.1575, allocations: 81.02 MB / 0.5845 GB, free: 4.316 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Movers.BaseClasses.Validation.PowerInterface): time 0.003352/0.1609, allocations: 1.663 MB / 0.5861 GB, free: 2.633 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006605/0.1616, allocations: 308 kB / 0.5864 GB, free: 2.328 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.838e-05/0.1617, allocations: 4 kB / 0.5864 GB, free: 2.324 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 4.138e-05/0.1617, allocations: 15.86 kB / 0.5864 GB, free: 2.309 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 8.063e-05/0.1618, allocations: 11.86 kB / 0.5864 GB, free: 2.297 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003009/0.1621, allocations: 55.94 kB / 0.5865 GB, free: 2.242 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001295/0.1623, allocations: 103.7 kB / 0.5866 GB, free: 2.141 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001329/0.1624, allocations: 43.77 kB / 0.5866 GB, free: 2.098 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.286e-05/0.1625, allocations: 31.92 kB / 0.5867 GB, free: 2.066 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.956e-05/0.1626, allocations: 43.78 kB / 0.5867 GB, free: 2.023 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.887e-05/0.1626, allocations: 8 kB / 0.5867 GB, free: 2.016 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.813e-05/0.1627, allocations: 23.98 kB / 0.5867 GB, free: 1.992 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.717e-05/0.1627, allocations: 27.91 kB / 0.5868 GB, free: 1.965 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.791e-05/0.1628, allocations: 39.8 kB / 0.5868 GB, free: 1.926 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001677/0.1629, allocations: 103.9 kB / 0.5869 GB, free: 1.824 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.163, allocations: 3.938 kB / 0.5869 GB, free: 1.82 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.243e-06/0.163, allocations: 4 kB / 0.5869 GB, free: 1.816 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.292e-06/0.163, allocations: 0 / 0.5869 GB, free: 1.816 MB / 494.1 MB 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.0005838/0.1636, allocations: 395.1 kB / 0.5873 GB, free: 1.383 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.573e-05/0.1636, allocations: 12.03 kB / 0.5873 GB, free: 1.371 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001019/0.1646, allocations: 112.7 kB / 0.5874 GB, free: 1.262 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001449/0.1648, allocations: 184.2 kB / 0.5876 GB, free: 1.043 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.598e-05/0.1648, allocations: 4.375 kB / 0.5876 GB, free: 1.039 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.205e-05/0.1648, allocations: 12.38 kB / 0.5876 GB, free: 1.027 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005402/0.1654, allocations: 159.7 kB / 0.5878 GB, free: 0.8672 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.1654, allocations: 7.984 kB / 0.5878 GB, free: 0.8594 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.552e-05/0.1654, allocations: 0 / 0.5878 GB, free: 0.8594 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.1654, allocations: 0 / 0.5878 GB, free: 0.8594 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007255/0.1662, allocations: 155.8 kB / 0.5879 GB, free: 0.707 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009934/0.1672, allocations: 448.4 kB / 0.5883 GB, free: 224 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000699/0.1679, allocations: 138.4 kB / 0.5885 GB, free: 76 kB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003669/0.1683, allocations: 68.92 kB / 0.5885 GB, free: 4 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.297e-05/0.1683, allocations: 4.109 kB / 0.5885 GB, free: 0 / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.441e-05/0.1684, allocations: 42.53 kB / 0.5886 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=5): time 1.021e-06/0.1684, allocations: 0 / 0.5886 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5): time 0.001192/0.1696, allocations: 253.2 kB / 0.5888 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.001e-05/0.1696, allocations: 51.41 kB / 0.5889 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001663/0.1698, allocations: 161.8 kB / 0.589 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.051e-05/0.1698, allocations: 29.7 kB / 0.5891 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.878e-05/0.1699, allocations: 96.05 kB / 0.5891 GB, free: 15.33 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.093e-05/0.1699, allocations: 19.8 kB / 0.5892 GB, free: 15.31 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.925e-05/0.17, allocations: 25.7 kB / 0.5892 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001493/0.1701, allocations: 318.8 kB / 0.5895 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003657/0.1705, allocations: 76.78 kB / 0.5896 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003469/0.1709, allocations: 71.92 kB / 0.5896 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006892/0.1716, allocations: 132.7 kB / 0.5898 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.1716, allocations: 4 kB / 0.5898 GB, free: 14.67 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0007628/0.1723, allocations: 189.4 kB / 0.5899 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.774e-05/0.1724, allocations: 8 kB / 0.59 GB, free: 14.47 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.1724, allocations: 3.938 kB / 0.59 GB, free: 14.47 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.219e-05/0.1724, allocations: 0 / 0.59 GB, free: 14.47 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002547/0.1727, allocations: 35.94 kB / 0.59 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.929e-06/0.1727, allocations: 4 kB / 0.59 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002089/0.1729, allocations: 31.81 kB / 0.59 GB, free: 14.4 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.613e-05/0.1729, allocations: 4 kB / 0.59 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001433/0.1731, allocations: 108.1 kB / 0.5901 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001089/0.1732, allocations: 60.27 kB / 0.5902 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001866/0.1734, allocations: 88.14 kB / 0.5903 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.31e-07/0.1734, allocations: 0 / 0.5903 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7) (initialization_lambda0): time 0.0002511/0.1736, allocations: 101.5 kB / 0.5904 GB, free: 14 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 8.436e-06/0.1736, allocations: 4 kB / 0.5904 GB, free: 14 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.543e-06/0.1737, allocations: 256 / 0.5904 GB, free: 14 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.827e-06/0.1737, allocations: 11.92 kB / 0.5904 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.939e-05/0.1737, allocations: 24.03 kB / 0.5904 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.767e-06/0.1738, allocations: 8.375 kB / 0.5904 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.752e-05/0.1738, allocations: 12 kB / 0.5904 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.017e-06/0.1738, allocations: 0 / 0.5904 GB, free: 13.95 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 0.0001141/0.174, allocations: 180.3 kB / 0.5906 GB, free: 13.76 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.746e-05/0.174, allocations: 11.81 kB / 0.5906 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.42e-05/0.1741, allocations: 20.23 kB / 0.5906 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.315e-06/0.1741, allocations: 4 kB / 0.5906 GB, free: 13.72 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.1741, allocations: 0 / 0.5906 GB, free: 13.72 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.1741, allocations: 0 / 0.5906 GB, free: 13.72 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001063/0.1752, allocations: 483.9 kB / 0.5911 GB, free: 13.19 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.1752, allocations: 4.062 kB / 0.5911 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002283/0.1754, allocations: 39.83 kB / 0.5911 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.1754, allocations: 0 / 0.5911 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.886e-05/0.1754, allocations: 7.984 kB / 0.5911 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.1754, allocations: 0 / 0.5911 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.1755, allocations: 0 / 0.5911 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008108/0.1763, allocations: 289 kB / 0.5914 GB, free: 12.83 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.009e-05/0.1764, allocations: 93 kB / 0.5915 GB, free: 12.72 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.769e-05/0.1764, allocations: 4 kB / 0.5915 GB, free: 12.72 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000236/0.1766, allocations: 23.97 kB / 0.5915 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.575e-05/0.1767, allocations: 11.92 kB / 0.5916 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.4e-05/0.1767, allocations: 4 kB / 0.5916 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 9.13e-05/0.1768, allocations: 115.2 kB / 0.5917 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1768, allocations: 0 / 0.5917 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003067/0.1771, allocations: 36 kB / 0.5917 GB, free: 12.53 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.0001307/0.1773, allocations: 95.25 kB / 0.5918 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0008698/0.1781, allocations: 192 kB / 0.592 GB, free: 12.24 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.1781, allocations: 0 / 0.592 GB, free: 12.24 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000373/0.1785, allocations: 83.83 kB / 0.5921 GB, free: 12.16 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003335/0.1789, allocations: 12.12 kB / 0.5921 GB, free: 12.15 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00103/0.1799, allocations: 313 kB / 0.5924 GB, free: 11.82 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003424/0.1803, allocations: 0.6963 MB / 0.593 GB, free: 11.09 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 9.354e-05/0.1804, allocations: 12 kB / 0.5931 GB, free: 11.08 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.346e-05/0.1804, allocations: 27.34 kB / 0.5931 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of SimCode: time 2.61e-07/0.1805, allocations: 4 kB / 0.5931 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of Templates: time 0.00388/0.1843, allocations: 1.365 MB / 0.5944 GB, free: 9.699 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Movers.BaseClasses.Validation.PowerInterface.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Movers.BaseClasses.Validation.PowerInterface.sim & ./IDEAS_dev_IDEAS.Fluid.Movers.BaseClasses.Validation.PowerInterface -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe 2>&1)