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.001286/0.001286, 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.001279/0.001279, allocations: 196 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.341/1.341, allocations: 222.9 MB / 240.5 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9384/0.9384, allocations: 135.1 MB / 425.7 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001228/0.001229, allocations: 59.69 kB / 0.5053 GB, free: 5.781 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.162/0.1632, allocations: 80.93 MB / 0.5843 GB, free: 5.016 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Movers.BaseClasses.Validation.PowerInterface): time 0.002667/0.1659, allocations: 1.656 MB / 0.586 GB, free: 3.344 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006355/0.1666, allocations: 314.2 kB / 0.5863 GB, free: 3.035 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.797e-05/0.1666, allocations: 0 / 0.5863 GB, free: 3.035 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 4.311e-05/0.1667, allocations: 3.938 kB / 0.5863 GB, free: 3.031 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 8.561e-05/0.1668, allocations: 23.84 kB / 0.5863 GB, free: 3.008 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002698/0.1671, allocations: 55.94 kB / 0.5863 GB, free: 2.953 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001131/0.1672, allocations: 95.64 kB / 0.5864 GB, free: 2.859 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001295/0.1673, allocations: 35.95 kB / 0.5865 GB, free: 2.824 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.803e-05/0.1674, allocations: 43.84 kB / 0.5865 GB, free: 2.781 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.952e-05/0.1675, allocations: 43.78 kB / 0.5866 GB, free: 2.738 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.098e-05/0.1675, allocations: 4 kB / 0.5866 GB, free: 2.734 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.008e-05/0.1676, allocations: 23.97 kB / 0.5866 GB, free: 2.711 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.1e-05/0.1676, allocations: 19.92 kB / 0.5866 GB, free: 2.691 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.424e-05/0.1677, allocations: 39.78 kB / 0.5866 GB, free: 2.652 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001108/0.1678, allocations: 64.12 kB / 0.5867 GB, free: 2.59 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.1678, allocations: 0 / 0.5867 GB, free: 2.59 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.012e-06/0.1678, allocations: 0 / 0.5867 GB, free: 2.59 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.442e-06/0.1678, allocations: 0 / 0.5867 GB, free: 2.59 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.0005467/0.1684, allocations: 419 kB / 0.5871 GB, free: 2.133 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.119e-05/0.1684, allocations: 8.031 kB / 0.5871 GB, free: 2.125 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001044/0.1695, allocations: 120.7 kB / 0.5872 GB, free: 2.008 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001273/0.1696, allocations: 176.2 kB / 0.5874 GB, free: 1.797 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.901e-05/0.1696, allocations: 8.375 kB / 0.5874 GB, free: 1.789 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.016e-05/0.1697, allocations: 4.375 kB / 0.5874 GB, free: 1.785 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005677/0.1702, allocations: 165.5 kB / 0.5876 GB, free: 1.617 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.267e-06/0.1702, allocations: 0 / 0.5876 GB, free: 1.617 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.888e-05/0.1703, allocations: 0 / 0.5876 GB, free: 1.617 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.487e-06/0.1703, allocations: 4 kB / 0.5876 GB, free: 1.613 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007772/0.1711, allocations: 151.8 kB / 0.5877 GB, free: 1.465 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009821/0.1721, allocations: 444.3 kB / 0.5881 GB, free: 0.9805 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007372/0.1728, allocations: 134.5 kB / 0.5883 GB, free: 0.8398 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003729/0.1732, allocations: 76.91 kB / 0.5883 GB, free: 0.7617 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.121e-05/0.1732, allocations: 0 / 0.5883 GB, free: 0.7617 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.763e-05/0.1733, allocations: 34.56 kB / 0.5884 GB, free: 0.7188 MB / 494.1 MB Notification: Performance of pre-optimization done (n=5): time 1.062e-06/0.1733, allocations: 4 kB / 0.5884 GB, free: 0.7148 MB / 494.1 MB Notification: Performance of matching and sorting (n=5): time 0.001237/0.1745, allocations: 253.3 kB / 0.5886 GB, free: 472 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.126e-05/0.1746, allocations: 51.41 kB / 0.5887 GB, free: 408 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001489/0.1747, allocations: 166.2 kB / 0.5888 GB, free: 232 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.76e-05/0.1747, allocations: 25.7 kB / 0.5888 GB, free: 200 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.254e-05/0.1748, allocations: 104 kB / 0.5889 GB, free: 92 kB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.195e-05/0.1748, allocations: 15.81 kB / 0.589 GB, free: 76 kB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.099e-05/0.1749, allocations: 29.69 kB / 0.589 GB, free: 40 kB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001149/0.175, allocations: 318.8 kB / 0.5893 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000389/0.1754, allocations: 76.78 kB / 0.5894 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003732/0.1758, allocations: 67.92 kB / 0.5894 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007137/0.1765, allocations: 140.7 kB / 0.5896 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.1765, allocations: 0 / 0.5896 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0008026/0.1773, allocations: 185.4 kB / 0.5897 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.81e-05/0.1774, allocations: 7.938 kB / 0.5897 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/0.1774, allocations: 3.938 kB / 0.5898 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.18e-05/0.1774, allocations: 0 / 0.5898 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002714/0.1777, allocations: 39.95 kB / 0.5898 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.522e-06/0.1777, allocations: 0 / 0.5898 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002211/0.1779, allocations: 31.81 kB / 0.5898 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.847e-05/0.178, allocations: 7.984 kB / 0.5898 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001369/0.1781, allocations: 108.4 kB / 0.5899 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001055/0.1782, allocations: 64.19 kB / 0.59 GB, free: 14.97 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001741/0.1784, allocations: 80.2 kB / 0.5901 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.575e-06/0.1784, allocations: 3.984 kB / 0.5901 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7) (initialization_lambda0): time 0.0002317/0.1786, allocations: 105.5 kB / 0.5902 GB, free: 14.76 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 7.504e-06/0.1787, allocations: 7.938 kB / 0.5902 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.1787, allocations: 4 kB / 0.5902 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.266e-06/0.1787, allocations: 7.875 kB / 0.5902 GB, free: 14.74 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.861e-05/0.1788, allocations: 15.98 kB / 0.5902 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.994e-06/0.1788, allocations: 4 kB / 0.5902 GB, free: 14.72 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.785e-05/0.1788, allocations: 12.14 kB / 0.5902 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.654e-06/0.1789, allocations: 8 kB / 0.5902 GB, free: 14.7 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 8.799e-05/0.179, allocations: 176.3 kB / 0.5904 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.6e-05/0.179, allocations: 7.906 kB / 0.5904 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.244e-05/0.1791, allocations: 16.25 kB / 0.5904 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.1791, allocations: 0 / 0.5904 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.072e-06/0.1791, allocations: 4 kB / 0.5904 GB, free: 14.49 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.1791, allocations: 7.984 kB / 0.5904 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001055/0.1801, allocations: 487.8 kB / 0.5909 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.1802, allocations: 0 / 0.5909 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002492/0.1804, allocations: 40.27 kB / 0.5909 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.47e-06/0.1804, allocations: 7.984 kB / 0.5909 GB, free: 13.9 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.5e-05/0.1804, allocations: 4 kB / 0.5909 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.1804, allocations: 0 / 0.5909 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.427e-06/0.1805, allocations: 4 kB / 0.591 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007987/0.1813, allocations: 288.9 kB / 0.5912 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.644e-05/0.1813, allocations: 93 kB / 0.5913 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.762e-05/0.1814, allocations: 11.92 kB / 0.5913 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002406/0.1816, allocations: 27.97 kB / 0.5914 GB, free: 13.44 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.652e-05/0.1817, allocations: 0 / 0.5914 GB, free: 13.44 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.558e-05/0.1817, allocations: 7.984 kB / 0.5914 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 8.107e-05/0.1818, allocations: 119.2 kB / 0.5915 GB, free: 13.31 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1818, allocations: 0 / 0.5915 GB, free: 13.31 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003218/0.1821, allocations: 28 kB / 0.5915 GB, free: 13.29 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.000115/0.1822, allocations: 99.25 kB / 0.5916 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0008958/0.1831, allocations: 183.8 kB / 0.5918 GB, free: 13 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.1831, allocations: 320 / 0.5918 GB, free: 13 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003734/0.1835, allocations: 79.86 kB / 0.5918 GB, free: 12.92 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000362/0.1839, allocations: 7.938 kB / 0.5919 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001065/0.185, allocations: 348.6 kB / 0.5922 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002434/0.1852, allocations: 0.6926 MB / 0.5929 GB, free: 11.82 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.319e-05/0.1853, allocations: 19.41 kB / 0.5929 GB, free: 11.8 MB / 0.4981 GB Notification: Performance of SimCode: time 3.71e-07/0.1853, allocations: 0 / 0.5929 GB, free: 11.8 MB / 0.4981 GB Notification: Performance of Templates: time 0.002764/0.1881, allocations: 1.352 MB / 0.5942 GB, free: 10.46 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)